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

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 10.6 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_CAN_UPLOAD -->
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 <tr>
72 <td class="row1" width="35%"><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
73 <td class="row2"><input name="uploadurl" type="text" id="uploadurl" value="" /></td>
74 </tr>
75 <!-- ENDIF -->
76 <tr>
77 <td class="row1" width="35%"><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
78 <td class="row2"><input name="remotelink" type="text" id="remotelink" value="" /></td>
79 </tr>
80 <tr>
81 <td class="row1" width="35%"><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td>
82 <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>
83 </tr>
84 <!-- IF S_DISPLAY_GALLERY -->
85 <tr>
86 <td class="row1" width="35%"><label>{L_AVATAR_GALLERY}:</label></td>
87 <td class="row2"><input class="btnmain" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></td>
88 </tr>
89 <!-- ENDIF -->
90 <!-- ELSE -->
91
92 <tr>
93 <th colspan="2">{L_AVATAR_GALLERY}</th>
94 </tr>
95 <tr>
96 <td class="row1" width="35%"><label for="category">{L_AVATAR_CATEGORY}:</label></td>
97 <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>
98 </tr>
99 <tr>
100 <td class="row1" width="35%">
101 <table cellspacing="1">
102 <!-- BEGIN avatar_row -->
103 <tr>
104 <!-- BEGIN avatar_column -->
105 <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>
106 <!-- END avatar_column -->
107 </tr>
108 <tr>
109 <!-- BEGIN avatar_option_column -->
110 <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>
111 <!-- END avatar_option_column -->
112 </tr>
113 <!-- END avatar_row -->
114 </table>
115 </td>
116 <td class="row2"><input class="btnmain" type="submit" name="cancel" value="{L_CANCEL}" /></td>
117 </tr>
118
119 <!-- ENDIF -->
120
121 <tr>
122 <td class="cat" colspan="2" align="center"><input class="btnlite" type="submit" id="submit" name="update" value="{L_SUBMIT}" />&nbsp;
123 <input class="btnmain" type="reset" id="reset" name="reset" value="{L_RESET}" /></td>
124 </tr>
125 </table>
126
127<!-- ELSEIF S_LIST -->
128
129 <h1>{L_GROUP_MEMBERS}</h1>
130
131 <p>{L_GROUP_MEMBERS_EXPLAIN}</p>
132
133 <table class="tablebg" width="100%" cellspacing="1">
134 <tr>
135 <th>{L_USERNAME}</th>
136 <th>{L_GROUP_DEFAULT}</th>
137 <th>{L_JOINED}</th>
138 <th>{L_POSTS}</th>
139 <th>{L_MARK}</th>
140 </tr>
141
142 <tr>
143 <td class="row3" colspan="5"><b>{L_GROUP_LEAD}</b></td>
144 </tr>
145 <!-- BEGIN leader -->
146 <!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
147 <td>{leader.USERNAME_FULL}</td>
148 <td style="text-align: center;"><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
149 <td style="text-align: center;">{leader.JOINED}</td>
150 <td style="text-align: center;">{leader.USER_POSTS}</td>
151 <td style="text-align: center;"></td>
152 </tr>
153 <!-- END leader -->
154 <tr>
155 <td class="row3" colspan="5"><b>{L_GROUP_APPROVED}</b></td>
156 </tr>
157 <!-- BEGIN member -->
158 <!-- IF member.S_PENDING -->
159 <tr>
160 <td class="row3" colspan="5"><b>{L_GROUP_PENDING}</b></td>
161 </tr>
162 <!-- ELSE -->
163 <!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
164 <td>{member.USERNAME_FULL}</td>
165 <td style="text-align: center;"><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
166 <td style="text-align: center;">{member.JOINED}</td>
167 <td style="text-align: center;">{member.USER_POSTS}</td>
168 <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></td>
169 </tr>
170 <!-- ENDIF -->
171 <!-- BEGINELSE -->
172 <tr>
173 <td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MEMBERS}</td>
174 </tr>
175 <!-- END member -->
176 <tr>
177 <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>
178 </tr>
179 </table>
180
181 <div class="pagination" style="float: {S_CONTENT_FLOW_BEGIN};">
182 <!-- IF PAGINATION -->
183 <!-- INCLUDE pagination.html -->
184 <!-- ELSE -->
185 {S_ON_PAGE}
186 <!-- ENDIF -->
187 </div>
188
189 <br />
190 <br />
191
192 <h1>{L_ADD_USERS}</h1>
193
194 <p>{L_ADD_USERS_EXPLAIN}</p>
195
196 <table class="tablebg" width="100%" cellspacing="1">
197 <tr>
198 <th colspan="2">{L_ADD_USERS}</th>
199 </tr>
200 <tr>
201 <td class="row1"><label for="default">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></td>
202 <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>
203 </tr>
204 <tr>
205 <td class="row1"><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></td>
206 <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>
207 </tr>
208 <tr>
209 <td class="cat" colspan="2" align="center"><input class="btnmain" type="submit" name="addusers" value="{L_SUBMIT}" /></td>
210 </tr>
211 </table>
212
213<!-- ELSE -->
214
215 <table class="tablebg" width="100%" cellspacing="1">
216 <tr>
217 <th colspan="3">{L_USERGROUPS}</th>
218 </tr>
219 <tr>
220 <td class="row1" colspan="3"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td>
221 </tr>
222
223 <tr>
224 <th>{L_GROUP_DETAILS}</th>
225 <th colspan="2">{L_OPTIONS}</th>
226 </tr>
227 <tr>
228 <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_LEADER}</b></td>
229 </tr>
230 <!-- BEGIN leader -->
231 <!-- IF leader.S_ROW_COUNT is odd --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
232
233 <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>
234 <td style="text-align: center;"><a href="{leader.U_EDIT}">{L_EDIT}</a></td>
235 <td style="text-align: center;"><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></td>
236
237 </tr>
238 <!-- BEGINELSE -->
239 <tr>
240 <td class="row2" align="center" colspan="3"><b class="genmed">{L_NO_LEADERS}</b></td>
241 </tr>
242 <!-- END leader -->
243
244 <tr>
245 <td class="cat" align="{S_CONTENT_FLOW_END}" colspan="3">&nbsp;</td>
246 </tr>
247 </table>
248
249<!-- ENDIF -->
250
251<!-- INCLUDE ucp_footer.html -->
Note: See TracBrowser for help on using the repository browser.