diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 04:56:46 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 04:56:46 +0000 |
| commit | b3845470baf6e40e40d663eccda02a9f7fab83c9 (patch) | |
| tree | aeaf34193b5ca3aecfa7c24ba2ea62da469e96ff | |
| parent | bb4aa9e4485cc011bdb64e47186b798380379e53 (diff) | |
| download | calendar-b3845470baf6e40e40d663eccda02a9f7fab83c9.tar.gz calendar-b3845470baf6e40e40d663eccda02a9f7fab83c9.tar.bz2 calendar-b3845470baf6e40e40d663eccda02a9f7fab83c9.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-- | box.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.7 2010/02/08 21:27:22 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_calendar/box.php,v 1.8 2010/04/17 04:56:46 wjames5 Exp $ * @package calendar * @subpackage functions * @@ -20,9 +20,9 @@ include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' ); $gContent->mInfo['rendered'] = $gContent->getPreview(); if (!empty($gContent->mInfo['content_type_guid'])) { - $gContent->mInfo['content_description'] = $gLibertySystem->mContentTypes[$gContent->mInfo['content_type_guid']]['content_description']; + $gContent->mInfo['content_description'] = $gLibertySystem->getContentTypeName( $gContent->mInfo['content_type_guid'] ); } $gBitSmarty->assign('cellHash', $gContent->mInfo); -$gBitSmarty->display( "bitpackage:calendar/calendar_box.tpl" );
\ No newline at end of file +$gBitSmarty->display( "bitpackage:calendar/calendar_box.tpl" ); |
