1 <b><font style="color:red">This plugin is only simulating the interface. Therefore it's not functional. Please don't use.</font></b>
2 <br>
4 {if $dialogState eq 'head'}
5 <h1>{t}Assigned ACLs for current entry{/t}</h1>
6 {$aclList}
7 <input type="submit" name="new_acl" value="{t}New ACL{/t}">
8 <p class="seperator"> </p>
9 <div style='text-align:right;margin-top:5px'>
10 <input type="submit" name="save_acl" value="{t}Ok{/t}">
11
12 <input type="submit" name="cancel_acl" value="{t}Cancel{/t}">
13 </div>
14 {/if}
16 {if $dialogState eq 'create'}
17 <h1>{t}ACL type{/t} <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()"> </option>{html_options options=$aclTypes selected=$aclType}<option disabled></select> {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}</h1>
19 <p class="seperator"> </p>
21 <table style="width:100%">
22 <tr>
23 <td style="width:48%; vertical-align:top;">
24 {t}Use members from{/t}
25 <select name="target" onChange="document.mainform.submit()">
26 {html_options options=$targets selected=$target}
27 <option disabled> </option>
28 </select>
29 {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
30 </td>
31 <td>
32 </td>
33 <td>
34 </td>
35 </tr>
36 <tr>
37 <td style="width:48%">
38 {t}Available members{/t}<br>
39 <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
40 {html_options options=$sources}
41 <option disabled> </option>
42 </select>
43 </td>
44 <td style="vertical-align:center; text-align:center">
45 <input type="submit" value=">" name="add">
46 <br><br>
47 <input type="submit" value="<" name="del">
48 </td>
49 <td style="width:48%; vertical-align:top;">
50 {t}Members{/t}<br>
51 <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
52 {html_options options=$recipients}
53 <option disabled> </option>
54 </select>
55 </td>
56 </tr>
57 </table>
59 {if $aclType ne 'reset'}
60 {if $aclType ne 'role'}
61 {if $aclType ne 'base'}
62 <p class="seperator"> </p>
64 <h1>{t}List of available ACL categories{/t}</h1>
65 {$aclList}
66 {/if}
67 {/if}
68 {/if}
70 {if $aclType eq 'base'}
71 <p class="seperator"> </p>
72 <h1>{t}ACLs for this object{/t}</h1>
73 {$aclSelector}
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}