2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
11 {capture assign=infoTitle}{ts}Profile Field Preview{/ts}{/capture}
13 {capture assign=infoTitle}{ts}Profile Preview{/ts}{/capture}
15 {include file="CRM/common/info.tpl" infoType="no-popup profile-preview-msg" infoMessage=" "}
16 <div class="crm-form-block">
18 {if ! empty( $fields )}
20 {* wrap in crm-container div so crm styles are used *}
21 <div id="crm-container-inner" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
22 {include file="CRM/common/CMSUser.tpl"}
24 {if $help_pre && $action neq 4}<div class="messages help">{$help_pre}</div>{/if}
25 {assign var=zeroField value="Initial Non Existent Fieldset"}
26 {assign var=fieldset value=$zeroField}
27 {include file="CRM/UF/Form/Fields.tpl"}
29 {include file='CRM/common/ReCAPTCHA.tpl'}
31 {if $field.groupHelpPost}
32 <div class="messages help">{$field.groupHelpPost}</div>
35 </div> {* end crm-container div *}
37 {capture assign=infoMessage}{ts}This CiviCRM profile field is view only.{/ts}{/capture}
38 {include file="CRM/common/info.tpl"}
40 {/if} {* fields array is not empty *}
42 <div class="crm-submit-buttons">
43 {include file="CRM/common/formButtons.tpl"}