source: trunk/admin/template/goto/picture_modify.tpl @ 3283

Last change on this file since 3283 was 3283, checked in by plg, 15 years ago

complement to r3282, remove all $Id$ in source code.

  • Property svn:eol-style set to LF
File size: 6.4 KB
Line 
1
2{include file='include/autosize.inc.tpl'}
3{include file='include/dbselect.inc.tpl'}
4{include file='include/datepicker.inc.tpl'}
5
6{literal}
7<script type="text/javascript">
8  pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set");
9</script>
10{/literal}
11
12<h2>{'title_picmod'|@translate}</h2>
13
14<img src="{$TN_SRC}" alt="{'thumbnail'|@translate}" class="thumbnail">
15
16<ul class="categoryActions">
17  {if isset($U_JUMPTO) }
18  <li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}"></a></li>
19  {/if}
20  {if !url_is_remote($path)}
21  <li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li>
22  {/if}
23</ul>
24
25<form action="{$F_ACTION}" method="post" id="properties">
26
27  <fieldset>
28    <legend>{'Informations'|@translate}</legend>
29
30    <table>
31
32      <tr>
33        <td><strong>{'Path'|@translate}</strong></td>
34        <td>{$PATH}</td>
35      </tr>
36
37      <tr>
38        <td><strong>{'Post date'|@translate}</strong></td>
39        <td>{$REGISTRATION_DATE}</td>
40      </tr>
41
42      <tr>
43        <td><strong>{'Dimensions'|@translate}</strong></td>
44        <td>{$DIMENSIONS}</td>
45      </tr>
46
47      <tr>
48        <td><strong>{'Filesize'|@translate}</strong></td>
49        <td>{$FILESIZE}</td>
50      </tr>
51
52{if isset($HIGH_FILESIZE) }
53      <tr>
54        <td><strong>{'High filesize'|@translate}</strong></td>
55        <td>{$HIGH_FILESIZE}</td>
56      </tr>
57{/if}
58
59      <tr>
60        <td><strong>{'Storage category'|@translate}</strong></td>
61        <td>{$STORAGE_CATEGORY}</td>
62      </tr>
63
64      {if isset($related_categories) }
65      <tr>
66        <td><strong>{'Linked categories'|@translate}</strong></td>
67        <td>
68          <ul>
69            {foreach from=$related_categories item=name}
70            <li>{$name}</li>
71            {/foreach}
72          </ul>
73        </td>
74      </tr>
75      {/if}
76
77    </table>
78
79  </fieldset>
80
81  <fieldset>
82    <legend>{'Properties'|@translate}</legend>
83
84    <table>
85
86      <tr>
87        <td><strong>{'Name'|@translate}</strong></td>
88        <td><input type="text" class="large" name="name" value="{$NAME}"></td>
89      </tr>
90
91      <tr>
92        <td><strong>{'Author'|@translate}</strong></td>
93        <td><input type="text" class="large" name="author" value="{$AUTHOR}"></td>
94      </tr>
95
96      <tr>
97        <td><strong>{'Creation date'|@translate}</strong></td>
98        <td>
99          <label><input type="radio" name="date_creation_action" value="unset"> {'unset'|@translate}</label>
100          <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set"> {'set to'|@translate}
101          <select id="date_creation_day" name="date_creation_day">
102            <option value="0">--</option>
103            {section name=day start=1 loop=32}
104              <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY_VALUE}selected="selected"{/if}>{$smarty.section.day.index}</option>
105            {/section}
106          </select>
107          <select id="date_creation_month" name="date_creation_month">
108            {html_options options=$month_list selected=$DATE_CREATION_MONTH_VALUE}
109          </select>
110          <input id="date_creation_year"
111                 name="date_creation_year"
112                 type="text"
113                 size="4"
114                 maxlength="4"
115                 value="{$DATE_CREATION_YEAR_VALUE}">
116          <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled">
117        </td>
118      </tr>
119
120      <tr>
121        <td><strong>{'Tags'|@translate}</strong></td>
122        <td>{$TAG_SELECTION}</td>
123      </tr>
124
125
126      <tr>
127        <td><strong>{'Description'|@translate}</strong></td>
128        <td><textarea name="description" id="description" class="description">{$DESCRIPTION}</textarea></td>
129      </tr>
130
131  <tr>
132    <td><strong>{'Minimum privacy level'|@translate}</strong></td>
133    <td>
134      <select name="level" size="1">
135        {html_options options=$level_options selected=$level_options_selected}
136      </select>
137    </td>
138  </tr>
139
140    </table>
141
142    <p style="text-align:center;">
143      <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}>
144      <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset">
145    </p>
146
147  </fieldset>
148
149</form>
150
151<form id="associations" method="post" action="{$F_ACTION}#associations">
152  <fieldset>
153    <legend>{'Association to categories'|@translate}</legend>
154
155    <table class="doubleSelect">
156      <tr>
157        <td>
158          <h3>{'Associated'|@translate}</h3>
159          <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30">
160            {html_options options=$associated_options}
161          </select>
162          <p><input class="submit" type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p>
163        </td>
164
165        <td>
166          <h3>{'Dissociated'|@translate}</h3>
167          <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30">
168            {html_options options=$dissociated_options}
169          </select>
170          <p><input class="submit" type="submit" value="&laquo;" name="associate" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p>
171        </td>
172      </tr>
173    </table>
174
175  </fieldset>
176</form>
177
178<form id="representation" method="post" action="{$F_ACTION}#representation">
179  <fieldset>
180    <legend>{'Representation of categories'|@translate}</legend>
181
182    <table class="doubleSelect">
183      <tr>
184        <td>
185          <h3>{'Represents'|@translate}</h3>
186          <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30">
187            {html_options options=$elected_options}
188          </select>
189          <p><input class="submit" type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p>
190        </td>
191
192        <td>
193          <h3>{'Does not represent'|@translate}</h3>
194          <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30">
195            {html_options options=$dismissed_options}
196          </select>
197          <p><input class="submit" type="submit" value="&laquo;" name="elect" style="font-size:15px;" {$TAG_INPUT_ENABLED}></p>
198        </td>
199      </tr>
200    </table>
201
202  </fieldset>
203</form>
Note: See TracBrowser for help on using the repository browser.