blob: 0bc6efbcb718b9360a3057679171a3350744ad4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<div class="titrePage">
<ul class="categoryActions">
<li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" alt="(?)"></a></li>
</ul>
<h2>{lang:Manage permissions for a category}</h2>
</div>
<h3>{CATEGORIES_NAV}</h3>
<form action="{F_ACTION}" method="post" id="categoryPermissions">
<h4>{lang:Groups}</h4>
<fieldset>
<legend>{lang:Permission granted}</legend>
<ul>
<!-- BEGIN group_granted -->
<li><label><input type="checkbox" name="deny_groups[]" value="{group_granted.ID}" /> {group_granted.NAME}</label></li>
<!-- END group_granted -->
</ul>
<input type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" />
</fieldset>
<fieldset>
<legend>{lang:Permission denied}</legend>
<ul>
<!-- BEGIN group_denied -->
<li><label><input type="checkbox" name="grant_groups[]" value="{group_denied.ID}"> {group_denied.NAME}</label></li>
<!-- END group_denied -->
</ul>
<input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" />
</fieldset>
<h4>{lang:Users}</h4>
<fieldset>
<legend>{lang:Permission granted}</legend>
<ul>
<!-- BEGIN user_granted -->
<li><label><input type="checkbox" name="deny_users[]" value="{user_granted.ID}" /> {user_granted.NAME}</label></li>
<!-- END user_granted -->
</ul>
<input type="submit" name="deny_users_submit" value="{lang:Deny selected users}" />
</fieldset>
<fieldset>
<legend>{lang:Permission granted thanks to a group}</legend>
<ul>
<!-- BEGIN user_granted_indirect -->
<li>{user_granted_indirect.NAME} ({user_granted_indirect.GROUP})</li>
<!-- END user_granted_indirect -->
</ul>
</fieldset>
<fieldset>
<legend>{lang:Permission denied}</legend>
<ul>
<!-- BEGIN user_denied -->
<li><label><input type="checkbox" name="grant_users[]" value="{user_denied.ID}"> {user_denied.NAME}</label></li>
<!-- END user_denied -->
</ul>
<input type="submit" name="grant_users_submit" value="{lang:Grant selected users}" />
</fieldset>
</form>
|