443
by dcoles
Added Forum application along with unmodifed version of phpBB3 "Olympus" 3.0.0 |
1 |
<!-- INCLUDE overall_header.html -->
|
2 |
||
3 |
<a name="maincontent"></a> |
|
4 |
||
5 |
<!-- IF S_EDIT -->
|
|
6 |
||
7 |
<script type="text/javascript"> |
|
8 |
// <![CDATA[
|
|
9 |
var active_pmask = '0'; |
|
10 |
var active_fmask = '0'; |
|
11 |
var active_cat = '0'; |
|
12 |
||
13 |
var id = '000'; |
|
14 |
||
15 |
var role_options = new Array(); |
|
16 |
||
17 |
<!-- IF S_ROLE_JS_ARRAY --> |
|
18 |
{S_ROLE_JS_ARRAY} |
|
19 |
<!-- ENDIF --> |
|
20 |
// ]]>
|
|
21 |
</script> |
|
22 |
||
23 |
<script type="text/javascript" src="style/permissions.js"></script> |
|
24 |
||
25 |
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
|
26 |
||
27 |
<h1>{L_TITLE}</h1> |
|
28 |
||
29 |
<p>{L_EXPLAIN}</p> |
|
30 |
||
31 |
<form id="acp_roles" method="post" action="{U_ACTION}"> |
|
32 |
||
33 |
<br /> |
|
34 |
<a href="#acl">» {L_SET_ROLE_PERMISSIONS}</a> |
|
35 |
||
36 |
<fieldset> |
|
37 |
<legend>{L_ROLE_DETAILS}</legend> |
|
38 |
<dl> |
|
39 |
<dt><label for="role_name">{L_ROLE_NAME}:</label></dt> |
|
40 |
<dd><input name="role_name" type="text" id="role_name" value="{ROLE_NAME}" maxlength="255" /></dd> |
|
41 |
</dl> |
|
42 |
<dl> |
|
43 |
<dt><label for="role_description">{L_ROLE_DESCRIPTION}:</label><br /><span>{L_ROLE_DESCRIPTION_EXPLAIN}</span></dt> |
|
44 |
<dd><textarea id="role_description" name="role_description" rows="3" cols="45">{ROLE_DESCRIPTION}</textarea></dd> |
|
45 |
</dl> |
|
46 |
||
47 |
<p class="quick"> |
|
48 |
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" /> |
|
49 |
</p> |
|
50 |
</fieldset> |
|
51 |
||
52 |
<!-- IF S_DISPLAY_ROLE_MASK -->
|
|
53 |
||
54 |
<h1>{L_ROLE_ASSIGNED_TO}</h1> |
|
55 |
||
56 |
<!-- INCLUDE permission_roles_mask.html -->
|
|
57 |
||
58 |
<!-- ENDIF -->
|
|
59 |
||
60 |
<a name="acl"></a> |
|
61 |
||
62 |
<a href="#maincontent">» {L_BACK_TO_TOP}</a><br /> |
|
63 |
<br /><br /> |
|
64 |
||
65 |
<h1>{L_ACL_TYPE}</h1> |
|
66 |
||
67 |
<fieldset class="perm nolegend"> |
|
68 |
||
69 |
<div id="advanced00"> |
|
70 |
<div class="permissions-category"> |
|
71 |
<ul> |
|
72 |
<!-- BEGIN auth -->
|
|
73 |
<!-- IF auth.S_YES -->
|
|
74 |
<li class="permissions-preset-yes<!-- IF auth.S_FIRST_ROW --> activetab<!-- ENDIF -->" id="tab00{auth.S_ROW_COUNT}"> |
|
75 |
<!-- ELSEIF auth.S_NEVER -->
|
|
76 |
<li class="permissions-preset-never<!-- IF auth.S_FIRST_ROW --> activetab<!-- ENDIF -->" id="tab00{auth.S_ROW_COUNT}"> |
|
77 |
<!-- ELSEIF auth.S_NO -->
|
|
78 |
<li class="permissions-preset-no<!-- IF auth.S_FIRST_ROW --> activetab<!-- ENDIF -->" id="tab00{auth.S_ROW_COUNT}"> |
|
79 |
<!-- ELSE -->
|
|
80 |
<li class="permissions-preset-custom<!-- IF auth.S_FIRST_ROW --> activetab<!-- ENDIF -->" id="tab00{auth.S_ROW_COUNT}"> |
|
81 |
<!-- ENDIF -->
|
|
82 |
<a href="#" onclick="swap_options('0','0','{auth.S_ROW_COUNT}'); return false;"><span class="tabbg"><span class="colour"></span>{auth.CAT_NAME}</span></a></li> |
|
83 |
<!-- END auth -->
|
|
84 |
</ul> |
|
85 |
</div> |
|
86 |
<!-- BEGIN auth -->
|
|
87 |
<div class="permissions-panel" id="options00{auth.S_ROW_COUNT}"<!-- IF auth.S_FIRST_ROW --><!-- ELSE --> style="display: none;"<!-- ENDIF -->> |
|
88 |
<span class="corners-top"><span></span></span> |
|
89 |
<div class="tablewrap"> |
|
90 |
<table id="table00{auth.S_ROW_COUNT}" cellspacing="1"> |
|
91 |
<colgroup> |
|
92 |
<col class="permissions-name" /> |
|
93 |
<col class="permissions-yes" /> |
|
94 |
<col class="permissions-no" /> |
|
95 |
<col class="permissions-never" /> |
|
96 |
</colgroup> |
|
97 |
<thead> |
|
98 |
<tr> |
|
99 |
<th class="name" scope="col"><strong>{L_ACL_SETTING}</strong></th> |
|
100 |
<th class="value permissions-yes" scope="col"><a href="#" onclick="mark_options('options00{auth.S_ROW_COUNT}', 'y'); set_colours('00{auth.S_ROW_COUNT}', false, 'yes'); return false;">{L_ACL_YES}</a></th> |
|
101 |
<th class="value permissions-no" scope="col"><a href="#" onclick="mark_options('options00{auth.S_ROW_COUNT}', 'u'); set_colours('00{auth.S_ROW_COUNT}', false, 'no'); return false;">{L_ACL_NO}</a></th> |
|
102 |
<th class="value permissions-never" scope="col"><a href="#" onclick="mark_options('options00{auth.S_ROW_COUNT}', 'n'); set_colours('00{auth.S_ROW_COUNT}', false, 'never'); return false;">{L_ACL_NEVER}</a></th> |
|
103 |
</tr> |
|
104 |
</thead> |
|
105 |
<tbody> |
|
106 |
<!-- BEGIN mask -->
|
|
107 |
<!-- IF auth.mask.S_ROW_COUNT is even --><tr class="row4"><!-- ELSE --><tr class="row3"><!-- ENDIF --> |
|
108 |
<th class="permissions-name<!-- IF auth.mask.S_ROW_COUNT is even --> row4<!-- ELSE --> row3<!-- ENDIF -->">{auth.mask.PERMISSION}</th> |
|
109 |
||
110 |
<td class="permissions-yes"><label for="{auth.mask.FIELD_NAME}_y"><input onchange="set_colours('00{auth.S_ROW_COUNT}', false)" id="setting[{auth.mask.FIELD_NAME}]_y" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_YES --> checked="checked"<!-- ENDIF --> value="1" /></label></td> |
|
111 |
<td class="permissions-no"><label for="{auth.mask.FIELD_NAME}_u"><input onchange="set_colours('00{auth.S_ROW_COUNT}', false)" id="setting[{auth.mask.FIELD_NAME}]_u" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_NO --> checked="checked"<!-- ENDIF --> value="-1" /></label></td> |
|
112 |
<td class="permissions-never"><label for="{auth.mask.FIELD_NAME}_n"><input onchange="set_colours('00{auth.S_ROW_COUNT}', false)" id="setting[{auth.mask.FIELD_NAME}]_n" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_NEVER --> checked="checked"<!-- ENDIF --> value="0" /></label></td> |
|
113 |
</tr> |
|
114 |
<!-- END mask -->
|
|
115 |
</tbody> |
|
116 |
</table> |
|
117 |
</div> |
|
118 |
<span class="corners-bottom"><span></span></span> |
|
119 |
</div> |
|
120 |
<!-- END auth -->
|
|
121 |
</div> |
|
122 |
||
123 |
</fieldset> |
|
124 |
||
125 |
<fieldset class="quick"> |
|
126 |
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" /> |
|
127 |
{S_FORM_TOKEN} |
|
128 |
</fieldset> |
|
129 |
</form> |
|
130 |
||
131 |
<a href="#maincontent">» {L_BACK_TO_TOP}</a><br /> |
|
132 |
<br /> |
|
133 |
||
134 |
<!-- ELSE -->
|
|
135 |
||
136 |
<h1>{L_TITLE}</h1> |
|
137 |
||
138 |
<p>{L_EXPLAIN}</p> |
|
139 |
||
140 |
<form id="acp_roles" method="post" action="{U_ACTION}"> |
|
141 |
||
142 |
<table cellspacing="1"> |
|
143 |
<col class="col2" /><col class="col2" /><col class="col1" /><col class="col2" /><col class="col2" /> |
|
144 |
<thead> |
|
145 |
<tr> |
|
146 |
<th>{L_ROLE_NAME}</th> |
|
147 |
<th colspan="2">{L_OPTIONS}</th> |
|
148 |
</tr> |
|
149 |
</thead> |
|
150 |
<tbody> |
|
151 |
<!-- BEGIN roles -->
|
|
152 |
<tr> |
|
153 |
<td style="vertical-align: top;"><strong>{roles.ROLE_NAME}</strong> |
|
154 |
<!-- IF roles.ROLE_DESCRIPTION --><br /><span>{roles.ROLE_DESCRIPTION}</span><!-- ENDIF --> |
|
155 |
</td> |
|
156 |
<td style="width: 30%; text-align: center; vertical-align: top; white-space: nowrap;"><!-- IF roles.U_DISPLAY_ITEMS --><a href="{roles.U_DISPLAY_ITEMS}">{L_VIEW_ASSIGNED_ITEMS}</a><!-- ELSE -->{L_VIEW_ASSIGNED_ITEMS}<!-- ENDIF --></td> |
|
157 |
<td style="width: 80px; text-align: right; vertical-align: top; white-space: nowrap;"> |
|
158 |
<!-- IF roles.S_FIRST_ROW && not roles.S_LAST_ROW -->
|
|
159 |
{ICON_MOVE_UP_DISABLED} |
|
160 |
<a href="{roles.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> |
|
161 |
<!-- ELSEIF not roles.S_FIRST_ROW && not roles.S_LAST_ROW-->
|
|
162 |
<a href="{roles.U_MOVE_UP}">{ICON_MOVE_UP}</a> |
|
163 |
<a href="{roles.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> |
|
164 |
<!-- ELSEIF roles.S_LAST_ROW && not roles.S_FIRST_ROW -->
|
|
165 |
<a href="{roles.U_MOVE_UP}">{ICON_MOVE_UP}</a> |
|
166 |
{ICON_MOVE_DOWN_DISABLED} |
|
167 |
<!-- ELSE -->
|
|
168 |
{ICON_MOVE_UP_DISABLED} |
|
169 |
{ICON_MOVE_DOWN_DISABLED} |
|
170 |
<!-- ENDIF -->
|
|
171 |
<a href="{roles.U_EDIT}" title="{L_EDIT_ROLE}">{ICON_EDIT}</a> |
|
172 |
<a href="{roles.U_REMOVE}" title="{L_REMOVE_ROLE}">{ICON_DELETE}</a> |
|
173 |
</td> |
|
174 |
</tr> |
|
175 |
<!-- END roles -->
|
|
176 |
</tbody> |
|
177 |
</table> |
|
178 |
||
179 |
<fieldset class="quick"> |
|
180 |
{L_CREATE_ROLE}: <input type="text" name="role_name" value="" maxlength="255" /><!-- IF S_ROLE_OPTIONS --> <select name="options_from"><option value="0" selected="selected">{L_CREATE_ROLE_FROM}</option>{S_ROLE_OPTIONS}</select><!-- ENDIF --> <input class="button2" type="submit" name="add" value="{L_SUBMIT}" /><br /> |
|
181 |
{S_FORM_TOKEN} |
|
182 |
</fieldset> |
|
183 |
</form> |
|
184 |
||
185 |
<!-- IF S_DISPLAY_ROLE_MASK -->
|
|
186 |
||
187 |
<a name="assigned_to"></a> |
|
188 |
||
189 |
<h1>{L_ROLE_ASSIGNED_TO}</h1> |
|
190 |
||
191 |
<!-- INCLUDE permission_roles_mask.html -->
|
|
192 |
||
193 |
<!-- ENDIF -->
|
|
194 |
||
195 |
<!-- ENDIF -->
|
|
196 |
||
197 |
<!-- INCLUDE overall_footer.html -->
|