Set target="_blank" on external footer links
[civicrm-core.git] / templates / CRM / UF / Form / Group.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 {* add/update/view CiviCRM Profile *}
11 {if $action eq 8}
12 <h3> {ts}Delete CiviCRM Profile{/ts} - {$profileTitle}</h3>
13 {/if}
14 <div class=" crm-block crm-form-block crm-uf_group-form-block">
15 {* CRM-13693 Duplicate Delete button *}
16 {if $action neq 8}
17 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
18 {/if}
19 {if ($action eq 2 or $action eq 4) and $snippet neq 'json' } {* Update or View*}
20 <div class="action-link">
21 <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>
22 <div class="clear"></div>
23 </div>
24 {/if}
25
26 {if $action eq 8 or $action eq 64}
27 <div class="messages status no-popup">
28 {icon icon="fa-info-circle"}{/icon}
29 {$message}
30 </div>
31 {else}
32 <table class="form-layout">
33 {foreach from=$entityFields item=fieldSpec}
34 {if not in_array($fieldSpec.name, $advancedFieldsConverted)}
35 {assign var=fieldName value=$fieldSpec.name}
36 <tr class="crm-{$entityInClassFormat}-form-block-{$fieldName}">
37 {include file="CRM/Core/Form/Field.tpl"}
38 </tr>
39 {/if}
40 {/foreach}
41 <tr class="crm-uf_group-form-block-weight" >
42 <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>
43 <td class="html-adjust">{$form.weight.html}</td>
44 </tr>
45 <tr class="crm-uf_group-form-block-help_pre" >
46 <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>
47 <td class="html-adjust">{$form.help_pre.html}</td>
48 </tr>
49 <tr class="crm-uf_group-form-block-help_post" >
50 <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>
51 <td class="html-adjust">{$form.help_post.html}</td>
52 </tr>
53 <tr class="crm-uf_group-form-block-is_active" >
54 <td class="label"></td><td class="html-adjust">{$form.is_active.html} {$form.is_active.label}</td>
55 </tr>
56 </table>
57 {* adding advance setting tab *}
58 {include file='CRM/UF/Form/AdvanceSetting.tpl'}
59 {/if}
60
61 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
62 </div>
63 {include file="CRM/common/showHide.tpl"}