diff options
| author | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:23 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:23 +0000 |
| commit | c8def70943d443794bdc1fee0f46ac7cb01170a1 (patch) | |
| tree | 5cfd8cd800503acac9b8dbeb099f496f0da70c49 | |
| parent | c26c0fa0127144ccac03f778251009781fbf9bd0 (diff) | |
| download | search-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
| -rw-r--r-- | directory_search.php | 6 | ||||
| -rw-r--r-- | index.php | 6 | ||||
| -rw-r--r-- | stats.php | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/directory_search.php b/directory_search.php index 52cc503..518e6ba 100644 --- a/directory_search.php +++ b/directory_search.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_search/directory_search.php,v 1.7 2006/02/08 08:24:20 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_search/directory_search.php,v 1.8 2008/06/25 22:21:23 spiderr Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: directory_search.php,v 1.7 2006/02/08 08:24:20 lsces Exp $ + * $Id: directory_search.php,v 1.8 2008/06/25 22:21:23 spiderr Exp $ * @author Luis Argerich (lrargerich@yahoo.com) * @package search * @subpackage functions @@ -79,6 +79,6 @@ $gBitSmarty->assign_by_ref('items', $items["data"]); $section = 'directory'; // Display the template -$gBitSystem->display( 'bitpackage:search/directory_search.tpl'); +$gBitSystem->display( 'bitpackage:search/directory_search.tpl', NULL, array( 'display_mode' => 'display' )); ?> @@ -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' )); ?> @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_search/stats.php,v 1.7 2006/04/11 13:08:40 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_search/stats.php,v 1.8 2008/06/25 22:21:23 spiderr Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: stats.php,v 1.7 2006/04/11 13:08:40 squareing Exp $ + * $Id: stats.php,v 1.8 2008/06/25 22:21:23 spiderr Exp $ * @author Luis Argerich (lrargerich@yahoo.com) * @package search * @subpackage functions @@ -78,6 +78,6 @@ $gBitSmarty->assign_by_ref('channels', $channels["data"]); // Display the template -$gBitSystem->display( 'bitpackage:stats/search_stats.tpl'); +$gBitSystem->display( 'bitpackage:stats/search_stats.tpl', NULL, array( 'display_mode' => 'display' )); ?> |
