summaryrefslogtreecommitdiff
path: root/templates
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
commit90a27eeb2a952708b3948aac544d95e79cf490dd (patch)
tree6337c57cff3b5cde838aa45eb362c80208698b92 /templates
parent3d4a60bfc7a23c569ca392b612c66a88839aae1e (diff)
downloadpigeonholes-90a27eeb2a952708b3948aac544d95e79cf490dd.tar.gz
pigeonholes-90a27eeb2a952708b3948aac544d95e79cf490dd.tar.bz2
pigeonholes-90a27eeb2a952708b3948aac544d95e79cf490dd.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
Diffstat (limited to 'templates')
-rw-r--r--templates/section_inc.tpl2
-rw-r--r--templates/service_view_members_inc.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/section_inc.tpl b/templates/section_inc.tpl
index 83ecb1c..b850940 100644
--- a/templates/section_inc.tpl
+++ b/templates/section_inc.tpl
@@ -29,7 +29,7 @@
{* open the content type <ul> *}
{if $ctg1 ne $ctg2}
- <li>{$gLibertySystem->mContentTypes.$ctg1.content_description}
+ <li>{$gLibertySystem->getContentTypeName($ctg1)}
<ul>
{/if}
diff --git a/templates/service_view_members_inc.tpl b/templates/service_view_members_inc.tpl
index 7b6f814..4014392 100644
--- a/templates/service_view_members_inc.tpl
+++ b/templates/service_view_members_inc.tpl
@@ -28,7 +28,7 @@
{foreach from=$pigeonItem.members item=member name=members}
{assign var=ctg1 value=$member.content_type_guid}
- {if $ctg1 ne $ctg2 && $gBitSystem->isFeatureActive( 'pigeonholes_display_content_type' )}{if $ctg2}<br />{/if}{$gLibertySystem->mContentTypes.$ctg1.content_description}:&nbsp;{/if}
+ {if $ctg1 ne $ctg2 && $gBitSystem->isFeatureActive( 'pigeonholes_display_content_type' )}{if $ctg2}<br />{/if}{$gLibertySystem->getContentTypeName($ctg1)}:&nbsp;{/if}
{if !$gBitSystem->getConfig('pigeonholes_limit_member_number') or $member_count lt $gBitSystem->getConfig('pigeonholes_limit_member_number')}
{if $serviceHash.content_id == $member.content_id}<strong>{/if}