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