diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-12-31 13:01:16 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-12-31 13:01:16 +0000 |
| commit | e962e6d5dfe8b9e97a6cedb45c793b072cdc93c7 (patch) | |
| tree | 44692ac651b6e5cdb4ece17a29d72322f1f2d4b9 | |
| parent | 0e1e4d51a36ea713c7bc00812d256f8ea1a63b10 (diff) | |
| download | search-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
| -rw-r--r-- | admin/admin_search_inc.php | 4 | ||||
| -rw-r--r-- | index.php | 4 | ||||
| -rw-r--r-- | modules/mod_global_search.php | 6 | ||||
| -rw-r--r-- | modules/mod_package_search.php | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/admin/admin_search_inc.php b/admin/admin_search_inc.php index 1fd5e4d..0b543c4 100644 --- a/admin/admin_search_inc.php +++ b/admin/admin_search_inc.php @@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.13 2006/12/31 11:29:56 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.14 2006/12/31 13:01:16 squareing 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. @@ -86,7 +86,7 @@ $gBitSmarty->assign( 'feedback', $feedback ); 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 ); } @@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.20 2006/12/31 11:29:56 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.21 2006/12/31 13:01:16 squareing 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. @@ -21,7 +21,7 @@ $gBitSystem->verifyPackage( 'search' ); 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_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 ); |
