source: trunk/template/yoga/admin/picture_modify.tpl @ 948

Last change on this file since 948 was 948, checked in by chrisaga, 18 years ago
  • report bug 206 correction and some template improvement from branch 1.5
  • feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.0 KB
Line 
1<!-- $Id: picture_modify.tpl 948 2005-11-19 23:46:18Z chrisaga $ -->
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="./template/yoga/theme/category_jump-to.png" class="button" alt="{lang:jump to}" /></a></li>
9  <!-- END jumpto -->
10  <li><a href="{U_SYNC}" title="{lang:synchronize metadata}"><img src="./template/yoga/theme/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:Registration 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      <tr>
41        <td><strong>{lang:Storage category}</strong></td>
42        <td>{STORAGE_CATEGORY}</td>
43      </tr>
44
45      <!-- BEGIN links -->
46      <tr>
47        <td><strong>{lang:Linked categories}</strong></td>
48        <td>
49          <ul>
50            <!-- BEGIN category -->
51            <li>{links.category.NAME}</li>
52            <!-- END category -->
53          </ul>
54        </td>
55      </tr>
56      <!-- END links -->
57
58    </table>
59
60  </fieldset>
61
62  <fieldset>
63    <legend>{lang:Properties}</legend>
64
65    <table>
66
67      <tr>
68        <td><strong>{lang:Name}</strong></td>
69        <td><input type="text" name="name" value="{NAME}" /></td>
70      </tr>
71
72      <tr>
73        <td><strong>{lang:Author}</strong></td>
74        <td><input type="text" name="author" value="{AUTHOR}" /></td>
75      </tr>
76
77      <tr>
78        <td><strong>{lang:Creation date}</strong></td>
79        <td>
80          <label><input type="radio" name="date_creation_action" value="unset" /> {lang:unset}</label>
81          <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> {lang:set to}
82          <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
83            <!-- BEGIN date_creation_day -->
84            <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
85            <!-- END date_creation_day -->
86          </select>
87          <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
88            <!-- BEGIN date_creation_month -->
89            <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
90            <!-- END date_creation_month -->
91          </select>
92          <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
93                 name="date_creation_year"
94                 type="text"
95                 size="4"
96                 maxlength="4"
97                 value="{DATE_CREATION_YEAR_VALUE}" />
98        </td>
99      </tr>
100
101      <tr>
102        <td><strong>{lang:Keywords}</strong></td>
103        <td><input type="text" name="keywords" value="{KEYWORDS}" size="50" /></td>
104      </tr>
105
106      <tr>
107        <td><strong>{lang:Description}</strong></td>
108        <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td>
109      </tr>
110
111    </table>
112
113    <p style="text-align:center;">
114      <input type="submit" value="{lang:Submit}" name="submit" />
115      <input type="reset" value="{lang:Reset}" name="reset" />
116    </p>
117
118  </fieldset>
119
120</form>
121
122<form id="associations" method="post" action="{F_ACTION}#associations">
123  <fieldset>
124    <legend>{lang:Association to categories}</legend>
125
126    <table class="doubleSelect">
127      <tr>
128        <td>
129          <h3>{lang:Associated}</h3>
130          <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30">
131            <!-- BEGIN associated_option -->
132            <option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
133            <!-- END associated_option -->
134          </select>
135          <p><input type="submit" value="&raquo;" name="dissociate" style="font-size:15px;"/></p>
136        </td>
137
138        <td>
139          <h3>{lang:Dissociated}</h3>
140          <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30">
141            <!-- BEGIN dissociated_option -->
142            <option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
143            <!-- END dissociated_option -->
144          </select>
145          <p><input type="submit" value="&laquo;" name="associate" style="font-size:15px;" /></p>
146        </td>
147      </tr>
148    </table>
149
150  </fieldset>
151</form>
152
153<form id="representation" method="post" action="{F_ACTION}#representation">
154  <fieldset>
155    <legend>{lang:Representation of categories}</legend>
156
157    <table class="doubleSelect">
158      <tr>
159        <td>
160          <h3>{lang:Represents}</h3>
161          <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30">
162            <!-- BEGIN elected_option -->
163            <option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
164            <!-- END elected_option -->
165          </select>
166          <p><input type="submit" value="&raquo;" name="dismiss" style="font-size:15px;"/></p>
167        </td>
168
169        <td>
170          <h3>{lang:Does not represent}</h3>
171          <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30">
172            <!-- BEGIN dismissed_option -->
173            <option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
174            <!-- END dismissed_option -->
175          </select>
176          <p><input type="submit" value="&laquo;" name="elect" style="font-size:15px;" /></p>
177        </td>
178      </tr>
179    </table>
180
181  </fieldset>
182</form>
Note: See TracBrowser for help on using the repository browser.