2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
27 {capture assign=infoTitle}{ts}Profile Field Preview{/ts}{/capture}
29 {capture assign=infoTitle}{ts}Profile Preview{/ts}{/capture}
31 {include file="CRM/common/info.tpl" infoType="no-popup profile-preview-msg" infoMessage=" "}
32 <div class="crm-form-block">
34 {if ! empty( $fields )}
36 {* wrap in crm-container div so crm styles are used *}
37 <div id="crm-container-inner" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
38 {include file="CRM/common/CMSUser.tpl"}
40 {if $help_pre && $action neq 4}<div class="messages help">{$help_pre}</div>{/if}
41 {assign var=zeroField value="Initial Non Existent Fieldset"}
42 {assign var=fieldset value=$zeroField}
43 {include file="CRM/UF/Form/Fields.tpl"}
45 {include file='CRM/common/ReCAPTCHA.tpl'}
47 {if $field.groupHelpPost}
48 <div class="messages help">{$field.groupHelpPost}</div>
51 </div> {* end crm-container div *}
53 {capture assign=infoMessage}{ts}This CiviCRM profile field is view only.{/ts}{/capture}
54 {include file="CRM/common/info.tpl"}
56 {/if} {* fields array is not empty *}
58 <div class="crm-submit-buttons">
59 {include file="CRM/common/formButtons.tpl"}