diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-03-05 02:19:54 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-03-05 02:19:54 +0000 |
| commit | 7f7d658ddf04bad83f17867d1e4d952e9446a1f3 (patch) | |
| tree | 9ecbde11fdd8eef9d3f9c9b66d3b23efb65d68eb /templates/edit_pigeonholes.tpl | |
| parent | 00613a642f9f88969f0a8cbfda5672b601ddba15 (diff) | |
| download | pigeonholes-7f7d658ddf04bad83f17867d1e4d952e9446a1f3.tar.gz pigeonholes-7f7d658ddf04bad83f17867d1e4d952e9446a1f3.tar.bz2 pigeonholes-7f7d658ddf04bad83f17867d1e4d952e9446a1f3.zip | |
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.
Diffstat (limited to 'templates/edit_pigeonholes.tpl')
| -rw-r--r-- | templates/edit_pigeonholes.tpl | 10 |
1 files changed, 10 insertions, 0 deletions
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} </div> + {if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') } + <div class="row"> + {formlabel label="Forbid Insertion" for="pigeonhole-no-insert"} + {forminput} + <input type="checkbox" name="pigeonhole[prefs][no_insert]" id="pigeonhole-no-insert" {if $gContent->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} + </div> + {/if} + {if $gBitSystem->isFeatureActive( 'pigeonholes_themes' )} <div class="row"> {formlabel label="Theme" for="pigeonhole-style"} |
