summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-10 23:53:39 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-10 23:53:39 +0000
commit1631fe453fe890f65bcb20560ff8e40a39d1afeb (patch)
treef7076afde961aa3adbb59a0998ec41de7caa96e8 /modules
parentcecaddbfcaf1da0450a9902026e391effa04be75 (diff)
downloadsearch-1631fe453fe890f65bcb20560ff8e40a39d1afeb.tar.gz
search-1631fe453fe890f65bcb20560ff8e40a39d1afeb.tar.bz2
search-1631fe453fe890f65bcb20560ff8e40a39d1afeb.zip
Tidy to standardise on 'All Content' rather than 'Entire Site' and 'All Site'
Included in $contentType hash like elsewhere
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_global_search.php5
-rw-r--r--modules/mod_package_search.php5
2 files changed, 6 insertions, 4 deletions
diff --git a/modules/mod_global_search.php b/modules/mod_global_search.php
index 175e837..be6b09c 100644
--- a/modules/mod_global_search.php
+++ b/modules/mod_global_search.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_global_search.php,v 1.4 2006/02/10 23:19:36 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_global_search.php,v 1.5 2006/02/10 23:53:38 lsces 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: mod_global_search.php,v 1.4 2006/02/10 23:19:36 lsces Exp $
+ * $Id: mod_global_search.php,v 1.5 2006/02/10 23:53:38 lsces Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage modules
@@ -16,6 +16,7 @@
global $gLibertySystem;
if ( empty($contentTypes) ) {
+ $contentTypes = array( '' => 'All Content' );
foreach( $gLibertySystem->mContentTypes as $cType ) {
$contentTypes[$cType['content_type_guid']] = $cType['content_description'];
}
diff --git a/modules/mod_package_search.php b/modules/mod_package_search.php
index 06571fb..9433cd8 100644
--- a/modules/mod_package_search.php
+++ b/modules/mod_package_search.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_package_search.php,v 1.7 2006/02/10 23:46:39 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_package_search.php,v 1.8 2006/02/10 23:53:38 lsces 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: mod_package_search.php,v 1.7 2006/02/10 23:46:39 lsces Exp $
+ * $Id: mod_package_search.php,v 1.8 2006/02/10 23:53:38 lsces Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage modules
@@ -27,6 +27,7 @@
$searchTitle = '';
}
if ( empty($contentTypes) ) {
+ $contentTypes = array( '' => 'All Content' );
foreach( $gLibertySystem->mContentTypes as $contentType ) {
$contentTypes[$contentType["content_type_guid"]] = $contentType["content_description"];
}