summaryrefslogtreecommitdiff
path: root/assign_content.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
commitbfbddce0b2152541551b733251b702526b01008f (patch)
tree2c6c24705f60a2f13fb195f0902f1af2b721a537 /assign_content.php
parentac34a1b13008369560d335882420e3b2658bf4ac (diff)
downloadpigeonholes-bfbddce0b2152541551b733251b702526b01008f.tar.gz
pigeonholes-bfbddce0b2152541551b733251b702526b01008f.tar.bz2
pigeonholes-bfbddce0b2152541551b733251b702526b01008f.zip
translate content_description when it's loaded that we don't have to worry about it later
Diffstat (limited to 'assign_content.php')
-rw-r--r--assign_content.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/assign_content.php b/assign_content.php
index 2a534e7..e7b676b 100644
--- a/assign_content.php
+++ b/assign_content.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.6 2006/12/31 11:29:56 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.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: assign_content.php,v 1.6 2006/12/31 11:29:56 squareing Exp $
+ * $Id: assign_content.php,v 1.7 2006/12/31 13:01:16 squareing Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -29,7 +29,7 @@ $gBitSmarty->assign_by_ref( '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 );