Update copyright date for 2020
[civicrm-core.git] / templates / CRM / ACL / Form / ACLBasic.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2020 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 {* this template is used for adding/editing ACL *}
27 <div class="form-item">
28 <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>
29
30 {if $action eq 8}
31 <div class="messages status no-popup">
32 <dl>
33 <dt><div class="icon inform-icon"></div></dt>
34 <dd>
35 {ts}WARNING: Delete will remove this permission from the specified ACL Role.{/ts} {ts}Do you want to continue?{/ts}
36 </dd>
37 </dl>
38 </div>
39 {else}
40 <dl>
41 <dt>{$form.entity_id.label}</dt><dd>{$form.entity_id.html}</dd>
42 <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>
43 </dl>
44 <dl>
45 <dt>{$form.object_table.label}</dt>
46 <dd>
47 <table>
48 <tr><td>
49 {$form.object_table.html}
50 </td></tr>
51 </table>
52 </dd>
53 </dl>
54 {/if}
55 <dl>
56 <dt></dt><dd>{$form.buttons.html}</dd>
57 </dl>
58 </fieldset>
59 </div>
60