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

Last change on this file since 13013 was 13013, checked in by plg, 12 years ago

feature 2561: redesign on album administration screen.

  • only one form on the screen and several tabs
  • simpler URL pattern : page=album-123-properties / page=album-123-sort_order / page=album-123-permissions
  • action to associate all photos of an album to another (new) virtual album was removed. This can be easily done with the new Batch Manager
  • notification by email on an album still has to be moved on a new dedicated tab
  • action icons (jump to album, manage photos, manage sub-albums, delete album...) replaced by plain text links
  • Property svn:eol-style set to LF
File size: 2.3 KB
RevLine 
[2531]1<div class="titrePage">
[13013]2  <h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> &#8250; {'Edit album'|@translate} {$TABSHEET_TITLE}</h2>
[2531]3</div>
4
5<form action="{$F_ACTION}" method="post" id="categoryPermissions">
6
7  <h4>{'Groups'|@translate}</h4>
8
9  <fieldset>
10    <legend>{'Permission granted'|@translate}</legend>
11    <ul>
12      {foreach from=$group_granted_ids item=id}
[3185]13      <li><label><input type="checkbox" name="deny_groups[]" value="{$id}"> {$all_groups[$id]}</label></li>
[2531]14      {/foreach}
15    </ul>
[8128]16    <input class="submit" type="submit" name="deny_groups_submit" value="{'Deny selected groups'|@translate}">
[2531]17  </fieldset>
18
19  <fieldset>
20    <legend>{'Permission denied'|@translate}</legend>
21    <ul>
22      {foreach from=$group_denied_ids item=id}
23      <li><label><input type="checkbox" name="grant_groups[]" value="{$id}"> {$all_groups[$id]}</label></li>
24      {/foreach}
25    </ul>
[12825]26    <input class="submit" type="submit" name="grant_groups_submit" value="{'Grant selected groups'|@translate}">
[12018]27    <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label>
[2531]28  </fieldset>
29
30  <h4>{'Users'|@translate}</h4>
31
32  <fieldset>
33    <legend>{'Permission granted'|@translate}</legend>
34    <ul>
35      {foreach from=$user_granted_direct_ids item=id}
[3185]36      <li><label><input type="checkbox" name="deny_users[]" value="{$id}"> {$all_users[$id]}</label></li>
[2531]37      {/foreach}
38    </ul>
[8128]39    <input class="submit" type="submit" name="deny_users_submit" value="{'Deny selected users'|@translate}">
[2531]40  </fieldset>
41
42  <fieldset>
43    <legend>{'Permission granted thanks to a group'|@translate}</legend>
44    {if isset($user_granted_indirects) }
45    <ul>
46      {foreach from=$user_granted_indirects item=user_group}
47      <li>{$user_group.USER} ({$user_group.GROUP})</li>
48      {/foreach}
49    </ul>
50    {/if}
51  </fieldset>
52
53  <fieldset>
54    <legend>{'Permission denied'|@translate}</legend>
55    <ul>
56      {foreach from=$user_denied_ids item=id}
57      <li><label><input type="checkbox" name="grant_users[]" value="{$id}"> {$all_users[$id]}</label></li>
58      {/foreach}
59    </ul>
[12825]60    <input class="submit" type="submit" name="grant_users_submit" value="{'Grant selected users'|@translate}">
[12019]61    <label><input type="checkbox" name="apply_on_sub">{'Apply to sub-albums'|@translate}</label>
[2531]62  </fieldset>
63
[12020]64<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
[2531]65</form>
Note: See TracBrowser for help on using the repository browser.