source: branches/posledni/forum/styles/prosilver/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: 8.9 KB
Line 
1<!-- INCLUDE ucp_header.html -->
2
3<h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{L_USERGROUPS}<!-- IF GROUP_NAME --> :: {GROUP_NAME}<!-- ENDIF --></h2>
4
5<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
6
7<div class="panel">
8 <div class="inner"><span class="corners-top"><span></span></span>
9
10 <p>{L_GROUPS_EXPLAIN}</p>
11
12 <!-- IF S_EDIT -->
13 <h3>{L_GROUP_DETAILS}</h3>
14
15 <!-- IF S_ERROR -->
16 <div class="errorbox">
17 <h3>{L_WARNING}</h3>
18 <p>{ERROR_MSG}</p>
19 </div>
20 <!-- ENDIF -->
21
22 <fieldset>
23 <dl>
24 <dt><label for="group_name">{L_GROUP_NAME}:</label></dt>
25 <dd><!-- IF S_SPECIAL_GROUP --><strong<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</strong> <input name="group_name" type="hidden" value="{GROUP_INTERNAL_NAME}" />
26 <!-- ELSE --><input name="group_name" type="text" id="group_name" value="{GROUP_INTERNAL_NAME}" class="inputbox" /><!-- ENDIF --></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" class="inputbox">{GROUP_DESC}</textarea></dd>
31 <dd><label for="desc_parse_bbcode"><input type="checkbox" class="radio" name="desc_parse_bbcode" id="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label>&nbsp;<label for="desc_parse_smilies"><input type="checkbox" class="radio" name="desc_parse_smilies" id="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label>&nbsp;<label for="desc_parse_urls"><input type="checkbox" class="radio" name="desc_parse_urls" id="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd>
32 </dl>
33 <!-- IF not S_SPECIAL_GROUP -->
34 <dl>
35 <dt><label for="group_type1">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt>
36 <dd>
37 <label for="group_type1"><input type="radio" class="radio" name="group_type" id="group_type1" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label>
38 <label for="group_type2"><input type="radio" class="radio" name="group_type" id="group_type2" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label>
39 <label for="group_type3"><input type="radio" class="radio" name="group_type" id="group_type3" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label>
40 <label for="group_type4"><input type="radio" class="radio" name="group_type" id="group_type4" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label>
41 </dd>
42 </dl>
43 <!-- ELSE -->
44 <input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
45 <!-- ENDIF -->
46 </fieldset>
47
48 <span class="corners-bottom"><span></span></span></div>
49</div>
50
51<div class="panel">
52 <div class="inner"><span class="corners-top"><span></span></span>
53 <h3>{L_GROUP_SETTINGS_SAVE}</h3>
54
55 <fieldset>
56 <dl>
57 <dt><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
58 <dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="7" maxlength="7" class="inputbox narrow" /> <span style="background-color: {GROUP_COLOUR};">&nbsp;&nbsp;&nbsp;</span> [ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</dd>
59 </dl>
60 <dl>
61 <dt><label for="group_rank">{L_GROUP_RANK}:</label></dt>
62 <dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd>
63 </dl>
64 </fieldset>
65
66 <span class="corners-bottom"><span></span></span></div>
67</div>
68
69<!-- INCLUDE ucp_avatar_options.html -->
70
71<fieldset class="submit-buttons">
72 {S_HIDDEN_FIELDS}
73 <!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" />&nbsp; <!-- ENDIF -->
74 <!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" />&nbsp; <!-- ELSE -->
75 <input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp; <!-- ENDIF -->
76 <input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
77 {S_FORM_TOKEN}
78</fieldset>
79
80<!-- ELSEIF S_LIST -->
81
82 <!-- IF .leader -->
83 <table class="table1" cellspacing="1">
84 <thead>
85 <tr>
86 <th class="name">{L_GROUP_LEAD}</th>
87 <th class="info">{L_GROUP_DEFAULT}</th>
88 <th class="posts">{L_POSTS}</th>
89 <th class="joined">{L_JOINED}</th>
90 <th class="mark">{L_MARK}</th>
91 </tr>
92 </thead>
93 <tbody>
94 <!-- BEGIN leader -->
95 <tr class="<!-- IF leader.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
96 <td class="name">{leader.USERNAME_FULL}</td>
97 <td><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
98 <td class="posts">{leader.USER_POSTS}</td>
99 <td class="joined">{leader.JOINED}</td>
100 <td class="mark">&nbsp;</td>
101 </tr>
102 <!-- END leader -->
103 </tbody>
104 </table>
105 <!-- ENDIF -->
106
107 <!-- BEGIN member -->
108 <!-- IF member.S_PENDING -->
109 <table class="table1" cellspacing="1">
110 <thead>
111 <tr>
112 <th class="name">{L_GROUP_PENDING}</th>
113 <th class="info">{L_GROUP_DEFAULT}</th>
114 <th class="posts">{L_POSTS}</th>
115 <th class="joined">{L_JOINED}</th>
116 <th class="mark">{L_MARK}</th>
117 </tr>
118 </thead>
119 <tbody>
120 <!-- ELSEIF member.S_APPROVED -->
121 <!-- IF member.S_PENDING_SET -->
122 </tbody>
123 </table>
124 <!-- ENDIF -->
125 <table class="table1" cellspacing="1">
126 <thead>
127 <tr>
128 <th class="name">{L_GROUP_APPROVED}</th>
129 <th class="info">{L_GROUP_DEFAULT}</th>
130 <th class="posts">{L_POSTS}</th>
131 <th class="joined">{L_JOINED}</th>
132 <th class="mark">{L_MARK}</th>
133 </tr>
134 </thead>
135 <tbody>
136 <!-- ELSE -->
137 <tr class="<!-- IF member.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
138 <td class="name">{member.USERNAME_FULL}</td>
139 <td><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
140 <td class="posts">{member.USER_POSTS}</td>
141 <td class="joined">{member.JOINED}</td>
142 <td class="mark"><input type="checkbox" name="mark[]" value="{member.USER_ID}" /></td>
143 </tr>
144 <!-- ENDIF -->
145 <!-- BEGINELSE -->
146 <tr>
147 <td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td>
148 </tr>
149 <!-- END member -->
150 </tbody>
151 </table>
152
153 <ul class="linklist">
154 <li class="leftside pagination">
155 <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{S_ON_PAGE}<!-- ENDIF -->
156 </li>
157 </ul>
158
159 <span class="corners-bottom"><span></span></span></div>
160</div>
161
162<fieldset class="display-actions">
163 <select name="action"><option value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
164 <input class="button2" type="submit" name="update" value="{L_SUBMIT}" />
165 <div><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></div>
166</fieldset>
167
168<div class="panel">
169 <div class="inner"><span class="corners-top"><span></span></span>
170
171 <h3>{L_ADD_USERS}</h3>
172
173 <p>{L_ADD_USERS_UCP_EXPLAIN}</p>
174
175 <fieldset>
176 <dl>
177 <dt><label for="default0">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></dt>
178 <dd>
179 <label for="default1"><input type="radio" name="default" id="default1" value="1" /> {L_YES}</label>
180 <label for="default0"><input type="radio" name="default" id="default0" value="0" checked="checked" /> {L_NO}</label>
181 </dd>
182 </dl>
183 <dl>
184 <dt><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
185 <dd><textarea name="usernames" id="usernames" rows="3" cols="30" class="inputbox"></textarea></dd>
186 <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd>
187 </dl>
188 </fieldset>
189
190 <span class="corners-bottom"><span></span></span></div>
191</div>
192
193<fieldset class="submit-buttons">
194 <input class="button1" type="submit" name="addusers" value="{L_SUBMIT}" />
195 {S_FORM_TOKEN}
196</fieldset>
197
198<!-- ELSE -->
199
200 <!-- IF .leader -->
201 <ul class="topiclist">
202 <li class="header">
203 <dl>
204 <dt>{L_GROUP_LEADER}</dt>
205 <dd class="info"><span>{L_OPTIONS}</span></dd>
206 </dl>
207 </li>
208 </ul>
209 <ul class="topiclist cplist">
210
211 <!-- BEGIN leader -->
212 <li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
213 <dl>
214 <dt><a href="{leader.U_EDIT}" class="topictitle"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a>
215 <!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF --></dt>
216 <dd class="option"><span><a href="{leader.U_EDIT}" >{L_EDIT}</a></span></dd>
217 <dd class="option"><span><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></span></dd>
218 </dl>
219 </li>
220 <!-- END leader -->
221 </ul>
222 <!-- ELSE -->
223 <p><strong>{L_NO_LEADERS}</strong></p>
224 <!-- ENDIF -->
225
226 <span class="corners-bottom"><span></span></span></div>
227</div>
228
229<!-- ENDIF -->
230</form>
231
232<!-- INCLUDE ucp_footer.html -->
Note: See TracBrowser for help on using the repository browser.