root/trunk/template/yoga/admin/picture_modify.tpl @ 1883

Revision 1883, 6.3 KB (checked in by plg, 6 years ago)

New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata
synchronization.

Bug fixed: in getAttribute XML function, when asking "filesize", it was
returning high_filesize. The regex was too simple.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!-- $Id$ -->
2<h2>{lang:title_picmod}</h2>
3
4<img src="{TN_SRC}" alt="{lang:thumbnail}" class="thumbnail" />
5
6<ul class="categoryActions">
7  <!-- BEGIN jumpto -->
8  <li><a href="{jumpto.URL}" title="{lang:jump to image}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to image}" /></a></li>
9  <!-- END jumpto -->
10  <li><a href="{U_SYNC}" title="{lang:synchronize metadata}" {TAG_INPUT_ENABLED}><img src="{themeconf:icon_dir}/sync_metadata.png" class="button" alt="{lang:synchronize}" /></a></li>
11</ul>
12
13<form action="{F_ACTION}" method="post" id="properties">
14
15  <fieldset>
16    <legend>{lang:Informations}</legend>
17
18    <table>
19
20      <tr>
21        <td><strong>{lang:Path}</strong></td>
22        <td>{PATH}</td>
23      </tr>
24
25      <tr>
26        <td><strong>{lang:Post date}</strong></td>
27        <td>{REGISTRATION_DATE}</td>
28      </tr>
29
30      <tr>
31        <td><strong>{lang:Dimensions}</strong></td>
32        <td>{DIMENSIONS}</td>
33      </tr>
34
35      <tr>
36        <td><strong>{lang:Filesize}</strong></td>
37        <td>{FILESIZE}</td>
38      </tr>
39
40<!-- BEGIN high -->
41      <tr>
42        <td><strong>{lang:High filesize}</strong></td>
43        <td>{high.FILESIZE}</td>
44      </tr>
45<!-- END high -->
46
47      <tr>
48        <td><strong>{lang:Storage category}</strong></td>
49        <td>{STORAGE_CATEGORY}</td>
50      </tr>
51
52      <!-- BEGIN links -->
53      <tr>
54        <td><strong>{lang:Linked categories}</strong></td>
55        <td>
56          <ul>
57            <!-- BEGIN category -->
58            <li>{links.category.NAME}</li>
59            <!-- END category -->
60          </ul>
61        </td>
62      </tr>
63      <!-- END links -->
64
65    </table>
66
67  </fieldset>
68
69  <fieldset>
70    <legend>{lang:Properties}</legend>
71
72    <table>
73
74      <tr>
75        <td><strong>{lang:Name}</strong></td>
76        <td><input type="text" name="name" value="{NAME}" /></td>
77      </tr>
78
79      <tr>
80        <td><strong>{lang:Author}</strong></td>
81        <td><input type="text" name="author" value="{AUTHOR}" /></td>
82      </tr>
83
84      <tr>
85        <td><strong>{lang:Creation date}</strong></td>
86        <td>
87          <label><input type="radio" name="date_creation_action" value="unset" /> {lang:unset}</label>
88          <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {lang:set to}
89          <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
90            <!-- BEGIN date_creation_day -->
91            <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
92            <!-- END date_creation_day -->
93          </select>
94          <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
95            <!-- BEGIN date_creation_month -->
96            <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
97            <!-- END date_creation_month -->
98          </select>
99          <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
100                 name="date_creation_year"
101                 type="text"
102                 size="4"
103                 maxlength="4"
104                 value="{DATE_CREATION_YEAR_VALUE}" />
105        </td>
106      </tr>
107
108      <tr>
109        <td><strong>{lang:Tags}</strong></td>
110        <td>{TAG_SELECTION}</td>
111      </tr>
112
113
114      <tr>
115        <td><strong>{lang:Description}</strong></td>
116        <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td>
117      </tr>
118
119    </table>
120
121    <p style="text-align:center;">
122      <input class="submit" type="submit" value="{lang:Submit}" name="submit" {TAG_INPUT_ENABLED}/>
123      <input class="submit" type="reset" value="{lang:Reset}" name="reset" />
124    </p>
125
126  </fieldset>
127
128</form>
129
130<form id="associations" method="post" action="{F_ACTION}#associations">
131  <fieldset>
132    <legend>{lang:Association to categories}</legend>
133
134    <table class="doubleSelect">
135      <tr>
136        <td>
137          <h3>{lang:Associated}</h3>
138          <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30">
139            <!-- BEGIN associated_option -->
140            <option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
141            <!-- END associated_option -->
142          </select>
143          <p><input class="submit" type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
144        </td>
145
146        <td>
147          <h3>{lang:Dissociated}</h3>
148          <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30">
149            <!-- BEGIN dissociated_option -->
150            <option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
151            <!-- END dissociated_option -->
152          </select>
153          <p><input class="submit" type="submit" value="&laquo;" name="associate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
154        </td>
155      </tr>
156    </table>
157
158  </fieldset>
159</form>
160
161<form id="representation" method="post" action="{F_ACTION}#representation">
162  <fieldset>
163    <legend>{lang:Representation of categories}</legend>
164
165    <table class="doubleSelect">
166      <tr>
167        <td>
168          <h3>{lang:Represents}</h3>
169          <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30">
170            <!-- BEGIN elected_option -->
171            <option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
172            <!-- END elected_option -->
173          </select>
174          <p><input class="submit" type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
175        </td>
176
177        <td>
178          <h3>{lang:Does not represent}</h3>
179          <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30">
180            <!-- BEGIN dismissed_option -->
181            <option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
182            <!-- END dismissed_option -->
183          </select>
184          <p><input class="submit" type="submit" value="&laquo;" name="elect" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
185        </td>
186      </tr>
187    </table>
188
189  </fieldset>
190</form>
Note: See TracBrowser for help on using the browser.