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

Last change on this file since 2641 was 2641, checked in by rub, 16 years ago

use "include file" for grow text

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