diff options
| author | Nick Palmer <nick@sluggardy.net> | 2008-10-18 23:11:07 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2008-10-18 23:11:07 +0000 |
| commit | 6b3126d694a6207a6e1dd8e489fef09556bc2256 (patch) | |
| tree | 5b732d15d2a5034e95ae5dd4a9702f017b946c6f /templates | |
| parent | 2427dd9a85f93b83fc66f12b8c53681275800ac9 (diff) | |
| download | pigeonholes-6b3126d694a6207a6e1dd8e489fef09556bc2256.tar.gz pigeonholes-6b3126d694a6207a6e1dd8e489fef09556bc2256.tar.bz2 pigeonholes-6b3126d694a6207a6e1dd8e489fef09556bc2256.zip | |
Allow admins to set which content they want to be pigeonholeable.pre_update_permission
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_pigeonholes.tpl | 13 | ||||
| -rw-r--r-- | templates/service_edit_mini_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/service_edit_tab_inc.tpl | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/templates/admin_pigeonholes.tpl b/templates/admin_pigeonholes.tpl index 21400bd..01edf95 100644 --- a/templates/admin_pigeonholes.tpl +++ b/templates/admin_pigeonholes.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_pigeonholes/templates/admin_pigeonholes.tpl,v 1.9 2007/10/21 08:34:36 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_pigeonholes/templates/admin_pigeonholes.tpl,v 1.10 2008/10/18 23:11:07 nickpalmer Exp $ *} {strip} {form} <input type="hidden" name="page" value="{$page}" /> @@ -91,6 +91,17 @@ </div> {/legend} + {legend legend="Pigeonholeable Content"} + <input type="hidden" name="page" value="{$page}" /> + <div class="row"> + {formlabel label="Pigeonholeable Content"} + {forminput} + {html_checkboxes options=$formPigeonholeable.guids value=y name=pigeonholeable_content separator="<br />" checked=$formPigeonholeable.checked} + {formhelp note="Here you can select what content can be pigeonholed."} + {/forminput} + </div> + {/legend} + <div class="row submit"> <input type="submit" name="pigeonhole_settings" value="{tr}Change preferences{/tr}" /> </div> diff --git a/templates/service_edit_mini_inc.tpl b/templates/service_edit_mini_inc.tpl index 5567ae6..7ed408c 100644 --- a/templates/service_edit_mini_inc.tpl +++ b/templates/service_edit_mini_inc.tpl @@ -1,5 +1,5 @@ {strip} -{if $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} +{if $editPigeonholesEnabled && $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} <div class="row"> {formlabel label="Categorize" for="pigeonholes"} {if $pigeonPathList|@count ne 0} diff --git a/templates/service_edit_tab_inc.tpl b/templates/service_edit_tab_inc.tpl index 5e63383..fc71787 100644 --- a/templates/service_edit_tab_inc.tpl +++ b/templates/service_edit_tab_inc.tpl @@ -1,5 +1,5 @@ {strip} -{if $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} +{if $editPigeonholesEnabled && $gBitUser->hasPermission( 'p_pigeonholes_insert_member' )} {jstab title="Categorize"} {legend legend="Categorize"} {include file="bitpackage:pigeonholes/service_edit_mini_inc.tpl"} |
