1 | <!-- DEV TAG: not smarty migrated --> |
---|
2 | <!-- $Id: cat_modify.tpl 2222 2008-02-27 23:08:44Z rub $ --> |
---|
3 | <div class="titrePage"> |
---|
4 | <ul class="categoryActions"> |
---|
5 | <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> |
---|
6 | </ul> |
---|
7 | <h2>{lang:title_edit_cat}</h2> |
---|
8 | </div> |
---|
9 | |
---|
10 | <h3>{CATEGORIES_NAV}</h3> |
---|
11 | |
---|
12 | <ul class="categoryActions"> |
---|
13 | <li><a href="{U_JUMPTO}" title="{lang:jump to category}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to category}" /></a></li> |
---|
14 | <!-- BEGIN elements --> |
---|
15 | <li><a href="{elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li> |
---|
16 | <!-- END elements --> |
---|
17 | <li><a href="{U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li> |
---|
18 | <!-- BEGIN permissions --> |
---|
19 | <li><a href="{permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li> |
---|
20 | <!-- END permissions --> |
---|
21 | <!-- BEGIN delete --> |
---|
22 | <li><a href="{delete.URL}" title="{lang:delete category}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li> |
---|
23 | <!-- END delete --> |
---|
24 | </ul> |
---|
25 | |
---|
26 | <form action="{F_ACTION}" method="POST" id="catModify"> |
---|
27 | |
---|
28 | <fieldset> |
---|
29 | <legend>{lang:Informations}</legend> |
---|
30 | <table> |
---|
31 | <!-- BEGIN server --> |
---|
32 | <tr> |
---|
33 | <td><strong>{L_REMOTE_SITE}</strong></td> |
---|
34 | <td>{server.SITE_URL}</td> |
---|
35 | </tr> |
---|
36 | <!-- END server --> |
---|
37 | <!-- BEGIN storage --> |
---|
38 | <tr> |
---|
39 | <td><strong>{L_STORAGE}</strong></td> |
---|
40 | <td class="row1">{storage.CATEGORY_DIR}</td> |
---|
41 | </tr> |
---|
42 | <!-- END storage --> |
---|
43 | <tr> |
---|
44 | <td><strong>{L_EDIT_NAME}</strong></td> |
---|
45 | <td> |
---|
46 | <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td><strong>{L_EDIT_COMMENT}</strong></td> |
---|
51 | <td> |
---|
52 | <textarea cols="50" rows="5" name="comment" class="description">{CAT_COMMENT}</textarea> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | </table> |
---|
56 | </fieldset> |
---|
57 | |
---|
58 | <!-- BEGIN move --> |
---|
59 | <fieldset id="move"> |
---|
60 | <legend>{lang:Move}</legend> |
---|
61 | {lang:Parent category} |
---|
62 | <select class="categoryDropDown" name="parent"> |
---|
63 | <!-- BEGIN parent_option --> |
---|
64 | <option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option> |
---|
65 | <!-- END parent_option --> |
---|
66 | </select> |
---|
67 | </fieldset> |
---|
68 | <!-- END move --> |
---|
69 | |
---|
70 | <fieldset id="options"> |
---|
71 | <legend>{lang:Options}</legend> |
---|
72 | <table> |
---|
73 | <tr> |
---|
74 | <td><strong>{L_EDIT_STATUS}</strong> |
---|
75 | <td> |
---|
76 | <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC} |
---|
77 | <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE} |
---|
78 | </td> |
---|
79 | </tr> |
---|
80 | <tr> |
---|
81 | <td><strong>{L_EDIT_LOCK}</strong> |
---|
82 | <td> |
---|
83 | <input type="radio" name="visible" value="false" {LOCKED} />{L_YES} |
---|
84 | <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO} |
---|
85 | </td> |
---|
86 | </tr> |
---|
87 | <tr> |
---|
88 | <td><strong>{L_EDIT_COMMENTABLE}</strong> |
---|
89 | <td> |
---|
90 | <input type="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES} |
---|
91 | <input type="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO} |
---|
92 | </td> |
---|
93 | </tr> |
---|
94 | <!-- BEGIN upload --> |
---|
95 | <tr> |
---|
96 | <td><strong>{L_EDIT_UPLOADABLE}</strong> |
---|
97 | <td> |
---|
98 | <input type="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES} |
---|
99 | <input type="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO} |
---|
100 | </td> |
---|
101 | </tr> |
---|
102 | <!-- END upload --> |
---|
103 | </table> |
---|
104 | </fieldset> |
---|
105 | |
---|
106 | <fieldset id="image_order"> |
---|
107 | <legend>{lang:Sort order}</legend> |
---|
108 | <input type="checkbox" name="image_order_default" id="image_order_default" {IMG_ORDER_DEFAULT} /> |
---|
109 | <label for="image_order_default">{lang:Use default sort order}</label> |
---|
110 | <br/> |
---|
111 | <input type="checkbox" name="image_order_subcats" id="image_order_subcats" /> |
---|
112 | <label for="image_order_subcats">{lang:Apply to subcategories}</label> |
---|
113 | <br/> |
---|
114 | <!-- BEGIN image_order --> |
---|
115 | <select name="order_field_{image_order.NUMBER}"> |
---|
116 | <!-- BEGIN field --> |
---|
117 | <option value="{image_order.field.VALUE}" {image_order.field.SELECTED}>{image_order.field.OPTION}</option> |
---|
118 | <!-- END field --> |
---|
119 | </select> |
---|
120 | <select name="order_direction_{image_order.NUMBER}"> |
---|
121 | <!-- BEGIN order --> |
---|
122 | <option value="{image_order.order.VALUE}" {image_order.order.SELECTED}>{image_order.order.OPTION}</option> |
---|
123 | <!-- END order --> |
---|
124 | </select><br/> |
---|
125 | <!-- END image_order --> |
---|
126 | </fieldset> |
---|
127 | |
---|
128 | <p style="text-align:center;"> |
---|
129 | <input class="submit" type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/> |
---|
130 | <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> |
---|
131 | </p> |
---|
132 | |
---|
133 | <!-- BEGIN representant --> |
---|
134 | <fieldset id="representant"> |
---|
135 | <legend>{lang:Representant}</legend> |
---|
136 | <table> |
---|
137 | <tr> |
---|
138 | <td align="center"> |
---|
139 | <!-- BEGIN picture --> |
---|
140 | <a href="{representant.picture.URL}"><img src="{representant.picture.SRC}" alt="" class="miniature" /></a> |
---|
141 | <!-- END picture --> |
---|
142 | |
---|
143 | <!-- BEGIN random --> |
---|
144 | <img src="{themeconf:icon_dir}/category_representant_random.png" class="button" alt="{lang:Random picture}" class="miniature" /> |
---|
145 | <!-- END random --> |
---|
146 | </td> |
---|
147 | <td> |
---|
148 | <!-- BEGIN set_random --> |
---|
149 | <p><input class="submit" type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" {TAG_INPUT_ENABLED}/></p> |
---|
150 | <!-- END set_random --> |
---|
151 | |
---|
152 | <!-- BEGIN delete_representant --> |
---|
153 | <p><input class="submit" type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p> |
---|
154 | <!-- END delete_representant --> |
---|
155 | </td> |
---|
156 | </tr> |
---|
157 | </table> |
---|
158 | </fieldset> |
---|
159 | <!-- END representant --> |
---|
160 | |
---|
161 | </form> |
---|
162 | |
---|
163 | <form action="{F_ACTION}" method="POST" id="links"> |
---|
164 | |
---|
165 | <fieldset id="linkAllNew"> |
---|
166 | <legend>{lang:Link all category elements to a new category}</legend> |
---|
167 | |
---|
168 | <table> |
---|
169 | <tr> |
---|
170 | <td>{lang:Virtual category name}</td> |
---|
171 | <td><input type="text" name="virtual_name"></td> |
---|
172 | </tr> |
---|
173 | |
---|
174 | <tr> |
---|
175 | <td>{lang:Parent category}</td> |
---|
176 | <td> |
---|
177 | <select class="categoryDropDown" name="parent"> |
---|
178 | <!-- BEGIN category_option_parent --> |
---|
179 | <option {category_option_parent.SELECTED} value="{category_option_parent.VALUE}">{category_option_parent.OPTION}</option> |
---|
180 | <!-- END category_option_parent --> |
---|
181 | </select> |
---|
182 | </td> |
---|
183 | </tr> |
---|
184 | </table> |
---|
185 | |
---|
186 | <p> |
---|
187 | <input class="submit" type="submit" value="{lang:Submit}" name="submitAdd" {TAG_INPUT_ENABLED}/> |
---|
188 | <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> |
---|
189 | </p> |
---|
190 | |
---|
191 | </fieldset> |
---|
192 | |
---|
193 | <fieldset id="linkAllExist"> |
---|
194 | <legend>{lang:Link all category elements to some existing categories}</legend> |
---|
195 | |
---|
196 | <table> |
---|
197 | <tr> |
---|
198 | <td>{lang:Categories}</td> |
---|
199 | <td> |
---|
200 | <select class="categoryList" name="destinations[]" multiple="multiple" size="5"> |
---|
201 | <!-- BEGIN category_option_destination --> |
---|
202 | <option {category_option_destination.SELECTED} value="{category_option_destination.VALUE}">{category_option_destination.OPTION}</option> |
---|
203 | <!-- END category_option_destination --> |
---|
204 | </select> |
---|
205 | </td> |
---|
206 | </tr> |
---|
207 | </table> |
---|
208 | |
---|
209 | <p> |
---|
210 | <input class="submit" type="submit" value="{lang:Submit}" name="submitDestinations" {TAG_INPUT_ENABLED}/> |
---|
211 | <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> |
---|
212 | </p> |
---|
213 | |
---|
214 | </fieldset> |
---|
215 | |
---|
216 | <!-- BEGIN group_mail --> |
---|
217 | <fieldset id="emailCatInfo"> |
---|
218 | <legend>{lang:Send an information email to group members}</legend> |
---|
219 | |
---|
220 | <table> |
---|
221 | <tr> |
---|
222 | <td><strong>{lang:Group}</strong></td> |
---|
223 | <td> |
---|
224 | <select name="group"> |
---|
225 | <!-- BEGIN group_option --> |
---|
226 | <option value="{group_mail.group_option.VALUE}">{group_mail.group_option.OPTION}</option> |
---|
227 | <!-- END group_option --> |
---|
228 | </select> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | <tr> |
---|
232 | <td><strong>{lang:mail_content}</strong></td> |
---|
233 | <td> |
---|
234 | <textarea cols="50" rows="5" name="mail_content" class="description">{MAIL_CONTENT}</textarea> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | |
---|
238 | </table> |
---|
239 | |
---|
240 | <p> |
---|
241 | <input class="submit" type="submit" value="{lang:Submit}" name="submitEmail" {TAG_INPUT_ENABLED}/> |
---|
242 | <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> |
---|
243 | </p> |
---|
244 | |
---|
245 | </fieldset> |
---|
246 | <!-- END group_mail --> |
---|
247 | |
---|
248 | </form> |
---|