diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-12-31 13:01:15 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-12-31 13:01:15 +0000 |
| commit | 986b8cd60efa6b37d90db0a155ef2e29d15e3cf0 (patch) | |
| tree | a14d939195c5a3bb63e782baf375a48542535407 /LibertySystem.php | |
| parent | a4d845711d5da0568f5b1ae270ca61794163df87 (diff) | |
| download | liberty-986b8cd60efa6b37d90db0a155ef2e29d15e3cf0.tar.gz liberty-986b8cd60efa6b37d90db0a155ef2e29d15e3cf0.tar.bz2 liberty-986b8cd60efa6b37d90db0a155ef2e29d15e3cf0.zip | |
translate content_description when it's loaded that we don't have to worry about it later
Diffstat (limited to 'LibertySystem.php')
| -rwxr-xr-x | LibertySystem.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LibertySystem.php b/LibertySystem.php index c905ebd..f74f4ae 100755 --- a/LibertySystem.php +++ b/LibertySystem.php @@ -3,7 +3,7 @@ * System class for handling the liberty package * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.53 2006/12/31 11:37:01 squareing Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertySystem.php,v 1.54 2006/12/31 13:01:15 squareing Exp $ * @author spider <spider@steelsun.com> */ @@ -354,6 +354,8 @@ class LibertySystem extends LibertyBase { function loadContentTypes( $pCacheTime=BIT_QUERY_CACHE_TIME ) { if( $rs = $this->mDb->query( "SELECT * FROM `".BIT_DB_PREFIX."liberty_content_types`", NULL, BIT_QUERY_DEFAULT, BIT_QUERY_DEFAULT ) ) { while( $row = $rs->fetchRow() ) { + // translate the content description + $row['content_description'] = tra( $row['content_description'] ); $this->mContentTypes[$row['content_type_guid']] = $row; } } |
