diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 13:47:48 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 13:47:48 +0000 |
| commit | 2f28764fe9ed9e10c4e43710b73931ec12283795 (patch) | |
| tree | 2bff672c8f0010794f7a6239763fca6752d60df0 | |
| parent | a7ac5b2649d93b059a7934cb46f281001788f731 (diff) | |
| download | liberty-2f28764fe9ed9e10c4e43710b73931ec12283795.tar.gz liberty-2f28764fe9ed9e10c4e43710b73931ec12283795.tar.bz2 liberty-2f28764fe9ed9e10c4e43710b73931ec12283795.zip | |
step three of contenttype name plural - replace all instances where name is accessed though systme hash with get name method call, still no schema change required
| -rw-r--r-- | templates/center_view_generic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/center_view_generic.php b/templates/center_view_generic.php index 4211f8a..c51c42b 100644 --- a/templates/center_view_generic.php +++ b/templates/center_view_generic.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_liberty/templates/center_view_generic.php,v 1.2 2008/07/31 21:23:50 laetzer Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/templates/center_view_generic.php,v 1.3 2010/04/17 13:47:48 wjames5 Exp $ * @package bitweaver */ global $moduleParams, $gContent, $gBitSmarty; @@ -30,7 +30,7 @@ if( $gContent = LibertyBase::getLibertyObject( $lookupHash['content_id'] ) ) { } if ( isset($moduleParams['content_type_guid'] )){ - $gBitSmarty->assign( "contentType", $gContent->mType['content_description'] ); + $gBitSmarty->assign( "contentType", $gContent->getContentTypeName() ); } } } |
