summaryrefslogtreecommitdiff
path: root/templates/edit_pigeonholes.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-07 13:33:33 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-07 13:33:33 +0000
commit3cddf052ba2f74c6bdf964b5502334516c5a6efd (patch)
tree685cce8a57f3baaa37dad4bc9163237c77f46b3f /templates/edit_pigeonholes.tpl
parentf62fff5822682d82d1207624fc5e9e6e43aff4de (diff)
downloadpigeonholes-3cddf052ba2f74c6bdf964b5502334516c5a6efd.tar.gz
pigeonholes-3cddf052ba2f74c6bdf964b5502334516c5a6efd.tar.bz2
pigeonholes-3cddf052ba2f74c6bdf964b5502334516c5a6efd.zip
add permissioning to categories - permissions are checked recursively - w00t\!
Diffstat (limited to 'templates/edit_pigeonholes.tpl')
-rw-r--r--templates/edit_pigeonholes.tpl20
1 files changed, 18 insertions, 2 deletions
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl
index 833358a..17ae59b 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -45,8 +45,24 @@
<div class="row">
{formlabel label="Theme" for="pigeonhole-style"}
{forminput}
- {html_options id="pigeonhole-style" name="pigeonhole[settings][style]" output=$styles values=$styles selected=$gContent->mPrefs.style}
- {formhelp note="This theme will be applied when viewing any page belonging to this category."}
+ {html_options id="pigeonhole-style" name="pigeonhole[prefs][pigeonholes_style]" output=$styles values=$styles selected=$gContent->mPrefs.pigeonholes_style}
+ {formhelp note="This theme will be applied when viewing any page belonging to this category." warning="Setting is inherited from parent category."}
+ {/forminput}
+ </div>
+
+ <div class="row">
+ {formlabel label="Permission" for="perm"}
+ {forminput}
+ {html_options name="pigeonhole[prefs][pigeonholes_permission]" id="perm" options=$perms selected=`$gContent->mPrefs.pigeonholes_permission`}
+ {formhelp note="Permission required to view any page in this category." warning="Setting is inherited from parent category."}
+ {/forminput}
+ </div>
+
+ <div class="row">
+ {formlabel label="Group" for="group"}
+ {forminput}
+ {html_options name="pigeonhole[prefs][pigeonholes_group]" id="group" options=$groups selected=`$gContent->mPrefs.pigeonholes_group_id`}
+ {formhelp note="Users of only this group can view the content of this category." warning="Setting is inherited from parent category."}
{/forminput}
</div>