1 {if !$acl_readable}
3 <h2>{msgPool type=permView}</h2>
5 {else}
6 {if $dialogState eq 'head'}
7 <h1>{t}Assigned ACL for current entry{/t}</h1>
8 {$aclList}
11 {if $acl_createable}
12 <input type="submit" name="new_acl" value="{t}New ACL{/t}" >
13 {/if}
14 {/if}
16 {if $dialogState eq 'create'}
17 <h1>{t}ACL type{/t}
18 {if !$acl_writeable}
19 <select size="1" name="dummy_t" title="{t}Select an acl type{/t}" disabled>
20 {html_options options=$aclTypes selected=$aclType}
21 <option disabled> </option>
22 </select>
23 {else}
24 <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">
25 {html_options options=$aclTypes selected=$aclType}
26 <option disabled> </option>
27 </select>
28 {if $javascript eq 'false'}
29 <input type="submit" value="{t}Apply{/t}" name="refresh">
30 {/if}
31 {/if}
32 </h1>
34 <p class="seperator"> </p>
35 <div style='padding:3px;'>
36 {t}Additional filter options{/t}
37 {if !$acl_writeable}
38 <input type='text' value='{$aclFilter}' disabled name='dummy_f' style='width:600px;'>
39 {else}
40 <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
41 {/if}
42 </div>
44 <table style="width:100%">
45 <tr>
46 <td style="width:48%; vertical-align:top;">
47 {t}Use members from{/t}
48 <select name="target" onChange="document.mainform.submit()">
49 {html_options options=$targets selected=$target}
50 <option disabled> </option>
51 </select>
52 {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
53 </td>
54 <td>
55 </td>
56 <td>
57 </td>
58 </tr>
59 <tr>
60 <td style="width:48%">
61 {t}Available members{/t}<br>
62 {if !$acl_writeable}
63 <select style="width:100%;height:180px;" disabled name="dummy_s[]" size="20" multiple title="{t}List message possible targets{/t}">
64 {html_options options=$sources}
65 <option disabled> </option>
66 </select>
67 {else}
68 <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
69 {html_options options=$sources}
70 <option disabled> </option>
71 </select>
72 {/if}
73 </td>
74 <td style="vertical-align:center; text-align:center">
75 {if $acl_writeable}
76 <input type="submit" value=">" name="add">
77 <br><br>
78 <input type="submit" value="<" name="del">
79 {/if}
80 </td>
81 <td style="width:48%; vertical-align:top;">
82 {t}Members{/t}<br>
83 {if !$acl_writeable}
84 <select style="width:100%;height:180px;" disabled name="dummy_r[]" size="20" multiple title="{t}List message recipients{/t}">
85 {html_options options=$recipients}
86 <option disabled> </option>
87 </select>
89 {else}
90 <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
91 {html_options options=$recipients}
92 <option disabled> </option>
93 </select>
94 {/if}
95 </td>
96 </tr>
97 </table>
99 {if $aclType ne 'reset'}
100 {if $aclType ne 'role'}
101 {if $aclType ne 'base'}
102 <p class="seperator"> </p>
104 <h1>{t}List of available ACL categories{/t}</h1>
105 {$aclList}
106 {/if}
107 {/if}
108 {/if}
110 {if $aclType eq 'base'}
111 <p class="seperator"> </p>
112 <h1>{t}ACL for this object{/t}</h1>
113 {$aclSelector}
114 {/if}
116 {if $aclType eq 'role'}
117 <p class="seperator"> </p>
118 <h1>{t}Available roles{/t}</h1>
119 {$roleSelector}
120 {/if}
122 <p class="seperator"> </p>
123 <div style='text-align:right;margin-top:5px'>
124 {if $acl_writeable}
125 <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
126
127 {/if}
128 <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
129 </div>
130 {/if}
132 {if $dialogState eq 'edit'}
134 <h1>{$headline}</h1>
136 {$aclSelector}
138 <p class="seperator"> </p>
139 <div style='text-align:right;margin-top:5px'>
140 <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
141
142 <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
143 </div>
144 {/if}
145 {/if}