Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
232624b1 | 3 | | CiviCRM version 4.4 | |
6a488035 TO |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
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> | |
edc51caa | 34 | <dd> |
6a488035 TO |
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> </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} | |
edc51caa | 55 | <dl> |
6a488035 | 56 | <dt></dt><dd>{$form.buttons.html}</dd> |
edc51caa | 57 | </dl> |
6a488035 TO |
58 | </fieldset> |
59 | </div> | |
60 |