summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-12-31 11:29:56 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-12-31 11:29:56 +0000
commit0e1e4d51a36ea713c7bc00812d256f8ea1a63b10 (patch)
tree1720ab53b182d7a9a46e6f06afed5af3c8805d35 /index.php
parent086e1a9e8e3c102469e36ff9e12c3b62aac5212b (diff)
downloadsearch-0e1e4d51a36ea713c7bc00812d256f8ea1a63b10.tar.gz
search-0e1e4d51a36ea713c7bc00812d256f8ea1a63b10.tar.bz2
search-0e1e4d51a36ea713c7bc00812d256f8ea1a63b10.zip
translate content description
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index dfa38fe..4e6e4ef 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.19 2006/09/07 18:43:23 lsces Exp $
+// $Header: /cvsroot/bitweaver/_bit_search/index.php,v 1.20 2006/12/31 11:29:56 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.
@@ -18,13 +18,13 @@ $gBitSystem->verifyPackage( 'search' );
// contentType list created in mod_package_search.php at present
// but this is left in case a different search option is used
-if ( empty($contentTypes) ) {
- $contentTypes = array( '' => 'All Content' );
+if( empty( $contentTypes ) ) {
+ $contentTypes = array( '' => tra( 'All Content' ) );
foreach( $gLibertySystem->mContentTypes as $cType ) {
- $contentTypes[$cType['content_type_guid']] = $cType['content_description'];
+ $contentTypes[$cType['content_type_guid']] = tra( $cType['content_description'] );
}
- $gBitSmarty->assign( 'contentTypes', $contentTypes );
}
+$gBitSmarty->assign( 'contentTypes', $contentTypes );
if( !empty($_REQUEST["highlight"]) ) {
$_REQUEST["words"]=$_REQUEST["highlight"];