Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
6a488035 TO |
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 CiviCRM Menu *} | |
27 | <div class="crm-block crm-form-block crm-navigation-form-block"> | |
28 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> | |
29 | <fieldset><legend>{if $action eq 1}{ts}New Menu{/ts}{elseif $action eq 2}{ts}Edit Menu{/ts}{else}{ts}Delete Menu{/ts}{/if}</legend> | |
30 | <table class="form-layout-compressed"> | |
31 | <tr class="crm-navigation-form-block-label"> | |
32 | <td class="label">{$form.label.label}</td><td>{$form.label.html}</td> | |
33 | </tr> | |
34 | <tr class="crm-navigation-form-block-url"> | |
35 | <td class="label">{$form.url.label}</td><td>{$form.url.html} {help id="id-menu_url" file="CRM/Admin/Form/Navigation.hlp"}</td> | |
36 | </tr> | |
37 | { if $form.parent_id.html } | |
38 | <tr class="crm-navigation-form-block-parent_id"> | |
39 | <td class="label">{$form.parent_id.label}</td><td>{$form.parent_id.html} {help id="id-parent" file="CRM/Admin/Form/Navigation.hlp"}</td> | |
40 | </tr> | |
41 | {/if} | |
42 | <tr class="crm-navigation-form-block-has_separator"> | |
43 | <td class="label">{$form.has_separator.label}</td><td>{$form.has_separator.html} {help id="id-has_separator" file="CRM/Admin/Form/Navigation.hlp"}</td> | |
44 | </tr> | |
45 | <tr class="crm-navigation-form-block-permission"> | |
46 | <td class="label">{$form.permission.label}{help id="id-menu_permission" file="CRM/Admin/Form/Navigation.hlp"}</td><td>{$form.permission.html}</td> | |
47 | </tr> | |
48 | <tr class="crm-navigation-form-block-permission_operator"> | |
49 | <td class="label"> </td><td>{$form.permission_operator.html} {$form.permission_operator.label} {help id="id-permission_operator" file="CRM/Admin/Form/Navigation.hlp"}</td> | |
50 | </tr> | |
51 | <tr class="crm-navigation-form-block-is_active"> | |
52 | <td class="label">{$form.is_active.label}</td><td>{$form.is_active.html}</td> | |
53 | </tr> | |
edc51caa | 54 | </table> |
6a488035 TO |
55 | </fieldset> |
56 | <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> | |
232624b1 | 57 | </div> |