~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/php/phpBB3/adm/style/acp_permissions.html

  • Committer: dcoles
  • Date: 2008-02-13 04:10:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:443
Added Forum application along with unmodifed version of phpBB3 "Olympus" 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- INCLUDE overall_header.html -->
 
2
 
 
3
<a name="maincontent"></a>
 
4
 
 
5
<!-- IF S_INTRO -->
 
6
        
 
7
        <h1>{L_ACP_PERMISSIONS}</h1>
 
8
 
 
9
        {L_ACP_PERMISSIONS_EXPLAIN}
 
10
 
 
11
<!-- ENDIF -->
 
12
 
 
13
<!-- IF S_SELECT_VICTIM -->
 
14
 
 
15
        <h1>{L_TITLE}</h1>
 
16
 
 
17
        <p>{L_EXPLAIN}</p>
 
18
        
 
19
        <!-- IF S_FORUM_NAMES -->
 
20
                <p><strong>{L_FORUMS}:</strong> {FORUM_NAMES}</p>
 
21
        <!-- ENDIF -->
 
22
 
 
23
        <!-- IF S_SELECT_FORUM -->
 
24
 
 
25
                <form id="select_victim" method="post" action="{U_ACTION}">
 
26
 
 
27
                <fieldset>
 
28
                        <legend>{L_LOOK_UP_FORUM}</legend>
 
29
                        <!-- IF S_FORUM_MULTIPLE --><p>{L_LOOK_UP_FORUMS_EXPLAIN}</p><!-- ENDIF -->
 
30
                <dl>
 
31
                        <dt><label for="forum">{L_LOOK_UP_FORUM}:</label></dt>
 
32
                        <dd><select id="forum" name="forum_id[]"<!-- IF S_FORUM_MULTIPLE --> multiple="multiple"<!-- ENDIF --> size="10">{S_FORUM_OPTIONS}</select></dd>
 
33
                        <!-- IF S_FORUM_ALL --><dd><label><input type="checkbox" class="radio" name="all_forums" value="1" /> {L_ALL_FORUMS}</label></dd><!-- ENDIF -->
 
34
                </dl>
 
35
 
 
36
                <p class="quick">
 
37
                        {S_HIDDEN_FIELDS}
 
38
                        {S_FORM_TOKEN}
 
39
                        <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
 
40
                </p>
 
41
 
 
42
                </fieldset>
 
43
                </form>
 
44
 
 
45
                <!-- IF S_FORUM_MULTIPLE -->
 
46
 
 
47
                        <form id="select_subforum" method="post" action="{U_ACTION}">
 
48
 
 
49
                        <fieldset>
 
50
                                <legend>{L_LOOK_UP_FORUM}</legend>
 
51
                                <p>{L_SELECT_FORUM_SUBFORUM_EXPLAIN}</p>
 
52
                        <dl>
 
53
                                <dt><label for="sforum">{L_LOOK_UP_FORUM}:</label></dt>
 
54
                                <dd><select id="sforum" name="subforum_id">{S_SUBFORUM_OPTIONS}</select></dd>
 
55
                        </dl>
 
56
 
 
57
                        <p class="quick">
 
58
                                {S_HIDDEN_FIELDS}
 
59
                                {S_FORM_TOKEN}
 
60
                                <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
 
61
                        </p>
 
62
 
 
63
                        </fieldset>
 
64
                        </form>
 
65
                        
 
66
                <!-- ENDIF -->
 
67
 
 
68
        <!-- ELSEIF S_SELECT_USER and S_CAN_SELECT_USER -->
 
69
 
 
70
                <form id="select_victim" method="post" action="{U_ACTION}">
 
71
 
 
72
                <fieldset>
 
73
                        <legend>{L_LOOK_UP_USER}</legend>
 
74
                <dl>
 
75
                        <dt><label for="username">{L_FIND_USERNAME}:</label></dt>
 
76
                        <dd><input class="text medium" type="text" id="username" name="username[]" /></dd>
 
77
                        <dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
 
78
                        <dd class="full" style="text-align: left;"><label><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label></dd>
 
79
                </dl>
 
80
 
 
81
                <p class="quick">
 
