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