source: trunk/forum/styles/prosilver/template/ucp_groups_membership.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 5.7 KB
Line 
1<!-- INCLUDE ucp_header.html -->
2
3<h2>{L_USERGROUPS}</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 <!-- DEFINE $SHOW_BUTTONS = 0 -->
12 <!-- IF .leader -->
13 <ul class="topiclist">
14 <li class="header">
15 <dl>
16 <dt>{L_GROUP_LEADER}</dt>
17 <dd class="mark">{L_SELECT}</dd>
18 </dl>
19 </li>
20 </ul>
21 <ul class="topiclist cplist">
22
23 <!-- BEGIN leader -->
24 <!-- IF not leader.GROUP_SPECIAL -->
25 <!-- DEFINE $SHOW_BUTTONS = 1 -->
26 <!-- ENDIF -->
27 <li class="row<!-- IF leader.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
28 <dl>
29 <dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /> <!-- ENDIF -->
30 <a href="{leader.U_VIEW_GROUP}" class="forumtitle"<!-- IF leader.GROUP_COLOUR --> style="color:#{leader.GROUP_COLOUR}"<!-- ENDIF -->>{leader.GROUP_NAME}</a>
31 <!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF -->
32 <!-- IF not leader.GROUP_SPECIAL --><br /><i>{leader.GROUP_STATUS}</i><!-- ENDIF -->
33 </dt>
34 <dd class="mark"><input type="radio" name="selected" value="{leader.GROUP_ID}" <!-- IF leader.GROUP_SPECIAL -->disabled="disabled"<!-- ENDIF --> /></dd>
35 </dl>
36 </li>
37 <!-- END leader -->
38 </ul>
39 <!-- ENDIF -->
40
41 <!-- IF .member -->
42 <ul class="topiclist">
43 <li class="header">
44 <dl>
45 <dt>{L_GROUP_MEMBER}</dt>
46 <dd class="mark">{L_SELECT}</dd>
47 </dl>
48 </li>
49 </ul>
50 <ul class="topiclist cplist">
51
52 <!-- BEGIN member -->
53 <!-- IF not member.GROUP_SPECIAL -->
54 <!-- DEFINE $SHOW_BUTTONS = 1 -->
55 <!-- ENDIF -->
56 <li class="row<!-- IF member.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
57 <dl>
58 <dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /> <!-- ENDIF -->
59 <a href="{member.U_VIEW_GROUP}" class="forumtitle"<!-- IF member.GROUP_COLOUR --> style="color:#{member.GROUP_COLOUR}"<!-- ENDIF -->>{member.GROUP_NAME}</a>
60 <!-- IF member.GROUP_DESC --><br />{member.GROUP_DESC}<!-- ENDIF -->
61 <!-- IF not member.GROUP_SPECIAL --><br /><i>{member.GROUP_STATUS}</i><!-- ENDIF -->
62 </dt>
63 <dd class="mark"><input type="radio" name="selected" value="{member.GROUP_ID}" <!-- IF member.GROUP_SPECIAL -->disabled="disabled"<!-- ENDIF --> /></dd>
64 </dl>
65 </li>
66 <!-- END member -->
67 </ul>
68 <!-- ENDIF -->
69 <span class="corners-bottom"><span></span></span></div>
70</div>
71
72<!-- IF .pending -->
73<div class="panel">
74 <div class="inner"><span class="corners-top"><span></span></span>
75 <ul class="topiclist">
76 <li class="header">
77 <dl>
78 <dt>{L_GROUP_PENDING}</dt>
79 <dd class="mark">{L_SELECT}</dd>
80 </dl>
81 </li>
82 </ul>
83 <ul class="topiclist cplist">
84
85 <!-- BEGIN pending -->
86 <!-- IF not pending.GROUP_SPECIAL -->
87 <!-- DEFINE $SHOW_BUTTONS = 1 -->
88 <!-- ENDIF -->
89 <li class="row<!-- IF pending.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
90 <dl>
91 <dt>
92 <a href="{pending.U_VIEW_GROUP}" class="forumtitle"<!-- IF pending.GROUP_COLOUR --> style="color:#{pending.GROUP_COLOUR}"<!-- ENDIF -->>{pending.GROUP_NAME}</a>
93 <!-- IF pending.GROUP_DESC --><br />{pending.GROUP_DESC}<!-- ENDIF -->
94 <!-- IF not pending.GROUP_SPECIAL --><br /><i>{pending.GROUP_STATUS}</i><!-- ENDIF -->
95 </dt>
96 <dd class="mark"><input type="radio" name="selected" value="{pending.GROUP_ID}" <!-- IF pending.GROUP_SPECIAL -->disabled="diabled"<!-- ENDIF --> /></dd>
97 </dl>
98 </li>
99 <!-- END pending -->
100 </ul>
101 <span class="corners-bottom"><span></span></span></div>
102</div>
103<!-- ENDIF -->
104<!-- IF .nonmember -->
105<div class="panel">
106 <div class="inner"><span class="corners-top"><span></span></span>
107 <ul class="topiclist">
108 <li class="header">
109 <dl>
110 <dt>{L_GROUP_NONMEMBER}</dt>
111 <dd class="mark">{L_SELECT}</dd>
112 </dl>
113 </li>
114 </ul>
115 <ul class="topiclist cplist">
116
117 <!-- BEGIN nonmember -->
118 <!-- IF nonmember.S_CAN_JOIN -->
119 <!-- DEFINE $SHOW_BUTTONS = 1 -->
120 <!-- ENDIF -->
121 <li class="row<!-- IF nonmember.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
122 <dl>
123 <dt>
124 <a href="{nonmember.U_VIEW_GROUP}" class="forumtitle"<!-- IF nonmember.GROUP_COLOUR --> style="color:#{nonmember.GROUP_COLOUR}"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a>
125 <!-- IF nonmember.GROUP_DESC --><br />{nonmember.GROUP_DESC}<!-- ENDIF -->
126 <!-- IF not nonmember.GROUP_SPECIAL --><br /><i>{nonmember.GROUP_STATUS}</i><!-- ENDIF -->
127 </dt>
128 <dd class="mark"><input type="radio" name="selected" value="{nonmember.GROUP_ID}" <!-- IF not nonmember.S_CAN_JOIN -->disabled="disabled"<!-- ENDIF --> /></dd>
129 </dl>
130 </li>
131 <!-- END nonmember -->
132 </ul>
133 <span class="corners-bottom"><span></span></span></div>
134 </div>
135<!-- ENDIF -->
136
137
138 <!-- IF S_CHANGE_DEFAULT or $SHOW_BUTTONS eq 1 -->
139 <fieldset>
140 <!-- IF S_CHANGE_DEFAULT -->
141 <div class="left-box">
142 <input class="button2" type="submit" name="change_default" value="{L_CHANGE_DEFAULT_GROUP}" />
143 {S_FORM_TOKEN}
144 </div>
145 <!-- ENDIF -->
146
147 <!-- IF $SHOW_BUTTONS eq 1 -->
148 <div class="right-box">
149 <label for="action">{L_SELECT}:</label>
150 <select name="action" id="action">
151 <option value="join">{L_JOIN_SELECTED}</option>
152 <option value="resign">{L_RESIGN_SELECTED}</option>
153 <option value="demote">{L_DEMOTE_SELECTED}</option>
154 </select>&nbsp;
155 <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
156 {S_FORM_TOKEN}
157 </div>
158 <!-- ENDIF -->
159 </fieldset>
160 <!-- ENDIF -->
161
162</form>
163
164<!-- INCLUDE ucp_footer.html -->
Note: See TracBrowser for help on using the repository browser.