1
<!-- INCLUDE overall_header.html -->
3
<a name="maincontent"></a>
7
<h1>{L_ACP_PERMISSIONS}</h1>
9
{L_ACP_PERMISSIONS_EXPLAIN}
13
<!-- IF S_SELECT_VICTIM -->
19
<!-- IF S_FORUM_NAMES -->
20
<p><strong>{L_FORUMS}:</strong> {FORUM_NAMES}</p>
23
<!-- IF S_SELECT_FORUM -->
25
<form id="select_victim" method="post" action="{U_ACTION}">
28
<legend>{L_LOOK_UP_FORUM}</legend>
29
<!-- IF S_FORUM_MULTIPLE --><p>{L_LOOK_UP_FORUMS_EXPLAIN}</p><!-- ENDIF -->
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 -->
39
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
45
<!-- IF S_FORUM_MULTIPLE -->
47
<form id="select_subforum" method="post" action="{U_ACTION}">
50
<legend>{L_LOOK_UP_FORUM}</legend>
51
<p>{L_SELECT_FORUM_SUBFORUM_EXPLAIN}</p>
53
<dt><label for="sforum">{L_LOOK_UP_FORUM}:</label></dt>
54
<dd><select id="sforum" name="subforum_id">{S_SUBFORUM_OPTIONS}</select></dd>
60
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
68
<!-- ELSEIF S_SELECT_USER and S_CAN_SELECT_USER -->
70
<form id="select_victim" method="post" action="{U_ACTION}">
73
<legend>{L_LOOK_UP_USER}</legend>
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>
84
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
89
<!-- ELSEIF S_SELECT_GROUP and S_CAN_SELECT_GROUP -->
91
<form id="select_victim" method="post" action="{U_ACTION}">
94
<legend>{L_LOOK_UP_GROUP}</legend>
96
<dt><label for="group">{L_LOOK_UP_GROUP}:</label></dt>
97
<dd><select name="group_id[]" id="group">{S_GROUP_OPTIONS}</select></dd>
103
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
109
<!-- ELSEIF S_SELECT_USERGROUP -->
111
<div style="float: {S_CONTENT_FLOW_BEGIN}; width: 48%;">
113
<!-- IF S_CAN_SELECT_USER -->
117
<form id="users" method="post" action="{U_ACTION}">
120
<legend>{L_MANAGE_USERS}</legend>
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 -->
127
<fieldset class="quick">
130
<input type="submit" class="button2" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
134
<form id="add_user" method="post" action="{U_ACTION}">
137
<legend>{L_ADD_USERS}</legend>
138
<p>{L_USERNAMES_EXPLAIN}</p>
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>
145
<fieldset class="quick">
148
<input class="button1" type="submit" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
156
<div style="float: {S_CONTENT_FLOW_END}; width: 48%">
158
<!-- IF S_CAN_SELECT_GROUP -->
160
<h1>{L_USERGROUPS}</h1>
162
<form id="groups" method="post" action="{U_ACTION}">
165
<legend>{L_MANAGE_GROUPS}</legend>
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 -->
172
<fieldset class="quick">
175
<input class="button2" type="submit" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
179
<form id="add_groups" method="post" action="{U_ACTION}">
182
<legend>{L_ADD_GROUPS}</legend>
184
<dd class="full"><select name="group_id[]" style="width: 100%; height: 107px;" multiple="multiple">{S_ADD_GROUP_OPTIONS}</select></dd>
188
<fieldset class="quick">
191
<input type="submit" class="button1" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
199
<!-- ELSEIF S_SELECT_USERGROUP_VIEW -->
201
<div style="float: {S_CONTENT_FLOW_BEGIN}; width: 48%;">
205
<form id="users" method="post" action="{U_ACTION}">
208
<legend>{L_MANAGE_USERS}</legend>
210
<dd class="full"><select style="width: 100%;" name="user_id[]" multiple="multiple" size="5">{S_DEFINED_USER_OPTIONS}</select></dd>
214
<fieldset class="quick">
217
<input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
221
<form id="add_user" method="post" action="{U_ACTION}">
224
<legend>{L_LOOK_UP_USER}</legend>
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>
233
<fieldset class="quick">
236
<input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
242
<div style="float: {S_CONTENT_FLOW_END}; width: 48%">
244
<h1>{L_USERGROUPS}</h1>
246
<form id="groups" method="post" action="{U_ACTION}">
249
<legend>{L_MANAGE_GROUPS}</legend>
251
<dd class="full"><select style="width: 100%;" name="group_id[]" multiple="multiple" size="5">{S_DEFINED_GROUP_OPTIONS}</select></dd>
255
<fieldset class="quick">
258
<input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
262
<form id="group" method="post" action="{U_ACTION}">
265
<legend>{L_LOOK_UP_GROUP}</legend>
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>
273
<fieldset class="quick">
276
<input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
286
<!-- IF S_VIEWING_PERMISSIONS -->
288
<h1>{L_ACL_VIEW}</h1>
290
<p>{L_ACL_VIEW_EXPLAIN}</p>
292
<fieldset class="quick">
293
<strong>» {L_PERMISSION_TYPE}</strong>
296
<!-- INCLUDE permission_mask.html -->
300
<!-- IF S_SETTING_PERMISSIONS -->
304
<p>{L_ACL_SET_EXPLAIN}</p>
308
<fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
309
<strong>» {L_PERMISSION_TYPE}</strong>
312
<!-- IF S_PERMISSION_DROPDOWN -->
313
<form id="pselect" method="post" action="{U_ACTION}">
315
<fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
318
{L_SELECT_TYPE}: <select name="type">{S_PERMISSION_DROPDOWN}</select>
320
<input class="button2" type="submit" name="submit" value="{L_GO}" />
327
<!-- include tooltip file -->
328
<script type="text/javascript" src="style/tooltip.js"></script>
329
<script type="text/javascript">
331
window.onload = function(){enable_tooltips_select('set-permissions', '{LA_ROLE_DESCRIPTION}', 'role')};
335
<form id="set-permissions" method="post" action="{U_ACTION}">
339
<!-- INCLUDE permission_mask.html -->
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);" />
355
<!-- INCLUDE overall_footer.html -->
b'\\ No newline at end of file'