fix version and year
[civicrm-core.git] / templates / CRM / UF / Form / Group.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
2c4c49ca 3 | CiviCRM version 4.7 |
6a488035 4 +--------------------------------------------------------------------+
fa938177 5 | Copyright CiviCRM LLC (c) 2004-2016 |
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{* add/update/view CiviCRM Profile *}
27{if $action eq 8}
7df37017 28 <h3> {ts}Delete CiviCRM Profile{/ts} - {$profileTitle}</h3>
6a488035
TO
29{/if}
30<div class=" crm-block crm-form-block crm-uf_group-form-block">
dbbe59b1 31{* CRM-13693 Duplicate Delete button *}
32{if $action neq 8}
6a488035 33<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
dbbe59b1 34{/if}
c1fc0aad 35{if ($action eq 2 or $action eq 4) and $snippet neq 'json' } {* Update or View*}
6a488035
TO
36 <div class="action-link">
37 <a href="{crmURL p='civicrm/admin/uf/group/field' q="action=browse&reset=1&gid=$gid"}" class="button"><span>{ts}View or Edit Fields for this Profile{/ts}</a></span>
38 <div class="clear"></div>
39 </div>
40{/if}
41
42{if $action eq 8 or $action eq 64}
43 <div class="messages status no-popup">
44 <div class="icon inform-icon"></div>
45 {$message}
46 </div>
47{else}
48 <table class="form-layout">
49 <tr class="crm-uf_group-form-block-title">
50 <td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_uf_group' field='title' id=$gid}{/if}</td>
51 <td class="html-adjust">{$form.title.html}</td>
52 </tr>
bcbde5ca
AW
53 <tr class="crm-uf_group-form-block-description">
54 <td class="label">{$form.description.label} {help id='id-description' file="CRM/UF/Form/Group.hlp"}</td>
7f7fa13a 55 <td class="html-adjust">{$form.description.html}</td>
bcbde5ca 56 </tr>
6a488035
TO
57 <tr class="crm-uf_group-form-block-uf_group_type">
58 <td class="label">{$form.uf_group_type.label} {help id='id-used_for' file="CRM/UF/Form/Group.hlp"}</td>
59 <td class="html-adjust">{$form.uf_group_type.html}&nbsp;{$otherModuleString}</td>
60 </tr>
61 <tr class="crm-uf_group-form-block-weight" >
62 <td class="label">{$form.weight.label}{if $config->userSystem->is_drupal EQ '1'} {help id='id-profile_weight' file="CRM/UF/Form/Group.hlp"}{/if}</td>
63 <td class="html-adjust">{$form.weight.html}</td>
64 </tr>
65 <tr class="crm-uf_group-form-block-help_pre" >
428daffb 66 <td class="label">{$form.help_pre.label} {help id='id-help_pre' file="CRM/UF/Form/Group.hlp"} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_uf_group' field='help_pre' id=$gid}{/if}</td>
6a488035
TO
67 <td class="html-adjust">{$form.help_pre.html}</td>
68 </tr>
69 <tr class="crm-uf_group-form-block-help_post" >
428daffb 70 <td class="label">{$form.help_post.label} {help id='id-help_post' file="CRM/UF/Form/Group.hlp"} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_uf_group' field='help_post' id=$gid}{/if}</td>
6a488035
TO
71 <td class="html-adjust">{$form.help_post.html}</td>
72 </tr>
73 <tr class="crm-uf_group-form-block-is_active" >
74 <td class="label"></td><td class="html-adjust">{$form.is_active.html} {$form.is_active.label}</td>
75 </tr>
76 </table>
77 {* adding advance setting tab *}
78 {include file='CRM/UF/Form/AdvanceSetting.tpl'}
79{/if}
80
81<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
82</div>
83{include file="CRM/common/showHide.tpl"}