source: trunk/forum/adm/style/acp_groups.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 14.1 KB
Line 
1<!-- INCLUDE overall_header.html -->
2
3<a name="maincontent"></a>
4
5<!-- IF S_EDIT -->
6
7 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
8
9 <h1>{L_ACP_GROUPS_MANAGE}</h1>
10
11 <p>{L_GROUP_EDIT_EXPLAIN}</p>
12
13 <!-- IF S_ERROR -->
14 <div class="errorbox">
15 <h3>{L_WARNING}</h3>
16 <p>{ERROR_MSG}</p>
17 </div>
18 <!-- ENDIF -->
19
20 <form id="settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>
21
22 <fieldset>
23 <legend>{L_GROUP_DETAILS}</legend>
24 <dl>
25 <dt><label<!-- IF not S_SPECIAL_GROUP --> for="group_name"<!-- ENDIF -->>{L_GROUP_NAME}:</label></dt>
26 <dd><!-- IF S_SPECIAL_GROUP --><strong>{GROUP_NAME}</strong><!-- ENDIF --><input name="group_name" type="<!-- IF S_SPECIAL_GROUP -->hidden<!-- ELSE -->text<!-- ENDIF -->" id="group_name" value="{GROUP_INTERNAL_NAME}" /></dd>
27 </dl>
28 <dl>
29 <dt><label for="group_desc">{L_GROUP_DESC}:</label></dt>
30 <dd><textarea id="group_desc" name="group_desc" rows="5" cols="45">{GROUP_DESC}</textarea></dd>
31 <dd><label><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label>
32 <label><input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label>
33 <label><input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd>
34 </dl>
35 <!-- IF not S_SPECIAL_GROUP -->
36 <dl>
37 <dt><label for="group_type">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt>
38 <dd>
39 <label><input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label>
40 <label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label>
41 <label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label>
42 <label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label>
43 </dd>
44 </dl>
45 <!-- ELSE -->
46 <input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
47 <!-- ENDIF -->
48
49 <!-- IF S_ADD_GROUP and S_GROUP_PERM -->
50 <dl>
51 <dt><label for="group_perm_from">{L_COPY_PERMISSIONS}:</label><br /><span>{L_COPY_PERMISSIONS_EXPLAIN}</span></dt>
52 <dd><select id="group_perm_from" name="group_perm_from"><option value="0">{L_NO_PERMISSIONS}</option>{S_GROUP_OPTIONS}</select></dd>
53 </dl>
54 <!-- ENDIF -->
55 </fieldset>
56
57 <fieldset>
58 <legend>{L_GROUP_OPTIONS_SAVE}</legend>
59 <!-- IF S_USER_FOUNDER -->
60 <dl>
61 <dt><label for="group_founder_manage">{L_GROUP_FOUNDER_MANAGE}:</label><br /><span>{L_GROUP_FOUNDER_MANAGE_EXPLAIN}</span></dt>
62 <dd><input name="group_founder_manage" type="checkbox" value="1" class="radio" id="group_founder_manage"{GROUP_FOUNDER_MANAGE} /></dd>
63 </dl>
64 <!-- ENDIF -->
65 <dl>
66 <dt><label for="group_skip_auth">{L_GROUP_SKIP_AUTH}:</label><br /><span>{L_GROUP_SKIP_AUTH_EXPLAIN}</span></dt>
67 <dd><input name="group_skip_auth" type="checkbox" value="1" class="radio" id="group_skip_auth"{GROUP_SKIP_AUTH} /></dd>
68 </dl>
69 <dl>
70 <dt><label for="group_legend">{L_GROUP_LEGEND}:</label></dt>
71 <dd><input name="group_legend" type="checkbox" value="1" class="radio" id="group_legend"{GROUP_LEGEND} /></dd>
72 </dl>
73 <dl>
74 <dt><label for="group_receive_pm">{L_GROUP_RECEIVE_PM}:</label><br /><span>{L_GROUP_RECEIVE_PM_EXPLAIN}</span></dt>
75 <dd><input name="group_receive_pm" type="checkbox" value="1" class="radio" id="group_receive_pm"{GROUP_RECEIVE_PM} /></dd>
76 </dl>
77 </fieldset>
78
79 <fieldset>
80 <legend>{L_GROUP_SETTINGS_SAVE}</legend>
81 <dl>
82 <dt><label for="group_message_limit">{L_GROUP_MESSAGE_LIMIT}:</label><br /><span>{L_GROUP_MESSAGE_LIMIT_EXPLAIN}</span></dt>
83 <dd><input name="group_message_limit" type="text" id="group_message_limit" maxlength="4" size="4" value="{GROUP_MESSAGE_LIMIT}" /></dd>
84 </dl>
85 <dl>
86 <dt><label for="group_max_recipients">{L_GROUP_MAX_RECIPIENTS}:</label><br /><span>{L_GROUP_MAX_RECIPIENTS_EXPLAIN}</span></dt>
87 <dd><input name="group_max_recipients" type="text" id="group_max_recipients" maxlength="10" size="4" value="{GROUP_MAX_RECIPIENTS}" /></dd>
88 </dl>
89 <dl>
90 <dt><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
91 <dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" /><!-- IF GROUP_COLOUR -->&nbsp;<span style="background-color: #{GROUP_COLOUR}">&nbsp; &nbsp;</span><!-- ENDIF -->&nbsp;&nbsp;<span>[ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
92 </dl>
93 <dl>
94 <dt><label for="group_rank">{L_GROUP_RANK}:</label></dt>
95 <dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd>
96 </dl>
97 </fieldset>
98
99 <fieldset>
100 <legend>{L_GROUP_AVATAR}</legend>
101 <dl>
102 <dt><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt>
103 <dd>{AVATAR_IMAGE}</dd>
104 <dd><label><input type="checkbox" class="radio" name="delete" /> {L_DELETE_AVATAR}</label></dd>
105 </dl>
106 <!-- IF not S_IN_AVATAR_GALLERY -->
107 <!-- IF S_CAN_UPLOAD -->
108 <dl>
109 <dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt>
110 <dd><input type="file" id="uploadfile" name="uploadfile" /></dd>
111 </dl>
112 <dl>
113 <dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></dt>
114 <dd><input name="uploadurl" type="text" id="uploadurl" value="" /></dd>
115 </dl>
116 <!-- ENDIF -->
117 <dl>
118 <dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></dt>
119 <dd><input name="remotelink" type="text" id="remotelink" value="" /></dd>
120 </dl>
121 <dl>
122 <dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
123 <dd><input name="width" type="text" id="width" size="3" value="{AVATAR_WIDTH}" /> <span>{L_PIXEL} &times; </span> <input type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span>{L_PIXEL}</span></dd>
124 </dl>
125 <!-- IF S_DISPLAY_GALLERY -->
126 <dl>
127 <dt><label>{L_AVATAR_GALLERY}:</label></dt>
128 <dd><input class="button2" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></dd>
129 </dl>
130 <!-- ENDIF -->
131 <!-- ELSE -->
132 </fieldset>
133
134 <fieldset>
135 <legend>{L_AVATAR_GALLERY}</legend>
136 <dl>
137 <dt><label for="category">{L_AVATAR_CATEGORY}:</label></dt>
138 <dd><select name="category" id="category">{S_CAT_OPTIONS}</select>&nbsp;<input class="button2" type="submit" value="{L_GO}" name="display_gallery" /></dd>
139 </dl>
140 <dl>
141 <table cellspacing="1">
142 <!-- BEGIN avatar_row -->
143 <tr>
144 <!-- BEGIN avatar_column -->
145 <td class="row1" style="text-align: center;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td>
146 <!-- END avatar_column -->
147 </tr>
148 <tr>
149 <!-- BEGIN avatar_option_column -->
150 <td class="row2" style="text-align: center;"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td>
151 <!-- END avatar_option_column -->
152 </tr>
153 <!-- END avatar_row -->
154 </table>
155 </dl>
156 </fieldset>
157
158 <fieldset class="quick" style="margin-top: -15px;">
159 <input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
160 </fieldset>
161
162 <!-- ENDIF -->
163 </fieldset>
164
165 <fieldset class="submit-buttons">
166 <legend>{L_SUBMIT}</legend>
167 <input class="button1" type="submit" id="submit" name="update" value="{L_SUBMIT}" />&nbsp;
168 <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
169 {S_FORM_TOKEN}
170 </fieldset>
171 </form>
172
173<!-- ELSEIF S_LIST -->
174
175 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
176
177 <h1>{L_GROUP_MEMBERS} :: {GROUP_NAME}</h1>
178
179 <p>{L_GROUP_MEMBERS_EXPLAIN}</p>
180
181 <form id="list" method="post" action="{U_ACTION}">
182
183 <fieldset class="quick">
184 <a href="{U_DEFAULT_ALL}">&raquo; {L_MAKE_DEFAULT_FOR_ALL}</a>
185 </fieldset>
186
187 <table cellspacing="1">
188 <thead>
189 <tr>
190 <th>{L_USERNAME}</th>
191 <th>{L_GROUP_DEFAULT}</th>
192 <th>{L_JOINED}</th>
193 <th>{L_POSTS}</th>
194 <th>{L_MARK}</th>
195 </tr>
196 </thead>
197 <tbody>
198 <tr>
199 <td class="row3" colspan="5"><strong>{L_GROUP_LEAD}</strong></td>
200 </tr>
201 <!-- BEGIN leader -->
202 <!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
203 <td><!-- IF leader.USERNAME_COLOUR --><a href="{leader.U_USER_EDIT}" style="color: #{leader.USERNAME_COLOUR};" class="username-coloured">{leader.USERNAME}</a><!-- ELSE --><a href="{leader.U_USER_EDIT}">{leader.USERNAME}</a><!-- ENDIF --></td>
204 <td style="text-align: center;"><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
205 <td style="text-align: center;">{leader.JOINED}</td>
206 <td style="text-align: center;">{leader.USER_POSTS}</td>
207 <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{leader.USER_ID}" /></td>
208 </tr>
209 <!-- BEGINELSE -->
210 <tr>
211 <td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MODS}</td>
212 </tr>
213 <!-- END leader -->
214 <tr>
215 <td class="row3" colspan="5"><strong>{L_GROUP_APPROVED}</strong></td>
216 </tr>
217 <!-- BEGIN member -->
218 <!-- IF member.S_PENDING -->
219 <tr>
220 <td class="row3" colspan="5"><strong>{L_GROUP_PENDING}</strong></td>
221 </tr>
222 <!-- ELSE -->
223 <!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
224 <td><!-- IF member.USERNAME_COLOUR --><a href="{member.U_USER_EDIT}" style="color: #{member.USERNAME_COLOUR};" class="username-coloured">{member.USERNAME}</a><!-- ELSE --><a href="{member.U_USER_EDIT}">{member.USERNAME}</a><!-- ENDIF --></td>
225 <td style="text-align: center;"><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
226 <td style="text-align: center;">{member.JOINED}</td>
227 <td style="text-align: center;">{member.USER_POSTS}</td>
228 <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></td>
229 </tr>
230 <!-- ENDIF -->
231 <!-- BEGINELSE -->
232 <tr>
233 <td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MEMBERS}</td>
234 </tr>
235 <!-- END member -->
236 </tbody>
237 </table>
238 <!-- IF PAGINATION -->
239 <div class="pagination">
240 <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
241 </div>
242 <!-- ENDIF -->
243
244 <fieldset class="quick">
245 <select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
246 <input class="button2" type="submit" name="update" value="{L_SUBMIT}" />
247 <p class="small"><a href="#" onclick="marklist('list', 'mark', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('list', 'mark', false); return false;">{L_UNMARK_ALL}</a></p>
248 </fieldset>
249
250 <h1>{L_ADD_USERS}</h1>
251
252 <p>{L_ADD_USERS_EXPLAIN}</p>
253
254 <fieldset>
255 <legend>{L_ADD_USERS}</legend>
256 <dl>
257 <dt><label for="leader">{L_USER_GROUP_LEADER}:</label></dt>
258 <dd><label><input name="leader" type="radio" class="radio" value="1" /> {L_YES}</label>
259 <label><input name="leader" type="radio" class="radio" id="leader" value="0" checked="checked" /> {L_NO}</label></dd>
260 </dl>
261 <dl>
262 <dt><label for="default">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></dt>
263 <dd><label><input name="default" type="radio" class="radio" value="1" /> {L_YES}</label>
264 <label><input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</label></dd>
265 </dl>
266 <dl>
267 <dt><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
268 <dd><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea></dd>
269 <dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
270 </dl>
271
272 <p class="quick">
273 <input class="button2" type="submit" name="addusers" value="{L_SUBMIT}" />
274 </p>
275 {S_FORM_TOKEN}
276 </fieldset>
277 </form>
278
279<!-- ELSE -->
280
281 <h1>{L_ACP_GROUPS_MANAGE}</h1>
282
283 <p>{L_ACP_GROUPS_MANAGE_EXPLAIN}</p>
284
285 <!-- IF S_ERROR -->
286 <div class="errorbox">
287 <h3>{L_WARNING}</h3>
288 <p>{ERROR_MSG}</p>
289 </div>
290 <!-- ENDIF -->
291
292 <h1>{L_USER_DEF_GROUPS}</h1>
293
294 <p>{L_USER_DEF_GROUPS_EXPLAIN}</p>
295
296 <form id="acp_groups" method="post" action="{U_ACTION}">
297
298 <table cellspacing="1">
299 <col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
300 <thead>
301 <tr>
302 <th style="width: 50%">{L_GROUP}</th>
303 <th>{L_TOTAL_MEMBERS}</th>
304 <th colspan="2">{L_OPTIONS}</th>
305 <th>{L_ACTION}</th>
306 </tr>
307 </thead>
308 <tbody>
309 <!-- BEGIN groups -->
310 <!-- IF groups.S_SPECIAL -->
311 <!-- IF groups.S_FIRST_ROW -->
312 <tr>
313 <td colspan="5" class="row3">{L_NO_GROUPS_CREATED}</td>
314 </tr>
315 <!-- ENDIF -->
316 </tbody>
317 </table>
318
319 <fieldset class="quick">
320 <!-- IF S_GROUP_ADD -->
321 {L_CREATE_GROUP}: <input type="text" name="group_name" value="" /> <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
322 <input type="hidden" name="add" value="1" />
323 <!-- ENDIF -->
324 {S_FORM_TOKEN}
325 </fieldset>
326 </form>
327
328 <h1>{L_SPECIAL_GROUPS}</h1>
329
330 <p>{L_SPECIAL_GROUPS_EXPLAIN}</p>
331
332 <table cellspacing="1">
333 <col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
334 <thead>
335 <tr>
336 <th style="width: 50%">{L_GROUP}</th>
337 <th>{L_TOTAL_MEMBERS}</th>
338 <th colspan="2">{L_OPTIONS}</th>
339 <th>{L_ACTION}</th>
340 </tr>
341 </thead>
342 <tbody>
343 <!-- ELSE -->
344 <tr>
345 <td><strong>{groups.GROUP_NAME}</strong></td>
346 <td style="text-align: center;">{groups.TOTAL_MEMBERS}</td>
347 <td style="text-align: center;"><a href="{groups.U_EDIT}">{L_SETTINGS}</a></td>
348 <td style="text-align: center;"><a href="{groups.U_LIST}">{L_MEMBERS}</a></td>
349 <td style="text-align: center;"><!-- IF not groups.S_GROUP_SPECIAL and groups.U_DELETE --><a href="{groups.U_DELETE}">{L_DELETE}</a><!-- ELSE -->{L_DELETE}<!-- ENDIF --></td>
350 </tr>
351 <!-- ENDIF -->
352 <!-- END groups -->
353 </tbody>
354 </table>
355
356<!-- ENDIF -->
357
358<!-- INCLUDE overall_footer.html -->
Note: See TracBrowser for help on using the repository browser.