summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorJerry Russell <windblown@users.sourceforge.net>2006-06-29 21:26:29 +0000
committerJerry Russell <windblown@users.sourceforge.net>2006-06-29 21:26:29 +0000
commite3cea61ec95f02e293f97317a5ed13bc7d7d979b (patch)
tree137387d8e6342ee07dd345c90a7c16a1bc2cfe64 /index.php
parent3985189c924d53e24301ee42741fa974fc0a5420 (diff)
downloadsearch-e3cea61ec95f02e293f97317a5ed13bc7d7d979b.tar.gz
search-e3cea61ec95f02e293f97317a5ed13bc7d7d979b.tar.bz2
search-e3cea61ec95f02e293f97317a5ed13bc7d7d979b.zip
Add page titles to search pages //PROPS TO Hash9!
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index db33d7c..f5802d1 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.16 2006/03/01 20:16:28 spiderr Exp $
+// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.17 2006/06/29 21:26:29 windblown Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -30,7 +30,7 @@ if( !empty($_REQUEST["highlight"]) ) {
$_REQUEST["words"]=$_REQUEST["highlight"];
} else {
// a nice big, groovy search will be cool to have one day...
- $gBitSystem->display( 'bitpackage:search/search.tpl');
+ $gBitSystem->display( 'bitpackage:search/search.tpl', 'Search');
die;
}
@@ -110,6 +110,6 @@ $gBitSmarty->assign('partialOnOff', $partialOnOff);
$gBitSmarty->assign_by_ref('results', $results["data"]);
// Display the template
-$gBitSystem->display( 'bitpackage:search/search.tpl');
+$gBitSystem->display( 'bitpackage:search/search.tpl', 'Search Results for: '.strip_tags($_REQUEST["highlight"]));
?>