82
                        {S_HIDDEN_FIELDS}
 
83
                        {S_FORM_TOKEN}
 
84
                        <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
 
85
                </p>
 
86
                </fieldset>
 
87
                </form>
 
88
 
 
89
        <!-- ELSEIF S_SELECT_GROUP and S_CAN_SELECT_GROUP -->
 
90
 
 
91
                <form id="select_victim" method="post" action="{U_ACTION}">
 
92
 
 
93
                <fieldset>
 
94
                        <legend>{L_LOOK_UP_GROUP}</legend>
 
95
                <dl>
 
96
                        <dt><label for="group">{L_LOOK_UP_GROUP}:</label></dt>
 
97
                        <dd><select name="group_id[]" id="group">{S_GROUP_OPTIONS}</select></dd>
 
98
                </dl>
 
99
 
 
100
                <p class="quick">
 
101
                        {S_HIDDEN_FIELDS}
 
102
                        {S_FORM_TOKEN}
 
103
                        <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
 
104
                </p>
 
105
 
 
106
                </fieldset>
 
107
                </form>
 
108
 
 
109
                <!-- ELSEIF S_SELECT_USERGROUP -->
 
110
 
 
111
                <div style="float: {S_CONTENT_FLOW_BEGIN}; width: 48%;">
 
112
 
 
113
                <!-- IF S_CAN_SELECT_USER -->
 
114
 
 
115
                        <h1>{L_USERS}</h1>
 
116
 
 
117
                        <form id="users" method="post" action="{U_ACTION}">
 
118
 
 
119
                        <fieldset>
 
120
                                <legend>{L_MANAGE_USERS}</legend>
 
121
                        <dl>
 
122
                                <dd class="full"><select style="width: 100%;" name="user_id[]" multiple="multiple" size="5">{S_DEFINED_USER_OPTIONS}</select></dd>
 
123
                                <!-- IF S_ALLOW_ALL_SELECT --><dd class="full" style="text-align: right;"><label><input type="checkbox" class="radio" name="all_users" value="1" /> {L_ALL_USERS}</label></dd><!-- ENDIF -->
 
124
                        </dl>
 
125
                        </fieldset>
 
126
                        
 
127
                        <fieldset class="quick">
 
128
                                {S_HIDDEN_FIELDS}
 
129
                                {S_FORM_TOKEN}
 
130
                                <input type="submit" class="button2" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> &nbsp; <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
 
131
                        </fieldset>
 
132
                        </form>
 
133
 
 
134
                        <form id="add_user" method="post" action="{U_ACTION}">
 
135
 
 
136
                        <fieldset>
 
137
                                <legend>{L_ADD_USERS}</legend>
 
138
                                <p>{L_USERNAMES_EXPLAIN}</p>
 
139
                        <dl>
 
140
                                <dd class="full"><textarea id="username" name="usernames" rows="5" cols="5" style="width: 100%; height: 60px;"></textarea></dd>
 
141
                                <dd class="full" style="text-align: left;"><div style="float: {S_CONTENT_FLOW_END};">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</div><label><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label></dd>
 
142
                        </dl>
 
143
                        </fieldset>
 
144
 
 
145
                        <fieldset class="quick">
 
146
                                {S_HIDDEN_FIELDS}
 
147
                                {S_FORM_TOKEN}
 
148
                                <input class="button1" type="submit" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
 
149
                        </fieldset>
 
150
                        </form>
 
151
 
 
152
                <!-- ENDIF -->
 
153
 
 
154
                </div>
 
155
 
 
156
                <div style="float: {S_CONTENT_FLOW_END}; width: 48%">
 
157
                        
 
158
                <!-- IF S_CAN_SELECT_GROUP -->
 
159
 
 
160
                        <h1>{L_USERGROUPS}</h1>
 
161
 
 
162
                        <form id="groups" method="post" action="{U_ACTION}">
 
163
 
 
164
                        <fieldset>
 
165
                                <legend>{L_MANAGE_GROUPS}</legend>
 
166
                        <dl>
 
167
                                <dd class="full"><select style="width: 100%;" name="group_id[]" multiple="multiple" size="5">{S_DEFINED_GROUP_OPTIONS}</select></dd>
 
