1
|
<!--
|
2
|
@version $Id: groups_form.htt 75 2017-03-10 10:47:06Z manu $
|
3
|
-->
|
4
|
<!-- BEGIN main_block -->
|
5
|
<h2 style="{DISPLAY_EXTRA}">{HEADING_MODIFY_GROUP}</h2>
|
6
|
<div class="block-outer" style="padding: 0.825em;">
|
7
|
<div class="access-wrapper" style="width: 100%; margin: auto 2.225em;" >
|
8
|
<form name="group" action="{ACTION_URL}" method="post" class="{DISPLAY_ADD}">
|
9
|
<input type="hidden" name="advanced" value="{ADVANCED_VALUE}" />
|
10
|
<input type="hidden" name="group_id" value="{GROUP_ID}" />
|
11
|
{FTAN}
|
12
|
<div>{DEBUG_MSG}</div>
|
13
|
<table style="margin-bottom:10px; width: 43.5%; border-collapse: collapse; white-space-collapsing: collapse; ">
|
14
|
<tr>
|
15
|
<td style="9.225em; text-align: right; padding-right: 0.825em;"><h3>{TEXT_NAME}:</h3></td>
|
16
|
<td>
|
17
|
<input type="text" name="group_name" maxlength="255" value="{GROUP_NAME}" style="width:98%" />
|
18
|
</td>
|
19
|
</tr>
|
20
|
</table>
|
21
|
<!-- BEGIN groups_basic_block -->
|
22
|
<input type="hidden" name="advanced_extended" value="0" />
|
23
|
<table class="groups_basic" style="{DISPLAY_BASIC} width: 100%; ">
|
24
|
<caption style="text-align: left;"><h3>{TEXT_SYSTEM_PERMISSIONS}
|
25
|
<button class="" type="submit" name="reset_system" value="1">{TEXT_RESET}</button></h3>
|
26
|
</caption>
|
27
|
<thead>
|
28
|
<tr>
|
29
|
<th style="width: 5.525em;"></th>
|
30
|
<th style="width: 8.225em;"></th>
|
31
|
<th style="width: 8.225em;"></th>
|
32
|
<th style="width: 8.225em;"></th>
|
33
|
<th style="width: 8.225em;"></th>
|
34
|
</tr>
|
35
|
</thead>
|
36
|
<tbody>
|
37
|
<tr>
|
38
|
<td colspan=""> </td>
|
39
|
<td>
|
40
|
<input type="checkbox" name="pages_view" id="pages_view" value="1" {pages_checked} />
|
41
|
<label for="pages_view">{SECTION_PAGES}</label>
|
42
|
</td>
|
43
|
<td>
|
44
|
<input type="checkbox" name="media_view" id="media_view" value="1" {media_checked} />
|
45
|
<label for="media_view">{SECTION_MEDIA}</label>
|
46
|
</td>
|
47
|
<td>
|
48
|
<input type="checkbox" name="modules_view" id="modules_view" value="1" {modules_checked} />
|
49
|
<label for="modules_view">{SECTION_MODULES}</label>
|
50
|
</td>
|
51
|
<td>
|
52
|
<input type="checkbox" name="templates_view" id="templates_view" value="1" {templates_checked} />
|
53
|
<label for="templates_view">{SECTION_TEMPLATES}</label>
|
54
|
</td>
|
55
|
</tr>
|
56
|
<tr>
|
57
|
<td colspan=""> </td>
|
58
|
<td>
|
59
|
<input type="checkbox" name="languages_view" id="languages_view" value="1" {languages_checked} />
|
60
|
<label for="languages_view">{SECTION_LANGUAGES}</label>
|
61
|
</td>
|
62
|
<td>
|
63
|
<input type="checkbox" name="settings_basic" id="settings_basic" value="1" {settings_checked} />
|
64
|
<label for="settings_basic">{SECTION_SETTINGS}</label>
|
65
|
</td>
|
66
|
<td>
|
67
|
<input type="checkbox" name="users_view" id="users_view" value="1" {users_checked} />
|
68
|
<label for="users_view">{SECTION_USERS}</label>
|
69
|
</td>
|
70
|
<td>
|
71
|
<input type="checkbox" name="groups_view" id="groups_view" value="1" {groups_checked} />
|
72
|
<label for="groups_view">{SECTION_GROUPS}</label>
|
73
|
</td>
|
74
|
</tr>
|
75
|
<tr>
|
76
|
<td colspan=""> </td>
|
77
|
<td colspan="4">
|
78
|
<input type="checkbox" name="admintools" id="admintools" value="1" {admintools_checked} />
|
79
|
<label for="admintools">{SECTION_ADMINTOOLS}</label>
|
80
|
</td>
|
81
|
</tr>
|
82
|
</tbody>
|
83
|
</table>
|
84
|
<!-- END groups_basic_block -->
|
85
|
<!-- BEGIN groups_extended_block -->
|
86
|
<input type="hidden" name="advanced_extended" value="1" />
|
87
|
<?php if(@DEBUG){ ?>
|
88
|
<table style="padding-top: 15px; padding-bottom: 5px;width: 100%; border-collapse: collapse;">
|
89
|
<tbody>
|
90
|
<tr style="width:100%; line-height: ;: 1.225em auto;">
|
91
|
<td colspan="5"> </td>
|
92
|
</tr>
|
93
|
<tr style="text-align:center;width:100%; margin: 1.225em auto;">
|
94
|
<td colspan="" style="text-align:right;">
|
95
|
<input type="submit" name="save" value="{SUBMIT_TITLE}" />
|
96
|
</td>
|
97
|
<td style="text-align:left;">
|
98
|
<input type="reset" name="reset" value="{TEXT_RESET}" />
|
99
|
</td>
|
100
|
<td>
|
101
|
<input type="submit" name="cancel" value="{TEXT_CANCEL}" />
|
102
|
</td>
|
103
|
</tr>
|
104
|
</tbody>
|
105
|
</table>
|
106
|
<?php } ?>
|
107
|
<table class="groups_adv" style="width: 100%; border-collapse: collapse;">
|
108
|
<caption style="text-align: left;"><h3>{TEXT_SYSTEM_PERMISSIONS}
|
109
|
<button class="href" type="submit" name="reset_system" value="1">({TEXT_RESET})</button></h3>
|
110
|
</caption>
|
111
|
<thead>
|
112
|
<tr>
|
113
|
<th style="width: 9.225em;"></th>
|
114
|
<th style="width: 8.225em;"></th>
|
115
|
<th style="width: 0.225em;"></th>
|
116
|
<th style="width: 8.225em;"></th>
|
117
|
<th style="width: 0.225em;"></th>
|
118
|
<th style="width: 8.225em;"></th>
|
119
|
<th style="width: 0.225em;"></th>
|
120
|
<th style="width: 8.225em;"></th>
|
121
|
<th style="width: 0.225em;"></th>
|
122
|
<th style="width: 8.225em;"></th>
|
123
|
<th style="width: 0.225em;"></th>
|
124
|
</tr>
|
125
|
</thead>
|
126
|
<tbody>
|
127
|
<tr>
|
128
|
<td colspan=""> </td>
|
129
|
<td colspan="10"><h3>{SECTION_PAGES}</h3></td>
|
130
|
</tr>
|
131
|
<tr>
|
132
|
<td colspan=""> </td>
|
133
|
<td><input name="pages_view" id="pages_view" type="checkbox" value="1" {pages_view_checked} />
|
134
|
<label for="pages_view">{TEXT_VIEW}</label></td>
|
135
|
<td></td>
|
136
|
<td><input name="pages_add" id="pages_add" type="checkbox" value="1" {pages_add_checked} />
|
137
|
<label for="pages_add">{TEXT_ADD}</label></td>
|
138
|
<td></td>
|
139
|
<td><input name="pages_add_l0" id="pages_add_l0" type="checkbox" value="1" {pages_add_l0_checked} />
|
140
|
<label for="pages_add_l0">{TEXT_LEVEL} 0</label></td>
|
141
|
<td ></td>
|
142
|
<td><input name="pages_settings" id="pages_settings" type="checkbox" value="1" {pages_settings_checked} />
|
143
|
<label for="pages_settings">{TEXT_MODIFY_SETTINGS}</label></td>
|
144
|
<td></td>
|
145
|
<td><input name="pages_modify" id="pages_modify" type="checkbox" value="1" {pages_modify_checked} />
|
146
|
<label for="pages_modify">{TEXT_MODIFY_CONTENT}</label></td>
|
147
|
<td></td>
|
148
|
</tr>
|
149
|
<tr>
|
150
|
<td colspan=""> </td>
|
151
|
<td><input name="pages_intro" id="pages_intro" type="checkbox" value="1" {pages_intro_checked} /><label for="pages_intro">{HEADING_MODIFY_INTRO_PAGE}</label></td>
|
152
|
<td></td>
|
153
|
<td><input name="pages_delete" id="pages_delete" type="checkbox" value="1" {pages_delete_checked} /><label for="pages_delete">{TEXT_DELETE}</label></td>
|
154
|
<td></td>
|
155
|
<td colspan="6"> </td>
|
156
|
</tr>
|
157
|
<tr>
|
158
|
<td colspan=""> </td>
|
159
|
<td colspan="10"><h3>{SECTION_MEDIA}</h3></td>
|
160
|
</tr>
|
161
|
<tr>
|
162
|
<td> </td>
|
163
|
<td><input name="media_view" id="media_view" type="checkbox" value="1" {media_view_checked} /><label for="media_view">{TEXT_VIEW}</label></td>
|
164
|
<td></td>
|
165
|
<td><input name="media_upload" id="media_upload" type="checkbox" value="1" {media_upload_checked} /><label for="media_upload">{TEXT_ADD}</label></td>
|
166
|
<td></td>
|
167
|
<td><input name="media_rename" id="media_rename" type="checkbox" value="1" {media_rename_checked} /><label for="media_rename">{TEXT_RENAME}</label></td>
|
168
|
<td></td>
|
169
|
<td><input name="media_create" id="media_create" type="checkbox" value="1" {media_create_checked} /><label for="media_create">{TEXT_CREATE_FOLDER}</label></td>
|
170
|
<td></td>
|
171
|
<td><input name="media_delete" id="media_delete" type="checkbox" value="1" {media_delete_checked} /><label for="media_delete">{TEXT_DELETE}</label></td>
|
172
|
<td></td>
|
173
|
</tr>
|
174
|
<tr>
|
175
|
<td> </td>
|
176
|
<td colspan="10"><h3>{SECTION_MODULES}</h3></td>
|
177
|
</tr>
|
178
|
<tr>
|
179
|
<td colspan=""> </td>
|
180
|
<td><input name="modules_view" id="modules_view" type="checkbox" value="1" {modules_view_checked} /><label for="modules_view">{TEXT_VIEW}</label></td>
|
181
|
<td></td>
|
182
|
<td><input name="modules_install" id="modules_install" type="checkbox" value="1" {modules_install_checked} /><label for="modules_install">{TEXT_ADD}</label></td>
|
183
|
<td></td>
|
184
|
<td><input name="modules_uninstall" id="modules_uninstall" type="checkbox" value="1" {modules_uninstall_checked} /><label for="modules_uninstall">{TEXT_DELETE}</label></td>
|
185
|
<td></td>
|
186
|
<td colspan="4"> </td>
|
187
|
</tr>
|
188
|
<tr>
|
189
|
<td colspan=""> </td>
|
190
|
<td colspan="10"><h3>{SECTION_TEMPLATES}</h3></td>
|
191
|
</tr>
|
192
|
<tr>
|
193
|
<td colspan=""> </td>
|
194
|
<td><input name="templates_view" id="templates_view" type="checkbox" value="1" {templates_view_checked} /><label for="templates_view">{TEXT_VIEW}</label></td>
|
195
|
<td></td>
|
196
|
<td><input name="templates_install" id="templates_install" type="checkbox" value="1" {templates_install_checked} /><label for="templates_install">{TEXT_ADD}</label></td>
|
197
|
<td></td>
|
198
|
<td><input name="templates_uninstall" id="templates_uninstall" type="checkbox" value="1" {templates_uninstall_checked} /><label for="templates_uninstall">{TEXT_DELETE}</label></td>
|
199
|
<td></td>
|
200
|
<td colspan="4"> </td>
|
201
|
<tr>
|
202
|
<td colspan=""> </td>
|
203
|
<td colspan="10"><h3>{SECTION_LANGUAGES}</h3></td>
|
204
|
</tr>
|
205
|
<tr>
|
206
|
<td colspan=""> </td>
|
207
|
<td>
|
208
|
<input name="languages_view" id="languages_view" type="checkbox" value="1" {languages_view_checked} />
|
209
|
<label for="languages_view">{TEXT_VIEW}</label>
|
210
|
</td>
|
211
|
<td></td>
|
212
|
<td><input name="languages_install" id="languages_install" type="checkbox" value="1" {languages_install_checked} /><label for="languages_install">{TEXT_ADD}</label></td>
|
213
|
<td></td>
|
214
|
<td><input name="languages_uninstall" id="languages_uninstall" type="checkbox" value="1" {languages_uninstall_checked} /><label for="languages_uninstall">{TEXT_DELETE}</label></td>
|
215
|
<td></td>
|
216
|
<td colspan="4"> </td>
|
217
|
</tr>
|
218
|
<tr>
|
219
|
<td colspan=""> </td>
|
220
|
<td colspan="10"><h3>{SECTION_SETTINGS}</h3></td>
|
221
|
</tr>
|
222
|
<tr>
|
223
|
<td colspan=""> </td>
|
224
|
<td><input name="settings_basic" id="settings_basic" type="checkbox" value="1" {settings_basic_checked} /><label for="settings_basic">{TEXT_BASIC}</label></td>
|
225
|
<td></td>
|
226
|
<td><input name="settings_advanced" id="settings_advanced" type="checkbox" value="1" {settings_advanced_checked} /><label for="settings_advanced">{TEXT_ADVANCED}</label></td>
|
227
|
<td></td>
|
228
|
<td colspan="6"> </td>
|
229
|
</tr>
|
230
|
<tr>
|
231
|
<td colspan=""> </td>
|
232
|
<td colspan="10"><h3>{SECTION_ADMINTOOLS}</h3></td>
|
233
|
</tr>
|
234
|
<tr>
|
235
|
<td colspan=""> </td>
|
236
|
<td><input name="admintools" id="admintools_settings" type="checkbox" value="1" {admintools_checked} />
|
237
|
<label for="admintools_settings">{TEXT_MODIFY_SETTINGS}</label></td>
|
238
|
<td></td>
|
239
|
<td colspan="8"> </td>
|
240
|
</tr>
|
241
|
<tr>
|
242
|
<td colspan=""> </td>
|
243
|
<td colspan="10"><h3>{SECTION_USERS}</h3></td>
|
244
|
</tr>
|
245
|
<tr>
|
246
|
<td colspan=""> </td>
|
247
|
<td><input name="users_view" id="users_view" type="checkbox" value="1" {users_view_checked} />
|
248
|
<label for="users_view">{TEXT_VIEW}</label></td>
|
249
|
<td></td>
|
250
|
<td><input name="users_add" id="users_add" type="checkbox" value="1" {users_add_checked} /><label for="users_add">{TEXT_ADD}</label></td>
|
251
|
<td></td>
|
252
|
<td><input name="users_modify" id="users_modify" type="checkbox" value="1" {users_modify_checked} /><label for="users_modify">{TEXT_MODIFY}</label></td>
|
253
|
<td></td>
|
254
|
<td><input name="users_delete" id="users_delete" type="checkbox" value="1" {users_delete_checked} /><label for="users_delete">{TEXT_DELETE}</label></td>
|
255
|
<td></td>
|
256
|
<td colspan="2"> </td>
|
257
|
</tr>
|
258
|
<tr>
|
259
|
<td colspan=""> </td>
|
260
|
<td colspan="10"><h3>{SECTION_GROUPS}</h3></td>
|
261
|
</tr>
|
262
|
<tr>
|
263
|
<td colspan=""> </td>
|
264
|
<td><input name="groups_view" id="groups_view" type="checkbox" value="1" {groups_view_checked} />
|
265
|
<label for="groups_view">{TEXT_VIEW}</label></td>
|
266
|
<td></td>
|
267
|
<td><input name="groups_add" id="groups_add" type="checkbox" value="1" {groups_add_checked} /><label for="groups_add">{TEXT_ADD}</label></td>
|
268
|
<td></td>
|
269
|
<td><input name="groups_modify" id="groups_modify" type="checkbox" value="1" {groups_modify_checked} /><label for="groups_modify">{TEXT_MODIFY}</label></td>
|
270
|
<td></td>
|
271
|
<td><input name="groups_delete" id="groups_delete" type="checkbox" value="1" {groups_delete_checked} /><label for="groups_delete">{TEXT_DELETE}</label></td>
|
272
|
<td></td>
|
273
|
<td colspan="2"> </td>
|
274
|
</tr>
|
275
|
<tr style="width:100%; line-height: ;: 1.225em auto;">
|
276
|
<td colspan="11"> </td>
|
277
|
</tr>
|
278
|
</tbody>
|
279
|
</table>
|
280
|
<table style="padding-top: 15px; padding-bottom: 5px;width: 100%; border-collapse: collapse;">
|
281
|
<tbody>
|
282
|
<tr style="width:100%; line-height: ;: 1.225em auto;">
|
283
|
<td colspan="5"> </td>
|
284
|
</tr>
|
285
|
<tr style="text-align:center;width:100%; margin: 1.225em auto;">
|
286
|
<td colspan="2" style="text-align:right;">
|
287
|
<input type="submit" name="save" value="{SUBMIT_TITLE}" />
|
288
|
</td>
|
289
|
<td style="text-align:left;">
|
290
|
<input type="reset" name="reset" value="{TEXT_RESET}" />
|
291
|
</td>
|
292
|
<td>
|
293
|
<input type="submit" name="cancel" value="{TEXT_CANCEL}" />
|
294
|
</td>
|
295
|
</tr>
|
296
|
<tr style="width:100%; line-height: ;: 1.225em auto;">
|
297
|
<td colspan="5"> </td>
|
298
|
</tr>
|
299
|
</tbody>
|
300
|
</table>
|
301
|
<!-- END groups_extended_block -->
|
302
|
</div>
|
303
|
</div>
|
304
|
<div class="block-outer" style="padding: 0.825em;">
|
305
|
<div class="access-wrapper" style="width: 100%; margin: auto 2.225em;" >
|
306
|
<table style="padding-top: 15px; padding-bottom: 5px; border-collapse: collapse; float: left;">
|
307
|
<tbody>
|
308
|
<tr>
|
309
|
<td colspan="3">
|
310
|
<h3>{TEXT_MODULE_PERMISSIONS}:
|
311
|
<button class="" type="submit" name="reset_modules" value="1">{TEXT_RESET}</button></h3>
|
312
|
|
313
|
</td>
|
314
|
</tr>
|
315
|
<tr>
|
316
|
<td style=" padding-left: 11.225em;"> </td>
|
317
|
<td>
|
318
|
<ul style="margin: 0; padding: 0; list-style: none;">
|
319
|
<!-- BEGIN module_list_block -->
|
320
|
<!-- BEGIN module_group_block -->
|
321
|
<li class="group-title">
|
322
|
{OPTGROUP}
|
323
|
</li>
|
324
|
<!-- END module_group_block -->
|
325
|
<li>
|
326
|
<input type="checkbox" name="module_permissions[]" id="m_{VALUE}" value="{VALUE}" {CHECKED} />
|
327
|
<label for="m_{VALUE}">{NAME}</label>
|
328
|
</li>
|
329
|
<!-- END module_list_block -->
|
330
|
</ul>
|
331
|
</td>
|
332
|
</tr>
|
333
|
</tbody>
|
334
|
</table>
|
335
|
|
336
|
<table style="padding-top: 15px; padding-bottom: 5px;width: 48%; border-collapse: collapse;float: none;">
|
337
|
<tbody>
|
338
|
<tr>
|
339
|
<td colspan="3">
|
340
|
<h3>{TEXT_TEMPLATE_PERMISSIONS}:
|
341
|
<button class="" type="submit" name="reset_templates" value="1">{TEXT_RESET}</button></h3>
|
342
|
</td>
|
343
|
</tr>
|
344
|
<tr>
|
345
|
<td style=" padding-left: 11.225em;"> </td>
|
346
|
<td>
|
347
|
<ul style="margin: 0; padding: 0; list-style: none;">
|
348
|
<!-- BEGIN template_list_block -->
|
349
|
<!-- BEGIN template_group_block -->
|
350
|
<li class="group-title">
|
351
|
{OPTGROUP}
|
352
|
</li>
|
353
|
<!-- END template_group_block -->
|
354
|
<li>
|
355
|
<input type="checkbox" name="template_permissions[]" id="t_{VALUE}" value="{VALUE}" {CHECKED} />
|
356
|
<label for="t_{VALUE}">{NAME}</label>
|
357
|
</li>
|
358
|
<!-- END template_list_block -->
|
359
|
</ul>
|
360
|
</td>
|
361
|
</tr>
|
362
|
</tbody>
|
363
|
</table>
|
364
|
</div>
|
365
|
<table style="padding-top: 15px; padding-bottom: 5px;width: 100%; border-collapse: collapse;">
|
366
|
<tbody>
|
367
|
<tr style="width:100%; line-height: ;: 1.225em auto;">
|
368
|
<td colspan="5"> </td>
|
369
|
</tr>
|
370
|
<tr style="text-align:center;width:100%; margin: 1.225em auto;">
|
371
|
<td colspan="" style="text-align:right;">
|
372
|
<input type="submit" name="save" value="{SUBMIT_TITLE}" />
|
373
|
</td>
|
374
|
<td style="text-align:left;">
|
375
|
<input type="reset" name="reset" value="{TEXT_RESET}" />
|
376
|
</td>
|
377
|
<td>
|
378
|
<input type="submit" name="cancel" value="{TEXT_CANCEL}" />
|
379
|
</td>
|
380
|
</tr>
|
381
|
</tbody>
|
382
|
</table>
|
383
|
</form>
|
384
|
</div>
|
385
|
|
386
|
<form name="advanced" action="{ADVANCED_LINK}" method="post">
|
387
|
<input type="hidden" name="group_id" value="{GROUP_ID}" />
|
388
|
<input type="hidden" name="action" value="modify" />
|
389
|
{FTAN}
|
390
|
<table style="width: 100%; border-collapse: collapse;" >
|
391
|
<tr style="text-align:center;width:100%; margin: 1.225em auto;">
|
392
|
<td colspan=""> </td>
|
393
|
</tr>
|
394
|
<tr>
|
395
|
<td style="text-align:left;">
|
396
|
<button type="submit" name="advanced" onclick="window.location = '{ADVANCED_LINK}';" value="{ADVANCED_VALUE}" >{ADVANCED_BUTTON}</button>
|
397
|
</td>
|
398
|
</tr>
|
399
|
</table>
|
400
|
</form>
|
401
|
</div>
|
402
|
<!-- END main_block -->
|