From acf116b962533031323663bb1d6bd553635beddb Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Sun, 10 Jun 2007 12:35:52 +0000 Subject: Make pigeonholes LibertyAttachables and descriptions parsed content. Cleanup display_description checking in templates. Need to add the attachment browser probably. --- templates/edit_pigeonholes.tpl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'templates/edit_pigeonholes.tpl') diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl index 0b3bf12..18f4229 100644 --- a/templates/edit_pigeonholes.tpl +++ b/templates/edit_pigeonholes.tpl @@ -34,13 +34,11 @@ {/forminput} -
- {formlabel label="Description" for="pigeonhole-desc"} - {forminput} - - {formhelp note="A description of the category. This will be visible when users view this particular category."} - {/forminput} -
+ {if $gBitSystem->isFeatureActive('pigeonholes_display_description')} +
+ {textarea id="pigeonhole-desc" name="pigeonhole[edit]" note="A description of the category. This will be visible when users view this particular category." label="Description"}{$pigeonInfo.data}{/textarea} +
+ {/if} {if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') }
-- cgit v1.3