summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
committerwjames5 <will@tekimaki.com>2010-04-17 04:56:46 +0000
commitb3845470baf6e40e40d663eccda02a9f7fab83c9 (patch)
treeaeaf34193b5ca3aecfa7c24ba2ea62da469e96ff
parentbb4aa9e4485cc011bdb64e47186b798380379e53 (diff)
downloadcalendar-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/box.php b/box.php
index e6bb2c2..d44e549 100644
--- a/box.php
+++ b/box.php
@@ -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" );