summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-12-31 13:01:16 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-12-31 13:01:16 +0000
commite962e6d5dfe8b9e97a6cedb45c793b072cdc93c7 (patch)
tree44692ac651b6e5cdb4ece17a29d72322f1f2d4b9 /modules
parent0e1e4d51a36ea713c7bc00812d256f8ea1a63b10 (diff)
downloadsearch-e962e6d5dfe8b9e97a6cedb45c793b072cdc93c7.tar.gz
search-e962e6d5dfe8b9e97a6cedb45c793b072cdc93c7.tar.bz2
search-e962e6d5dfe8b9e97a6cedb45c793b072cdc93c7.zip
translate content_description when it's loaded that we don't have to worry about it later
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_global_search.php6
-rw-r--r--modules/mod_package_search.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/mod_global_search.php b/modules/mod_global_search.php
index 274a4b3..053ffeb 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.6 2006/12/31 11:29:56 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_global_search.php,v 1.7 2006/12/31 13:01:16 squareing 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.6 2006/12/31 11:29:56 squareing Exp $
+ * $Id: mod_global_search.php,v 1.7 2006/12/31 13:01:16 squareing Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage modules
@@ -18,7 +18,7 @@ global $gLibertySystem;
if( empty( $contentTypes ) ) {
$contentTypes = array( '' => tra( 'All Content' ) );
foreach( $gLibertySystem->mContentTypes as $cType ) {
- $contentTypes[$cType['content_type_guid']] = tra( $cType['content_description'] );
+ $contentTypes[$cType['content_type_guid']] = $cType['content_description'];
}
}
$gBitSmarty->assign( 'contentTypes', $contentTypes );
diff --git a/modules/mod_package_search.php b/modules/mod_package_search.php
index 375577c..4fc3606 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.9 2006/12/31 11:29:56 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/modules/mod_package_search.php,v 1.10 2006/12/31 13:01:16 squareing 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.9 2006/12/31 11:29:56 squareing Exp $
+ * $Id: mod_package_search.php,v 1.10 2006/12/31 13:01:16 squareing Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage modules
@@ -30,7 +30,7 @@
if( empty( $contentTypes ) ) {
$contentTypes = array( '' => tra( 'All Content' ) );
foreach( $gLibertySystem->mContentTypes as $cType ) {
- $contentTypes[$cType['content_type_guid']] = tra( $cType['content_description'] );
+ $contentTypes[$cType['content_type_guid']] = $cType['content_description'];
}
}
$gBitSmarty->assign( 'contentTypes', $contentTypes );