summaryrefslogtreecommitdiff
path: root/index.php
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 /index.php
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 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 4e6e4ef..6ec6b8b 100644
--- a/index.php
+++ b/index.php
@@ -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 );