source: trunk/forum/styles/subsilver2/template/ucp_groups_manage.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 10.7 KB
Line 
1<!-- INCLUDE ucp_header.html -->
2
3<!-- IF S_EDIT -->
4
5 <!-- IF S_ERROR -->
6 <div class="errorbox">
7 <h3>{L_WARNING}</h3>
8 <p>{ERROR_MSG}</p>
9 </div>
10 <!-- ENDIF -->
11
12 <table class="tablebg" width="100%" cellspacing="1">
13 <tr>
14 <th colspan="2">{L_USERGROUPS}</th>
15 </tr>
16 <tr>
17 <td class="row1" colspan="2"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td>
18 </tr>
19
20 <tr>
21 <th colspan="2">{L_GROUP_DETAILS}</th>
22 </tr>
23 <tr>
24 <td class="row1" width="35%"><label<!-- IF not S_SPECIAL_GROUP --> for="group_name"<!-- ENDIF -->>{L_GROUP_NAME}:</label></td>
25 <td class="row2"><!-- IF S_SPECIAL_GROUP --><b<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</b><!-- ENDIF --><input name="group_name" type="<!-- IF S_SPECIAL_GROUP -->hidden<!-- ELSE -->text<!-- ENDIF -->" id="group_name" value="{GROUP_INTERNAL_NAME}" /></td>
26 </tr>
27 <tr>
28 <td class="row1" width="35%"><label for="group_desc">{L_GROUP_DESC}:</label></td>
29 <td class="row2"><textarea id="group_desc" name="group_desc" rows="5" cols="45">{GROUP_DESC}</textarea>
30 <br /><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE} &nbsp; <input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES} &nbsp; <input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}
31 </td>
32 </tr>
33 <!-- IF not S_SPECIAL_GROUP -->
34 <tr>
35 <td class="row1" width="35%"><label for="group_type">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></td>
36 <td class="row2">
37 <input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN} &nbsp;
38 <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST} &nbsp;
39 <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED} &nbsp;
40 <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}
41 </td>
42 </tr>
43 <!-- ELSE -->
44 <tr style="display:none;"><td><input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" /></td></tr>
45 <!-- ENDIF -->
46
47 <tr>
48 <th colspan="2">{L_GROUP_SETTINGS_SAVE}</th>
49 </tr>
50 <tr>
51 <td class="row1" width="35%"><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></td>
52 <td class="row2"><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" />&nbsp;&nbsp;<span>[ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</span></td>
53 </tr>
54 <tr>
55 <td class="row1" width="35%"><label for="group_rank">{L_GROUP_RANK}:</label></td>
56 <td class="row2"><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></td>
57 </tr>
58 <tr>
59 <th colspan="2">{L_GROUP_AVATAR}</th>
60 </tr>
61 <tr>
62 <td class="row1" width="35%"><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></td>
63 <td class="row2">{AVATAR_IMAGE}<br /><br /><input type="checkbox" class="radio" name="delete" />&nbsp;<span>{L_DELETE_AVATAR}</span></td>
64 </tr>
65 <!-- IF not S_IN_AVATAR_GALLERY -->
66 <!-- IF S_UPLOAD_AVATAR_FILE -->
67 <tr>
68 <td class="row1" width="35%"><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></td>
69 <td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_MAX_FILESIZE}" /><input type="file" id="uploadfile" name="uploadfile" /></td>
70 </tr>
71 <!-- ENDIF -->
72 <!-- IF S_UPLOAD_AVATAR_URL -->
73 <tr>
74 <td class="row1" width="35%"><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
75 <td class="row2"><input name="uploadurl" type="text" id="uploadurl" value="" /></td>
76 </tr>
77 <!-- ENDIF -->
78 <!-- IF S_LINK_AVATAR -->
79 <tr>
80 <td class="row1" width="35%"><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
81 <td class="row2"><input name="remotelink" type="text" id="remotelink" value="" /></td>
82 </tr>
83 <tr>
84 <td class="row1" width="35%"><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td>
85 <td class="row2"><input name="width" type="text" id="width" size="3" value="{AVATAR_WIDTH}" /> <span>px X </span> <input type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span>px</span></td>
86 </tr>
87 <!-- ENDIF -->
88 <!-- IF S_DISPLAY_GALLERY -->
89 <tr>
90 <td class="row1" width="35%"><label>{L_AVATAR_GALLERY}:</label></td>
91 <td class="row2"><input class="btnmain" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></td>
92 </tr>
93 <!-- ENDIF -->
94 <!-- ELSE -->
95
96 <tr>
97 <th colspan="2">{L_AVATAR_GALLERY}</th>
98 </tr>
99 <tr>
100 <td class="row1" width="35%"><label for="category">{L_AVATAR_CATEGORY}:</label></td>
101 <td class="row2"><select name="category" id="category">{S_CAT_OPTIONS}</select>&nbsp;<input class="btnmain" type="submit" value="{L_GO}" name="display_gallery" /></td>
102 </tr>
103 <tr>
104 <td class="row1" width="35%">
105 <table cellspacing="1">
106 <!-- BEGIN avatar_row -->
107 <tr>
108 <!-- BEGIN avatar_column -->
109 <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>
110 <!-- END avatar_column -->
111 </tr>
112 <tr>
113 <!-- BEGIN avatar_option_column -->
114 <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>
115 <!-- END avatar_option_column -->
116 </tr>
117 <!-- END avatar_row -->
118 </table>
119 </td>
120 <td class="row2"><input class="btnmain" type="submit" name="cancel" value="{L_CANCEL}" /></td>
121 </tr>
122
123 <!-- ENDIF -->
124
125 <tr>
126 <td class="cat" colspan="2" align="center"><input class="btnlite" type="submit" id="submit" name="update" value="{L_SUBMIT}" />&nbsp;
127 <input class="btnmain" type="reset" id="reset" name="reset" value="{L_RESET}" /></td>
128 </tr>
129 </table>
130
131<!-- ELSEIF S_LIST -->
132
133 <h1>{L_GROUP_MEMBERS}</h1>
134
135 <p>{L_GROUP_MEMBERS_EXPLAIN}</p>
136
137 <table class="tablebg" width="100%" cellspacing="1">
138 <tr>
139 <th>{L_USERNAME}</th>
140 <th>{L_GROUP_DEFAULT}</th>
141 <th>{L_JOINED}</th>
142 <th>{L_POSTS}</th>
143 <th>{L_MARK}</th>
144 </tr>
145
146 <tr>
147 <td class="row3" colspan="5"><b>{L_GROUP_LEAD}</b></td>
148 </tr>
149 <!-- BEGIN leader -->
150 <!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
151 <td>{leader.USERNAME_FULL}</td>
152 <td style="text-align: center;"><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
153 <td style="text-align: center;">{leader.JOINED}</td>
154 <td style="text-align: center;">{leader.USER_POSTS}</td>
155 <td style="text-align: center;"></td>
156 </tr>
157 <!-- END leader -->
158
159 <!-- BEGIN member -->
160 <!-- IF member.S_PENDING -->
161 <tr>
162 <td class="row3" colspan="5"><b>{L_GROUP_PENDING}</b></td>
163 </tr>
164 <!-- ELSEIF member.S_APPROVED -->
165 <tr>
166 <td class="row3" colspan="5"><b>{L_GROUP_APPROVED}</b></td>
167 </tr>
168 <!-- ELSE -->
169 <!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
170 <td>{member.USERNAME_FULL}</td>
171 <td style="text-align: center;"><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
172 <td style="text-align: center;">{member.JOINED}</td>
173 <td style="text-align: center;">{member.USER_POSTS}</td>
174 <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></td>
175 </tr>
176 <!-- ENDIF -->
177 <!-- BEGINELSE -->
178 <tr>
179 <td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MEMBERS}</td>
180 </tr>
181 <!-- END member -->
182 <tr>
183 <td class="cat" colspan="5" align="center"><div style="float: {S_CONTENT_FLOW_END};"><span class="small"><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></span></div><div style="float: {S_CONTENT_FLOW_BEGIN};"><select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select> <input class="btnmain" type="submit" name="update" value="{L_SUBMIT}" /></div></td>
184 </tr>
185 </table>
186
187 <div class="pagination" style="float: {S_CONTENT_FLOW_BEGIN};">
188 <!-- IF PAGINATION -->
189 <!-- INCLUDE pagination.html -->
190 <!-- ELSE -->
191 {S_ON_PAGE}
192 <!-- ENDIF -->
193 </div>
194
195 <br />
196 <br />
197
198 <h1>{L_ADD_USERS}</h1>
199
200 <p>{L_ADD_USERS_UCP_EXPLAIN}</p>
201
202 <table class="tablebg" width="100%" cellspacing="1">
203 <tr>
204 <th colspan="2">{L_ADD_USERS}</th>
205 </tr>
206 <tr>
207 <td class="row1"><label for="default">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></td>
208 <td class="row2"><input name="default" type="radio" class="radio" value="1" /> {L_YES} &nbsp; <input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</td>
209 </tr>
210 <tr>
211 <td class="row1"><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></td>
212 <td class="row2"><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea><br />[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</td>
213 </tr>
214 <tr>
215 <td class="cat" colspan="2" align="center"><input class="btnmain" type="submit" name="addusers" value="{L_SUBMIT}" /></td>
216 </tr>
217 </table>
218
219<!-- ELSE -->
220
221 <table class="tablebg" width="100%" cellspacing="1">
222 <tr>
223 <th colspan="3">{L_USERGROUPS}</th>
224 </tr>
225 <tr>
226 <td class="row1" colspan="3"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td>
227 </tr>
228
229 <tr>
230 <th>{L_GROUP_DETAILS}</th>
231 <th colspan="2">{L_OPTIONS}</th>
232 </tr>
233 <tr>
234 <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_LEADER}</b></td>
235 </tr>
236 <!-- BEGIN leader -->
237 <!-- IF leader.S_ROW_COUNT is odd --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
238
239 <td><b class="genmed"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</b><!-- IF leader.GROUP_DESC --><p class="forumdesc">{leader.GROUP_DESC}</p><!-- ENDIF --></td>
240 <td style="text-align: center;"><a href="{leader.U_EDIT}">{L_EDIT}</a></td>
241 <td style="text-align: center;"><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></td>
242
243 </tr>
244 <!-- BEGINELSE -->
245 <tr>
246 <td class="row2" align="center" colspan="3"><b class="genmed">{L_NO_LEADERS}</b></td>
247 </tr>
248 <!-- END leader -->
249
250 <tr>
251 <td class="cat" align="{S_CONTENT_FLOW_END}" colspan="3">&nbsp;</td>
252 </tr>
253 </table>
254
255<!-- ENDIF -->
256
257<!-- INCLUDE ucp_footer.html -->
Note: See TracBrowser for help on using the repository browser.