source: branches/2.4/admin/themes/default/template/cat_modify.tpl @ 17006

Revision 17006, 3.0 KB checked in by plg, 7 years ago (diff)

bug 2655 fixed: maximum length for album name is 255 chars

  • Property svn:eol-style set to LF
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 style="padding-left:15px;">
33{if cat_admin_access($CAT_ID)}
34  <li><a href="{$U_JUMPTO}">{'jump to album'|@translate} →</a></li>
35{/if}
36
37{if isset($U_MANAGE_ELEMENTS) }
38  <li><a href="{$U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a></li>
39{/if}
40
41  <li><a href="{$U_CHILDREN}">{'manage sub-albums'|@translate}</a></li>
42
43{if isset($U_SYNC) }
44  <li><a href="{$U_SYNC}">{'Synchronize'|@translate}</a> ({'Directory'|@translate} = {$CAT_FULL_DIR})</li>
45{/if}
46
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}
50
51</ul>
52      </td>
53    </tr>
54  </table>
55
56</fieldset>
57
58<fieldset>
59  <legend>{'Properties'|@translate}</legend>
60  <p>
61    <strong>{'Name'|@translate}</strong>
62    <br>
63    <input type="text" class="large" name="name" value="{$CAT_NAME}" maxlength="255">
64  </p>
65
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>
71
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}
82
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}
87  </p>
88
89  {if isset($CAT_COMMENTABLE)}
90  <p>
91    <strong>{'Comments'|@translate}</strong>
92    <br>
93    {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE}
94  </p>
95  {/if}
96
97  <p style="margin:0">
98    <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit">
99  </p>
100</fieldset>
101
102</form>
Note: See TracBrowser for help on using the repository browser.