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

Revision 13020, 3.2 KB checked in by plg, 8 years ago (diff)

feature 2561: move some CSS rules from cat_modify.tpl to theme.css

  • 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" 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="60">
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>{'Access type'|@translate}</strong>
85    <br>
86    {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS}
87  </p>
88
89  <p>
90    <strong>{'Lock'|@translate}</strong>
91    <br>
92    {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE}
93  </p>
94
95  {if isset($CAT_COMMENTABLE)}
96  <p>
97    <strong>{'Comments'|@translate}</strong>
98    <br>
99    {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE}
100  </p>
101  {/if}
102
103  <p style="margin:0">
104    <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit">
105  </p>
106</fieldset>
107
108</form>
Note: See TracBrowser for help on using the repository browser.