1 | <div class="titrePage"> |
---|
2 | <ul class="categoryActions"> |
---|
3 | <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> |
---|
4 | </ul> |
---|
5 | <h2>{lang:title_liste_users}</h2> |
---|
6 | </div> |
---|
7 | |
---|
8 | <form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}"> |
---|
9 | <fieldset> |
---|
10 | <legend>{lang:Add a user}</legend> |
---|
11 | <label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label> |
---|
12 | <label>{L_PASSWORD} <input type="text" name="password" /></label> |
---|
13 | <input type="submit" name="submit_add" value="{L_SUBMIT}" {TAG_INPUT_ENABLED} /> |
---|
14 | </fieldset> |
---|
15 | </form> |
---|
16 | |
---|
17 | <form class="filter" method="get" name="filter" action="{F_FILTER_ACTION}"> |
---|
18 | |
---|
19 | <input type="hidden" name="page" value="user_list" /> |
---|
20 | |
---|
21 | <!-- BEGIN session --> |
---|
22 | <input type="hidden" name="id" value="{session.ID}" /> |
---|
23 | <!-- END session --> |
---|
24 | |
---|
25 | <fieldset> |
---|
26 | |
---|
27 | <legend>{lang:Filter}</legend> |
---|
28 | |
---|
29 | |
---|
30 | <label>{lang:Username} <input type="text" name="username" value="{F_USERNAME}" /></label> |
---|
31 | |
---|
32 | <label> |
---|
33 | {lang:status} |
---|
34 | <select name="status"> |
---|
35 | <!-- BEGIN status_option --> |
---|
36 | <option value="{status_option.VALUE}" {status_option.SELECTED} > {status_option.CONTENT}</option> |
---|
37 | <!-- END status_option --> |
---|
38 | </select> |
---|
39 | </label> |
---|
40 | |
---|
41 | <label> |
---|
42 | {lang:group} |
---|
43 | <select name="group"> |
---|
44 | <!-- BEGIN group_option --> |
---|
45 | <option value="{group_option.VALUE}" {group_option.SELECTED} > {group_option.CONTENT}</option> |
---|
46 | <!-- END group_option --> |
---|
47 | </select> |
---|
48 | </label> |
---|
49 | |
---|
50 | <label> |
---|
51 | {lang:Order by} |
---|
52 | <select name="order_by"> |
---|
53 | <!-- BEGIN order_by --> |
---|
54 | <option value="{order_by.VALUE}" {order_by.SELECTED} >{order_by.CONTENT}</option> |
---|
55 | <!-- END order_by --> |
---|
56 | </select> |
---|
57 | </label> |
---|
58 | |
---|
59 | <label> |
---|
60 | {lang:Sort order} |
---|
61 | <select name="direction"> |
---|
62 | <!-- BEGIN direction --> |
---|
63 | <option value="{direction.VALUE}" {direction.SELECTED} >{direction.CONTENT}</option> |
---|
64 | <!-- END direction --> |
---|
65 | </select> |
---|
66 | </label> |
---|
67 | |
---|
68 | <input type="submit" name="submit_filter" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/> |
---|
69 | |
---|
70 | </fieldset> |
---|
71 | |
---|
72 | </form> |
---|
73 | |
---|
74 | <form method="post" name="preferences" action="{F_PREF_ACTION}"> |
---|
75 | |
---|
76 | <table class="table2"> |
---|
77 | <tr class="throw"> |
---|
78 | <th> </th> |
---|
79 | <th>{lang:Username}</th> |
---|
80 | <th>{L_STATUS}</th> |
---|
81 | <th>{L_EMAIL}</th> |
---|
82 | <th>{lang:Groups}</th> |
---|
83 | <th>{L_PROPERTIES}</th> |
---|
84 | <th>{L_ACTIONS}</th> |
---|
85 | </tr> |
---|
86 | <!-- BEGIN user --> |
---|
87 | <tr class="{user.CLASS}"> |
---|
88 | <td><input type="checkbox" name="selection[]" value="{user.ID}" {user.CHECKED} id="selection-{user.ID}" /></td> |
---|
89 | <td><label for="selection-{user.ID}">{user.USERNAME}</label></td> |
---|
90 | <td>{user.STATUS}</td> |
---|
91 | <td>{user.EMAIL}</td> |
---|
92 | <td>{user.GROUPS}</td> |
---|
93 | <td>{user.PROPERTIES}</td> |
---|
94 | <td style="text-align:center;"> |
---|
95 | <a href="{user.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="{L_PERMISSIONS}" title="{L_PERMISSIONS}" /></a> |
---|
96 | </td> |
---|
97 | </tr> |
---|
98 | <!-- END user --> |
---|
99 | </table> |
---|
100 | |
---|
101 | <div class="navigationBar">{NAVBAR}</div> |
---|
102 | |
---|
103 | <!-- delete the selected users ? --> |
---|
104 | <fieldset> |
---|
105 | <legend>{lang:Deletions}</legend> |
---|
106 | <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label> |
---|
107 | <input type="submit" value="{lang:Delete selected users}" name="delete" {TAG_INPUT_ENABLED}/> |
---|
108 | </fieldset> |
---|
109 | |
---|
110 | <fieldset> |
---|
111 | <legend>{lang:Status}</legend> |
---|
112 | |
---|
113 | <table> |
---|
114 | <tr> |
---|
115 | <td>{L_STATUS}</td> |
---|
116 | <td> |
---|
117 | <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
118 | <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label> |
---|
119 | <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1"> |
---|
120 | <!-- BEGIN pref_status_option --> |
---|
121 | <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option> |
---|
122 | <!-- END pref_status_option --> |
---|
123 | </select> |
---|
124 | </td> |
---|
125 | </tr> |
---|
126 | |
---|
127 | <!-- BEGIN adviser --> |
---|
128 | <tr> |
---|
129 | <td>{lang:adviser}</td> |
---|
130 | <td> |
---|
131 | <label><input type="radio" name="adviser" value="leave" checked="checked" /> {lang:leave}</label> |
---|
132 | / {lang:set to} |
---|
133 | <label><input type="radio" name="adviser" value="true" {ADVISER_YES} />{L_YES}</label> |
---|
134 | <label><input type="radio" name="adviser" value="false" {ADVISER_NO} />{L_NO}</label> |
---|
135 | </td> |
---|
136 | </tr> |
---|
137 | <!-- END adviser --> |
---|
138 | |
---|
139 | </table> |
---|
140 | </fieldset> |
---|
141 | |
---|
142 | <!-- form to set properties for many users at once --> |
---|
143 | <fieldset> |
---|
144 | <legend>{lang:Groups}</legend> |
---|
145 | |
---|
146 | <table> |
---|
147 | |
---|
148 | <tr> |
---|
149 | <td>{lang:associate to group}</td> |
---|
150 | <td> |
---|
151 | <select name="associate" size="1"> |
---|
152 | <!-- BEGIN associate_option --> |
---|
153 | <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.CONTENT}</option> |
---|
154 | <!-- END associate_option --> |
---|
155 | </select> |
---|
156 | </td> |
---|
157 | </tr> |
---|
158 | |
---|
159 | <tr> |
---|
160 | <td>{lang:dissociate from group}</td> |
---|
161 | <td> |
---|
162 | <select name="dissociate" size="1"> |
---|
163 | <!-- BEGIN dissociate_option --> |
---|
164 | <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.CONTENT}</option> |
---|
165 | <!-- END dissociate_option --> |
---|
166 | </select> |
---|
167 | </td> |
---|
168 | </tr> |
---|
169 | |
---|
170 | </table> |
---|
171 | |
---|
172 | </fieldset> |
---|
173 | |
---|
174 | <!-- Properties --> |
---|
175 | <fieldset> |
---|
176 | <legend>{L_PROPERTIES}</legend> |
---|
177 | |
---|
178 | <table> |
---|
179 | |
---|
180 | <tr> |
---|
181 | <td>{lang:enabled_high}</td> |
---|
182 | <td> |
---|
183 | <label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {lang:leave}</label> |
---|
184 | / {lang:set to} |
---|
185 | <label><input type="radio" name="enabled_high" value="true" {ENABLED_HIGH_YES} />{L_YES}</label> |
---|
186 | <label><input type="radio" name="enabled_high" value="false" {ENABLED_HIGH_NO} />{L_NO}</label> |
---|
187 | </td> |
---|
188 | </tr> |
---|
189 | |
---|
190 | </table> |
---|
191 | |
---|
192 | </fieldset> |
---|
193 | |
---|
194 | <!-- preference --> |
---|
195 | <fieldset> |
---|
196 | <legend>{lang:Preferences}</legend> |
---|
197 | |
---|
198 | <table> |
---|
199 | |
---|
200 | <tr> |
---|
201 | <td>{L_NB_IMAGE_LINE}</td> |
---|
202 | <td> |
---|
203 | <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
204 | <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label> |
---|
205 | <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;" |
---|
206 | size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" /> |
---|
207 | </td> |
---|
208 | </tr> |
---|
209 | |
---|
210 | <tr> |
---|
211 | <td>{L_NB_LINE_PAGE}</td> |
---|
212 | <td> |
---|
213 | <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
214 | <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label> |
---|
215 | <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;" |
---|
216 | size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" /> |
---|
217 | <td> |
---|
218 | </tr> |
---|
219 | |
---|
220 | <tr> |
---|
221 | <td>{L_TEMPLATE}</td> |
---|
222 | <td> |
---|
223 | <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
224 | <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label> |
---|
225 | <select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1"> |
---|
226 | <!-- BEGIN template_option --> |
---|
227 | <option {template_option.SELECTED} value="{template_option.VALUE}">{template_option.CONTENT}</option> |
---|
228 | <!-- END template_option --> |
---|
229 | </select> |
---|
230 | </td> |
---|
231 | </tr> |
---|
232 | |
---|
233 | <tr> |
---|
234 | <td>{L_LANGUAGE}</td> |
---|
235 | <td> |
---|
236 | <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
237 | <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label> |
---|
238 | <select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1"> |
---|
239 | <!-- BEGIN language_option --> |
---|
240 | <option {language_option.SELECTED} value="{language_option.VALUE}">{language_option.CONTENT}</option> |
---|
241 | <!-- END language_option --> |
---|
242 | </select> |
---|
243 | </td> |
---|
244 | </tr> |
---|
245 | |
---|
246 | <tr> |
---|
247 | <td>{L_RECENT_PERIOD}</td> |
---|
248 | <td> |
---|
249 | <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
250 | <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label> |
---|
251 | <input onmousedown="document.getElementById('recent_period_action_set').checked = true;" |
---|
252 | type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /> |
---|
253 | </td> |
---|
254 | </tr> |
---|
255 | |
---|
256 | <tr> |
---|
257 | <td>{L_EXPAND}</td> |
---|
258 | <td> |
---|
259 | <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label> |
---|
260 | / {lang:set to} |
---|
261 | <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label> |
---|
262 | <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label> |
---|
263 | </td> |
---|
264 | </tr> |
---|
265 | |
---|
266 | <tr> |
---|
267 | <td>{L_SHOW_NB_COMMENTS}</td> |
---|
268 | <td> |
---|
269 | <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label> |
---|
270 | / {lang:set to} |
---|
271 | <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label> |
---|
272 | <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label> |
---|
273 | </td> |
---|
274 | </tr> |
---|
275 | |
---|
276 | <tr> |
---|
277 | <td>{L_MAXWIDTH}</td> |
---|
278 | <td> |
---|
279 | <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
280 | <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label> |
---|
281 | <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label> |
---|
282 | <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;" |
---|
283 | type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" /> |
---|
284 | </td> |
---|
285 | </tr> |
---|
286 | |
---|
287 | |
---|
288 | <tr> |
---|
289 | <td>{L_MAXHEIGHT}</td> |
---|
290 | <td> |
---|
291 | <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
292 | <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label> |
---|
293 | <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label> |
---|
294 | <input onmousedown="document.getElementById('maxheight_action_set').checked = true;" |
---|
295 | type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" /> |
---|
296 | </td> |
---|
297 | </tr> |
---|
298 | |
---|
299 | |
---|
300 | </table> |
---|
301 | |
---|
302 | </fieldset> |
---|
303 | |
---|
304 | <p> |
---|
305 | {lang:target} |
---|
306 | <label><input type="radio" name="target" value="all" /> {lang:all} |
---|
307 | <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection} |
---|
308 | </p> |
---|
309 | |
---|
310 | <p> |
---|
311 | <input type="submit" value="{L_SUBMIT}" name="pref_submit" {TAG_INPUT_ENABLED} /> |
---|
312 | <input type="reset" value="{L_RESET}" name="pref_reset" /> |
---|
313 | </p> |
---|
314 | |
---|
315 | </form> |
---|