commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / templates / CRM / UF / Form / Group.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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}
28 <h3> {ts}Delete CiviCRM Profile{/ts} - {$profileTitle}</h3>
29 {/if}
30 <div class=" crm-block crm-form-block crm-uf_group-form-block">
31 {* CRM-13693 Duplicate Delete button *}
32 {if $action neq 8}
33 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
34 {/if}
35 {if ($action eq 2 or $action eq 4) and $snippet neq 'json' } {* Update or View*}
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>
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>
55 <td class="html-adjust">{$form.description.html}</td>
56 </tr>
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" >
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>
67 <td class="html-adjust">{$form.help_pre.html}</td>
68 </tr>
69 <tr class="crm-uf_group-form-block-help_post" >
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>
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"}