168
                                <!-- IF S_ALLOW_ALL_SELECT --><dd class="full" style="text-align: right;"><label><input type="checkbox" class="radio" name="all_groups" value="1" /> {L_ALL_GROUPS}</label></dd><!-- ENDIF -->
 
169
                        </dl>
 
170
                        </fieldset>
 
171
                        
 
172
                        <fieldset class="quick">
 
173
                                {S_HIDDEN_FIELDS}
 
174
                                {S_FORM_TOKEN}
 
175
                                <input class="button2" type="submit" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> &nbsp; <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
 
176
                        </fieldset>
 
177
                        </form>
 
178
 
 
179
                        <form id="add_groups" method="post" action="{U_ACTION}">
 
180
                        
 
181
                        <fieldset>
 
182
                                <legend>{L_ADD_GROUPS}</legend>
 
183
                        <dl>
 
184
                                <dd class="full"><select name="group_id[]" style="width: 100%; height: 107px;" multiple="multiple">{S_ADD_GROUP_OPTIONS}</select></dd>
 
185
                        </dl>
 
186
                        </fieldset>
 
187
 
 
188
                        <fieldset class="quick">
 
189
                                {S_HIDDEN_FIELDS}
 
190
                                {S_FORM_TOKEN}
 
191
                                <input type="submit" class="button1" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
 
192
                        </fieldset>
 
193
                        </form>
 
194
 
 
195
                <!-- ENDIF -->
 
196
 
 
197
                </div>
 
198
 
 
199
        <!-- ELSEIF S_SELECT_USERGROUP_VIEW -->
 
200
 
 
201
                <div style="float: {S_CONTENT_FLOW_BEGIN}; width: 48%;">
 
202
                
 
203
                        <h1>{L_USERS}</h1>
 
204
 
 
205
                        <form id="users" method="post" action="{U_ACTION}">
 
206
 
 
207
                        <fieldset>
 
208
                                <legend>{L_MANAGE_USERS}</legend>
 
209
                        <dl>
 
210
                                <dd class="full"><select style="width: 100%;" name="user_id[]" multiple="multiple" size="5">{S_DEFINED_USER_OPTIONS}</select></dd>
 
211
                        </dl>
 
212
                        </fieldset>
 
213
                        
 
214
                        <fieldset class="quick">
 
215
                                {S_HIDDEN_FIELDS}
 
216
                                {S_FORM_TOKEN}
 
217
                                <input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
 
218
                        </fieldset>
 
219
                        </form>
 
220
 
 
221
                        <form id="add_user" method="post" action="{U_ACTION}">
 
222
 
 
223
                        <fieldset>
 
224
                                <legend>{L_LOOK_UP_USER}</legend>
 
225
                        <dl>
 
226
                                <dt><label for="username">{L_FIND_USERNAME}:</label></dt>
 
227
                                <dd><input type="text" id="username" name="username[]" /></dd>
 
228
                                <dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
 
229
                                <dd class="full" style="text-align: left;"><label><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label></dd>
 
230
                        </dl>
 
231
                        </fieldset>
 
232
 
 
233
                        <fieldset class="quick">
 
234
                                {S_HIDDEN_FIELDS}
 
235
                                {S_FORM_TOKEN}
 
236
                                <input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
 
237
                        </fieldset>
 
238
                        </form>
 
239
 
 
240
                </div>
 
241
 
 
242
                <div style="float: {S_CONTENT_FLOW_END}; width: 48%">
 
243
                        
 
244
                        <h1>{L_USERGROUPS}</h1>
 
245
 
 
246
                        <form id="groups" method="post" action="{U_ACTION}">
 
247
 
 
248
                        <fieldset>
 
249
                                <legend>{L_MANAGE_GROUPS}</legend>
 
250
                        <dl>
 
251
                                <dd class="full"><select style="width: 100%;" name="group_id[]" multiple="multiple" size="5">{S_DEFINED_GROUP_OPTIONS}</select></dd>
 
252
                        </dl>
 
253
                        </fieldset>
 
254
                        
 
255
                        <fieldset class="quick">
 
256
                                {S_HIDDEN_FIELDS}
 
