{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{capture assign=infoTitle}{ts}Preview Mode{/ts}{/capture}
-{assign var="infoType" value="info"}
{if $previewField}
- {capture assign=infoMessage}<strong>{ts}Profile Field Preview{/ts}</strong>{/capture}
+ {capture assign=infoTitle}{ts}Profile Field Preview{/ts}{/capture}
{else}
- {capture assign=infoMessage}<strong>{ts}Profile Preview{/ts}</strong>{/capture}
+ {capture assign=infoTitle}{ts}Profile Preview{/ts}{/capture}
{/if}
-{include file="CRM/common/info.tpl"}
+{include file="CRM/common/info.tpl" infoType="no-popup profile-preview-msg" infoMessage=" "}
<div class="crm-form-block">
{if ! empty( $fields )}
{if $field.html_type eq 'Autocomplete-Select'}
{if $field.data_type eq 'ContactReference'}
{include file="CRM/Custom/Form/ContactReference.tpl" element_name = $n}
- {else}
- {include file="CRM/Custom/Form/AutoComplete.tpl" element_name = $n}
{/if}
{/if}
{/if}