summaryrefslogtreecommitdiff
path: root/templates/section_inc.tpl
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-10 12:35:52 +0000
commitacf116b962533031323663bb1d6bd553635beddb (patch)
tree0d12c7375bd9e09163779b1aa27eacab3bef57e3 /templates/section_inc.tpl
parent7d6e8febc228909303e686e99ab44d443d5c7811 (diff)
downloadpigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.gz
pigeonholes-acf116b962533031323663bb1d6bd553635beddb.tar.bz2
pigeonholes-acf116b962533031323663bb1d6bd553635beddb.zip
Make pigeonholes LibertyAttachables and descriptions parsed content. Cleanup display_description checking in templates. Need to add the attachment browser probably.
Diffstat (limited to 'templates/section_inc.tpl')
-rw-r--r--templates/section_inc.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/section_inc.tpl b/templates/section_inc.tpl
index 74b8e9c..0c99a9a 100644
--- a/templates/section_inc.tpl
+++ b/templates/section_inc.tpl
@@ -14,7 +14,9 @@
{if $pigeonItem.structure_id eq $subtree[ix].structure_id}
{if $pigeonItem.members}
- {$pigeonItem.data|escape}
+ {if $gBitSystem->isFeatureActive('pigeonholes_display_description')}
+ {$pigeonItem.parsed_data}
+ {/if}
<ul style="display:{if $gContent->mStructureId eq $subtree[ix].structure_id or $smarty.request.expand_all}block{else}none{/if}; padding:2em;" class="data">
{foreach from=$pigeonItem.members item=pigeonMember}
{assign var=ctg1 value=$pigeonMember.content_type_guid}
@@ -84,7 +86,7 @@
{if !$no_details}
{foreach from=$pigeonList item=pigeonItem}
{if $pigeonItem.structure_id eq $subtree[ix].structure_id}
- <br />{$pigeonItem.data|escape} <small> [ {tr}{$pigeonItem.members_count|default:0} Item(s){/tr} ] </small>
+ <br />{$pigeonItem.parsed_data} <small> [ {tr}{$pigeonItem.members_count|default:0} Item(s){/tr} ] </small>
{/if}
{/foreach}
{/if}