Merge pull request #15938 from civicrm/5.20
[civicrm-core.git] / templates / CRM / ACL / Form / ACLBasic.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* this template is used for adding/editing ACL *}
11 <div class="form-item">
12 <fieldset><legend>{if $action eq 1}{ts}New ACL{/ts}{elseif $action eq 2}{ts}Edit ACL{/ts}{else}{ts}Delete ACL{/ts}{/if}</legend>
13
14 {if $action eq 8}
15 <div class="messages status no-popup">
16 <dl>
17 <dt><div class="icon inform-icon"></div></dt>
18 <dd>
19 {ts}WARNING: Delete will remove this permission from the specified ACL Role.{/ts} {ts}Do you want to continue?{/ts}
20 </dd>
21 </dl>
22 </div>
23 {else}
24 <dl>
25 <dt>{$form.entity_id.label}</dt><dd>{$form.entity_id.html}</dd>
26 <dt>&nbsp;</dt><dd class="description">{ts}Select a Role to assign (grant) this permission to. Select the special role 'Everyone' if you want to grant this permission to ALL users. 'Anyone' includes anonymous (i.e. not logged in) users.{/ts}</dd>
27 </dl>
28 <dl>
29 <dt>{$form.object_table.label}</dt>
30 <dd>
31 <table>
32 <tr><td>
33 {$form.object_table.html}
34 </td></tr>
35 </table>
36 </dd>
37 </dl>
38 {/if}
39 <dl>
40 <dt></dt><dd>{$form.buttons.html}</dd>
41 </dl>
42 </fieldset>
43 </div>
44