1 {if $dialogState eq 'head'}
2 <h1>{t}Assigned ACL for current entry{/t}</h1>
3 {$aclList}
4 <input type="submit" name="new_acl" value="{t}New ACL{/t}">
5 {/if}
7 {if $dialogState eq 'create'}
8 <h1>{t}ACL type{/t} <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">{html_options options=$aclTypes selected=$aclType}<option disabled> </option></select> {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}</h1>
10 <p class="seperator"> </p>
11 <div style='padding:3px;'>
12 {t}Additional filter options{/t} <input type='text' value='{$aclFilter}' name='aclFilter' style='width:600px;'>
13 </div>
15 <table style="width:100%">
16 <tr>
17 <td style="width:48%; vertical-align:top;">
18 {t}Use members from{/t}
19 <select name="target" onChange="document.mainform.submit()">
20 {html_options options=$targets selected=$target}
21 <option disabled> </option>
22 </select>
23 {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
24 </td>
25 <td>
26 </td>
27 <td>
28 </td>
29 </tr>
30 <tr>
31 <td style="width:48%">
32 {t}Available members{/t}<br>
33 <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
34 {html_options options=$sources}
35 <option disabled> </option>
36 </select>
37 </td>
38 <td style="vertical-align:center; text-align:center">
39 <input type="submit" value=">" name="add">
40 <br><br>
41 <input type="submit" value="<" name="del">
42 </td>
43 <td style="width:48%; vertical-align:top;">
44 {t}Members{/t}<br>
45 <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
46 {html_options options=$recipients}
47 <option disabled> </option>
48 </select>
49 </td>
50 </tr>
51 </table>
53 {if $aclType ne 'reset'}
54 {if $aclType ne 'role'}
55 {if $aclType ne 'base'}
56 <p class="seperator"> </p>
58 <h1>{t}List of available ACL categories{/t}</h1>
59 {$aclList}
60 {/if}
61 {/if}
62 {/if}
64 {if $aclType eq 'base'}
65 <p class="seperator"> </p>
66 <h1>{t}ACL for this object{/t}</h1>
67 {$aclSelector}
68 {/if}
70 {if $aclType eq 'role'}
71 <p class="seperator"> </p>
72 <h1>{t}Available roles{/t}</h1>
73 {$roleSelector}
74 {/if}
76 <p class="seperator"> </p>
77 <div style='text-align:right;margin-top:5px'>
78 <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
79
80 <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
81 </div>
82 {/if}
84 {if $dialogState eq 'edit'}
86 <h1>{$headline}</h1>
88 {$aclSelector}
90 <p class="seperator"> </p>
91 <div style='text-align:right;margin-top:5px'>
92 <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
93
94 <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
95 </div>
96 {/if}