summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-06-25 22:21:23 +0000
committerChristian Fowler <spider@viovio.com>2008-06-25 22:21:23 +0000
commitc8def70943d443794bdc1fee0f46ac7cb01170a1 (patch)
tree5cfd8cd800503acac9b8dbeb099f496f0da70c49 /index.php
parentc26c0fa0127144ccac03f778251009781fbf9bd0 (diff)
downloadsearch-c8def70943d443794bdc1fee0f46ac7cb01170a1.tar.gz
search-c8def70943d443794bdc1fee0f46ac7cb01170a1.tar.bz2
search-c8def70943d443794bdc1fee0f46ac7cb01170a1.zip
change display call to use a hash for display options, add display_mode to options hash
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 e0f9e1b..a883206 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.23 2008/02/16 23:22:24 nickpalmer Exp $
+// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.24 2008/06/25 22:21:23 spiderr 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', 'Search');
+ $gBitSystem->display( 'bitpackage:search/search.tpl', 'Search', array( 'display_mode' => 'display' ));
die;
}
@@ -100,6 +100,6 @@ $gBitSmarty->assign_by_ref( 'listInfo', $_REQUEST['listInfo'] );
$gBitSmarty->assign_by_ref('results', $results);
// Display the template
-$gBitSystem->display( 'bitpackage:search/search.tpl', 'Search Results for: '.strip_tags($_REQUEST["highlight"]));
+$gBitSystem->display( 'bitpackage:search/search.tpl', 'Search Results for: '.strip_tags($_REQUEST["highlight"]), array( 'display_mode' => 'display' ));
?>