summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-09-07 18:43:23 +0000
committerLester Caine <lester@lsces.co.uk>2006-09-07 18:43:23 +0000
commit79d748b837c4751a6410d64ceb7d5f5550b304fb (patch)
treed1f81e0e2deb19b3a5114f241d6813e966112c1f
parente4be7f0cf63e127d3f8226c2df7fdf8b6c68054c (diff)
downloadsearch-79d748b837c4751a6410d64ceb7d5f5550b304fb.tar.gz
search-79d748b837c4751a6410d64ceb7d5f5550b304fb.tar.bz2
search-79d748b837c4751a6410d64ceb7d5f5550b304fb.zip
Populate selection list if top menu search bar is used
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index c7d2ddd..dfa38fe 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.18 2006/09/07 10:51:48 lsces Exp $
+// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.19 2006/09/07 18:43:23 lsces 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.
@@ -16,7 +16,8 @@ $searchlib = &new SearchLib();
$gBitSystem->verifyPackage( 'search' );
-/* contentType list created in mod_package_search.php at present
+// contentType list created in mod_package_search.php at present
+// but this is left in case a different search option is used
if ( empty($contentTypes) ) {
$contentTypes = array( '' => 'All Content' );
foreach( $gLibertySystem->mContentTypes as $cType ) {
@@ -24,7 +25,6 @@ if ( empty($contentTypes) ) {
}
$gBitSmarty->assign( 'contentTypes', $contentTypes );
}
-*/
if( !empty($_REQUEST["highlight"]) ) {
$_REQUEST["words"]=$_REQUEST["highlight"];