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 /index.php | |
| 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
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ); |