257
                                {S_FORM_TOKEN}
 
258
                                <input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
 
259
                        </fieldset>
 
260
                        </form>
 
261
 
 
262
                        <form id="group" method="post" action="{U_ACTION}">
 
263
 
 
264
                        <fieldset>
 
265
                                <legend>{L_LOOK_UP_GROUP}</legend>
 
266
                        <dl>
 
267
                                <dt><label for="group_select">{L_LOOK_UP_GROUP}:</label></dt>
 
268
                                <dd><select name="group_id[]" id="group_select">{S_ADD_GROUP_OPTIONS}</select></dd>
 
269
                                <dd>&nbsp;</dd>
 
270
                        </dl>
 
271
                        </fieldset>
 
272
 
 
273
                        <fieldset class="quick">
 
274
                                {S_HIDDEN_FIELDS}
 
275
                                {S_FORM_TOKEN}
 
276
                                <input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
 
277
                        </fieldset>
 
278
                        </form>
 
279
 
 
280
                </div>
 
281
 
 
282
        <!-- ENDIF -->
 
283
 
 
284
<!-- ENDIF -->
 
285
 
 
286
<!-- IF S_VIEWING_PERMISSIONS -->
 
287
 
 
288
        <h1>{L_ACL_VIEW}</h1>
 
289
 
 
290
        <p>{L_ACL_VIEW_EXPLAIN}</p>
 
291
 
 
292
        <fieldset class="quick">
 
293
                <strong>&raquo; {L_PERMISSION_TYPE}</strong>
 
294
        </fieldset>
 
295
 
 
296
        <!-- INCLUDE permission_mask.html -->
 
297
 
 
298
<!-- ENDIF -->
 
299
 
 
300
<!-- IF S_SETTING_PERMISSIONS -->
 
301
 
 
302
        <h1>{L_ACL_SET}</h1>
 
303
 
 
304
        <p>{L_ACL_SET_EXPLAIN}</p>
 
305
 
 
306
        <br />
 
307
 
 
308
        <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
 
309
                <strong>&raquo; {L_PERMISSION_TYPE}</strong>
 
310
        </fieldset>
 
311
 
 
312
        <!-- IF S_PERMISSION_DROPDOWN -->
 
313
                <form id="pselect" method="post" action="{U_ACTION}">
 
314
        
 
315
                <fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
 
316
                        {S_HIDDEN_FIELDS}
 
317
                        {S_FORM_TOKEN}
 
318
                        {L_SELECT_TYPE}: <select name="type">{S_PERMISSION_DROPDOWN}</select> 
 
319
 
 
320
                        <input class="button2" type="submit" name="submit" value="{L_GO}" />
 
321
                </fieldset>
 
322
                </form>
 
323
        <!-- ENDIF -->
 
324
 
 
325
        <br /><br />
 
326
 
 
327
        <!-- include tooltip file -->
 
328
        <script type="text/javascript" src="style/tooltip.js"></script>
 
329
        <script type="text/javascript">
 
330
        // <![CDATA[
 
331
                window.onload = function(){enable_tooltips_select('set-permissions', '{LA_ROLE_DESCRIPTION}', 'role')};
 
332
        // ]]>
 
333
        </script>
 
334
 
 
335
        <form id="set-permissions" method="post" action="{U_ACTION}">
 
336
 
 
337
        {S_HIDDEN_FIELDS}
 
338
 
 
339
        <!-- INCLUDE permission_mask.html -->
 
340
 
 
341
        <br /><br />
 
342
 
 
343
        <fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
 
344
                <input class="button1" type="submit" name="action[apply_all_permissions]" value="{L_APPLY_ALL_PERMISSIONS}" />
 
345
                <input class="button2" type="button" name="cancel" value="{L_RESET}" onclick="document.forms['set-permissions'].reset(); init_colours(active_pmask + active_fmask);" />
 
346
                {S_FORM_TOKEN}
 
347
        </fieldset>
 
348
 
 
349
        <br /><br />
 
350
        
 
351
        </form>
 
352
 
 
353
<!-- ENDIF -->
 
354
 
 
355
<!-- INCLUDE overall_footer.html -->
 
 
b'\\ No newline at end of file'