source: trunk/admin/themes/default/template/cat_perm.tpl @ 12020

Revision 12020, 2.3 KB checked in by flop25, 8 years ago (diff)

token added for permissions

  • Property svn:eol-style set to LF
Line 
1<div class="titrePage">
2  <h2>{'Edit album permissions'|@translate}</h2>
3</div>
4
5<h3>{$CATEGORIES_NAV}</h3>
6
7<form action="{$F_ACTION}" method="post" id="categoryPermissions">
8
9  <h4>{'Groups'|@translate}</h4>
10
11  <fieldset>
12    <legend>{'Permission granted'|@translate}</legend>
13    <ul>
14      {foreach from=$group_granted_ids item=id}
15      <li><label><input type="checkbox" name="deny_groups[]" value="{$id}"> {$all_groups[$id]}</label></li>
16      {/foreach}
17    </ul>
18    <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}">
19  </fieldset>
20
21  <fieldset>
22    <legend>{'Permission denied'|@translate}</legend>
23    <ul>
24      {foreach from=$group_denied_ids item=id}
25      <li><label><input type="checkbox" name="grant_groups[]" value="{$id}"> {$all_groups[$id]}</label></li>
26      {/foreach}
27    </ul>
28    <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label>
29    <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}">
30  </fieldset>
31
32  <h4>{'Users'|@translate}</h4>
33
34  <fieldset>
35    <legend>{'Permission granted'|@translate}</legend>
36    <ul>
37      {foreach from=$user_granted_direct_ids item=id}
38      <li><label><input type="checkbox" name="deny_users[]" value="{$id}"> {$all_users[$id]}</label></li>
39      {/foreach}
40    </ul>
41    <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}">
42  </fieldset>
43
44  <fieldset>
45    <legend>{'Permission granted thanks to a group'|@translate}</legend>
46    {if isset($user_granted_indirects) }
47    <ul>
48      {foreach from=$user_granted_indirects item=user_group}
49      <li>{$user_group.USER} ({$user_group.GROUP})</li>
50      {/foreach}
51    </ul>
52    {/if}
53  </fieldset>
54
55  <fieldset>
56    <legend>{'Permission denied'|@translate}</legend>
57    <ul>
58      {foreach from=$user_denied_ids item=id}
59      <li><label><input type="checkbox" name="grant_users[]" value="{$id}"> {$all_users[$id]}</label></li>
60      {/foreach}
61    </ul>
62    <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label>
63    <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}">
64  </fieldset>
65
66<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
67</form>
Note: See TracBrowser for help on using the repository browser.