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

Last change on this file since 25748 was 25748, checked in by plg, 10 years ago

feature 2916: add icons for cat_modify, picture_modify and admin top bar

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