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 | 6d44c2c104f53c2adebde75463ca60cfd1233b1c (patch) | |
| tree | 8cdbb9a41f834f99e25c77ba8906990019aae6b5 | |
| parent | fd6a4cd32b223d841f9245f0c404aec0d92ff39d (diff) | |
| download | fisheye-6d44c2c104f53c2adebde75463ca60cfd1233b1c.tar.gz fisheye-6d44c2c104f53c2adebde75463ca60cfd1233b1c.tar.bz2 fisheye-6d44c2c104f53c2adebde75463ca60cfd1233b1c.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_image_comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/center_image_comments.php b/templates/center_image_comments.php index 8c20dac..9b106af 100644 --- a/templates/center_image_comments.php +++ b/templates/center_image_comments.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/templates/center_image_comments.php,v 1.1 2007/11/25 04:42:56 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/templates/center_image_comments.php,v 1.3 2010/04/17 19:12:29 wjames5 Exp $ * @package fisheye * @subpackage modules */ @@ -33,7 +33,7 @@ if (!empty($params['pigeonholes'])) { if( !empty( $params['root_content_type_guid'] ) ) { if( empty($moduleTitle) && is_string( $params['root_content_type_guid'] ) ) { - $moduleTitle = $gLibertySystem->mContentTypes[$params['root_content_type_guid']]['content_description'].' '.tra( 'Comments' ); + $moduleTitle = $gLibertySystem->getContentTypeName( $params['root_content_type_guid'] ).' '.tra( 'Comments' ); } $listHash['root_content_type_guid'] = $params['root_content_type_guid']; } else { |
