source: trunk/admin/themes/default/template/cat_modify.tpl @ 13580

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

feature 2594: redesign on album permission screen. The choice "public/private"
is not on the "properties" tab anymore. Simpler ergonomy to select grant users
and groups.

  • Property svn:eol-style set to LF
File size: 3.0 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="catModify">
6
7<fieldset>
8  <legend>{'Informations'|@translate}</legend>
9
[13013]10  <table style="width:100%">
[2531]11    <tr>
[13020]12      <td id="albumThumbnail">
[13013]13{if isset($representant) }
14  {if isset($representant.picture) }
[13020]15        <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt=""></a>
[13013]16  {else}
17        <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" alt="{'Random photo'|@translate}">
18  {/if}
[2531]19
[13013]20  {if $representant.ALLOW_SET_RANDOM }
21        <p style="text-align:center;"><input class="submit" type="submit" name="set_random_representant" value="Refresh" title="{'Find a new representant by random'|@translate}"></p>
22  {/if}
[2531]23
[13013]24  {if isset($representant.ALLOW_DELETE) }
25        <p><input class="submit" type="submit" name="delete_representant" value="{'Delete Representant'|@translate}"></p>
[12887]26  {/if}
[13013]27{/if}
[2531]28      </td>
29
[13020]30      <td id="albumLinks">
[13013]31<p>{$INTRO}</p>
32<ul style="padding-left:15px;">
33{if cat_admin_access($CAT_ID)}
34  <li><a href="{$U_JUMPTO}">{'jump to album'|@translate} →</a></li>
[2531]35{/if}
36
[13013]37{if isset($U_MANAGE_ELEMENTS) }
38  <li><a href="{$U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a></li>
39{/if}
[2531]40
[13013]41  <li><a href="{$U_CHILDREN}">{'manage sub-albums'|@translate}</a></li>
[2531]42
[13013]43{if isset($U_SYNC) }
44  <li><a href="{$U_SYNC}">{'Synchronize'|@translate}</a> ({'Directory'|@translate} = {$CAT_FULL_DIR})</li>
45{/if}
[2531]46
[13013]47{if isset($U_DELETE) }
48  <li><a href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete album'|@translate}</a></li>
49{/if}
[2531]50
[13013]51</ul>
[2531]52      </td>
53    </tr>
54  </table>
55
[13013]56</fieldset>
57
58<fieldset>
59  <legend>{'Properties'|@translate}</legend>
[2531]60  <p>
[13013]61    <strong>{'Name'|@translate}</strong>
62    <br>
63    <input type="text" class="large" name="name" value="{$CAT_NAME}" maxlength="60">
[2531]64  </p>
65
[13013]66  <p>
67    <strong>{'Description'|@translate}</strong>
68    <br>
69    <textarea cols="50" rows="5" name="comment" id="comment" class="description">{$CAT_COMMENT}</textarea>
70  </p>
[2531]71
[13013]72{if isset($move_cat_options) }
73  <p>
74    <strong>{'Parent album'|@translate}</strong>
75    <br>
76    <select class="categoryDropDown" name="parent">
77      <option value="0">------------</option>
78      {html_options options=$move_cat_options selected=$move_cat_options_selected }
79    </select>
80  </p>
81{/if}
[2531]82
[13013]83  <p>
84    <strong>{'Lock'|@translate}</strong>
85    <br>
86    {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE}
[2531]87  </p>
88
[13013]89  {if isset($CAT_COMMENTABLE)}
[2531]90  <p>
[13013]91    <strong>{'Comments'|@translate}</strong>
92    <br>
93    {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE}
[2531]94  </p>
[13013]95  {/if}
[2531]96
[13013]97  <p style="margin:0">
98    <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit">
99  </p>
[2531]100</fieldset>
101
102</form>
Note: See TracBrowser for help on using the repository browser.