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