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