From 7f7d658ddf04bad83f17867d1e4d952e9446a1f3 Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Mon, 5 Mar 2007 02:19:54 +0000 Subject: Fix issues with assign content I broke before. Add forbid insert feature. Fix bug with insert when there are no checks on the page. Need to add better security on insert still but the interface doesn't offer it now. --- templates/edit_pigeonholes.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates/edit_pigeonholes.tpl') diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl index 5278cdc..0b3bf12 100644 --- a/templates/edit_pigeonholes.tpl +++ b/templates/edit_pigeonholes.tpl @@ -42,6 +42,16 @@ {/forminput} + {if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') } +
+ {formlabel label="Forbid Insertion" for="pigeonhole-no-insert"} + {forminput} + mPrefs.no_insert}checked{/if} /> + {formhelp note="Forbids inserting new content into this category. Useful for categories which are meant to hold other categories in a heirarchy where only leaf categories should hold content."} + {/forminput} +
+ {/if} + {if $gBitSystem->isFeatureActive( 'pigeonholes_themes' )}
{formlabel label="Theme" for="pigeonhole-style"} -- cgit v1.3