diff options
author | vdigital <vdigital@piwigo.org> | 2008-05-23 21:05:41 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-05-23 21:05:41 +0000 |
commit | 77fd1f51a3c5f5a52f72ef8a299fe368228e2285 (patch) | |
tree | a67ede42904657ccf3349ecdaef1cec8b8e36ff8 /BSF/template/yoga/admin/cat_perm.tpl | |
parent | 553727dffacc48e8337c1d141f2a25af359e74b1 (diff) |
git-svn-id: http://piwigo.org/svn/trunk@2357 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'BSF/template/yoga/admin/cat_perm.tpl')
-rw-r--r-- | BSF/template/yoga/admin/cat_perm.tpl | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/BSF/template/yoga/admin/cat_perm.tpl b/BSF/template/yoga/admin/cat_perm.tpl new file mode 100644 index 000000000..857448112 --- /dev/null +++ b/BSF/template/yoga/admin/cat_perm.tpl @@ -0,0 +1,68 @@ +{* $Id$ *} +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> + </ul> + <h2>{'Manage permissions for a category'|@translate}</h2> +</div> + +<h3>{$CATEGORIES_NAV}</h3> + +<form action="{$F_ACTION}" method="post" id="categoryPermissions"> + + <h4>{'Groups'|@translate}</h4> + + <fieldset> + <legend>{'Permission granted'|@translate}</legend> + <ul> + {foreach from=$group_granted_ids item=id} + <li><label><input type="checkbox" name="deny_groups[]" value="{$id}" /> {$all_groups[$id]}</label></li> + {/foreach} + </ul> + <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> + </fieldset> + + <fieldset> + <legend>{'Permission denied'|@translate}</legend> + <ul> + {foreach from=$group_denied_ids item=id} + <li><label><input type="checkbox" name="grant_groups[]" value="{$id}"> {$all_groups[$id]}</label></li> + {/foreach} + </ul> + <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}" {$TAG_INPUT_ENABLED}/> + </fieldset> + + <h4>{'Users'|@translate}</h4> + + <fieldset> + <legend>{'Permission granted'|@translate}</legend> + <ul> + {foreach from=$user_granted_direct_ids item=id} + <li><label><input type="checkbox" name="deny_users[]" value="{$id}" /> {$all_users[$id]}</label></li> + {/foreach} + </ul> + <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}" {$TAG_INPUT_ENABLED}/> + </fieldset> + + <fieldset> + <legend>{'Permission granted thanks to a group'|@translate}</legend> + {if isset($user_granted_indirects) } + <ul> + {foreach from=$user_granted_indirects item=user_group} + <li>{$user_group.USER} ({$user_group.GROUP})</li> + {/foreach} + </ul> + {/if} + </fieldset> + + <fieldset> + <legend>{'Permission denied'|@translate}</legend> + <ul> + {foreach from=$user_denied_ids item=id} + <li><label><input type="checkbox" name="grant_users[]" value="{$id}"> {$all_users[$id]}</label></li> + {/foreach} + </ul> + <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}" {$TAG_INPUT_ENABLED}/> + </fieldset> + +</form> |