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}" /> |
---|
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}" /> |
---|
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_ACTIONS}</th> |
---|
84 | </tr> |
---|
85 | <!-- BEGIN user --> |
---|
86 | <tr class="{user.CLASS}"> |
---|
87 | <td><input type="checkbox" name="selection[]" value="{user.ID}" {user.CHECKED} id="selection-{user.ID}" /></td> |
---|
88 | <td><label for="selection-{user.ID}">{user.USERNAME}</label></td> |
---|
89 | <td>{user.STATUS}</td> |
---|
90 | <td>{user.EMAIL}</td> |
---|
91 | <td>{user.GROUPS}</td> |
---|
92 | <td style="text-align:center;"> |
---|
93 | <a href="{user.U_PERM}"><img src="./template/yoga/theme/permissions.png" class="button" style="border:none" alt="{L_PERMISSIONS}" title="{L_PERMISSIONS}" /></a> |
---|
94 | </td> |
---|
95 | </tr> |
---|
96 | <!-- END user --> |
---|
97 | </table> |
---|
98 | |
---|
99 | <div class="navigationBar">{NAVBAR}</div> |
---|
100 | |
---|
101 | <!-- delete the selected users ? --> |
---|
102 | <fieldset> |
---|
103 | <legend>{lang:Deletions}</legend> |
---|
104 | <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label> |
---|
105 | <input type="submit" value="{lang:Delete selected users}" name="delete" /> |
---|
106 | </fieldset> |
---|
107 | |
---|
108 | <fieldset> |
---|
109 | <legend>{lang:Status}</legend> |
---|
110 | |
---|
111 | <table> |
---|
112 | <tr> |
---|
113 | <td>{L_STATUS}</td> |
---|
114 | <td> |
---|
115 | <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
116 | <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label> |
---|
117 | <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1"> |
---|
118 | <!-- BEGIN pref_status_option --> |
---|
119 | <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option> |
---|
120 | <!-- END pref_status_option --> |
---|
121 | </select> |
---|
122 | </td> |
---|
123 | </tr> |
---|
124 | </table> |
---|
125 | |
---|
126 | </fieldset> |
---|
127 | |
---|
128 | <!-- form to set properties for many users at once --> |
---|
129 | <fieldset> |
---|
130 | <legend>{lang:Groups}</legend> |
---|
131 | |
---|
132 | <table> |
---|
133 | |
---|
134 | <tr> |
---|
135 | <td>{lang:associate to group}</td> |
---|
136 | <td> |
---|
137 | <select name="associate" size="1"> |
---|
138 | <!-- BEGIN associate_option --> |
---|
139 | <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.CONTENT}</option> |
---|
140 | <!-- END associate_option --> |
---|
141 | </select> |
---|
142 | </td> |
---|
143 | </tr> |
---|
144 | |
---|
145 | <tr> |
---|
146 | <td>{lang:dissociate from group}</td> |
---|
147 | <td> |
---|
148 | <select name="dissociate" size="1"> |
---|
149 | <!-- BEGIN dissociate_option --> |
---|
150 | <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.CONTENT}</option> |
---|
151 | <!-- END dissociate_option --> |
---|
152 | </select> |
---|
153 | </td> |
---|
154 | </tr> |
---|
155 | |
---|
156 | </table> |
---|
157 | |
---|
158 | </fieldset> |
---|
159 | |
---|
160 | <fieldset> |
---|
161 | <legend>{lang:Preferences}</legend> |
---|
162 | |
---|
163 | <table> |
---|
164 | |
---|
165 | <tr> |
---|
166 | <td>{L_NB_IMAGE_LINE}</td> |
---|
167 | <td> |
---|
168 | <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
169 | <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label> |
---|
170 | <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;" |
---|
171 | size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" /> |
---|
172 | </td> |
---|
173 | </tr> |
---|
174 | |
---|
175 | <tr> |
---|
176 | <td>{L_NB_LINE_PAGE}</td> |
---|
177 | <td> |
---|
178 | <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
179 | <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label> |
---|
180 | <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;" |
---|
181 | size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" /> |
---|
182 | <td> |
---|
183 | </tr> |
---|
184 | |
---|
185 | <tr> |
---|
186 | <td>{L_TEMPLATE}</td> |
---|
187 | <td> |
---|
188 | <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
189 | <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label> |
---|
190 | <select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1"> |
---|
191 | <!-- BEGIN template_option --> |
---|
192 | <option {template_option.SELECTED} value="{template_option.VALUE}">{template_option.CONTENT}</option> |
---|
193 | <!-- END template_option --> |
---|
194 | </select> |
---|
195 | </td> |
---|
196 | </tr> |
---|
197 | |
---|
198 | <tr> |
---|
199 | <td>{L_LANGUAGE}</td> |
---|
200 | <td> |
---|
201 | <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
202 | <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label> |
---|
203 | <select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1"> |
---|
204 | <!-- BEGIN language_option --> |
---|
205 | <option {language_option.SELECTED} value="{language_option.VALUE}">{language_option.CONTENT}</option> |
---|
206 | <!-- END language_option --> |
---|
207 | </select> |
---|
208 | </td> |
---|
209 | </tr> |
---|
210 | |
---|
211 | <tr> |
---|
212 | <td>{L_RECENT_PERIOD}</td> |
---|
213 | <td> |
---|
214 | <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
215 | <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label> |
---|
216 | <input onmousedown="document.getElementById('recent_period_action_set').checked = true;" |
---|
217 | type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /> |
---|
218 | </td> |
---|
219 | </tr> |
---|
220 | |
---|
221 | <tr> |
---|
222 | <td>{L_EXPAND}</td> |
---|
223 | <td> |
---|
224 | <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label> |
---|
225 | / {lang:set to} |
---|
226 | <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label> |
---|
227 | <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label> |
---|
228 | </td> |
---|
229 | </tr> |
---|
230 | |
---|
231 | <tr> |
---|
232 | <td>{L_SHOW_NB_COMMENTS}</td> |
---|
233 | <td> |
---|
234 | <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label> |
---|
235 | / {lang:set to} |
---|
236 | <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label> |
---|
237 | <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label> |
---|
238 | </td> |
---|
239 | </tr> |
---|
240 | |
---|
241 | <tr> |
---|
242 | <td>{L_MAXWIDTH}</td> |
---|
243 | <td> |
---|
244 | <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
245 | <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label> |
---|
246 | <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label> |
---|
247 | <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;" |
---|
248 | type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" /> |
---|
249 | </td> |
---|
250 | </tr> |
---|
251 | |
---|
252 | |
---|
253 | <tr> |
---|
254 | <td>{L_MAXHEIGHT}</td> |
---|
255 | <td> |
---|
256 | <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label> |
---|
257 | <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label> |
---|
258 | <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label> |
---|
259 | <input onmousedown="document.getElementById('maxheight_action_set').checked = true;" |
---|
260 | type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" /> |
---|
261 | </td> |
---|
262 | </tr> |
---|
263 | |
---|
264 | |
---|
265 | </table> |
---|
266 | |
---|
267 | </fieldset> |
---|
268 | |
---|
269 | <p> |
---|
270 | {lang:target} |
---|
271 | <label><input type="radio" name="target" value="all" /> {lang:all} |
---|
272 | <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection} |
---|
273 | </p> |
---|
274 | |
---|
275 | <p> |
---|
276 | <input type="submit" value="{L_SUBMIT}" name="pref_submit" /> |
---|
277 | <input type="reset" value="{L_RESET}" name="pref_reset" /> |
---|
278 | </p> |
---|
279 | |
---|
280 | </form> |
---|