Files
newwalls.pl/modules/ets_cfultimate/views/templates/hook/contact-form.tpl
2024-12-17 13:43:22 +01:00

48 lines
2.9 KiB
Smarty

{*
* 2007-2021 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please, contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2021 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
{if $open_form_by_button}
<span id="button_{$contact_form->unit_tag|escape:'html':'UTF-8'}" class="ctf_click_open_contactform7 btn btn-primary" data-id="{$contact_form->unit_tag|escape:'html':'UTF-8'}">{$contact_form->button_label|escape:'html':'UTF-8'}</span>
<div class="ctf-popup-wapper" id="ctf-popup-wapper-{$contact_form->unit_tag|escape:'html':'UTF-8'}">
<div class="ctf-popup-table">
<div class="ctf-popup-tablecell">
<div class="ctf-popup-content">
<div class="ctf_close_popup">close</div>{/if}
{if !$form_elements|trim}<p class="ets_cfu_alert alert alert-warning">{l s='Contact form is empty' mod='ets_cfultimate'}</p>{else}
<div role="form" class="wpcfu{if $displayHook} hook{/if}" id="{$contact_form->unit_tag|escape:'html':'UTF-8'}" dir="ltr" data-id="{$contact_form->id|intval}">
<form action="{$link->getModuleLink('ets_cfultimate','submit')|escape:'html':'UTF-8'}" method="post" enctype="multipart/form-data" autocomplete="false" novalidate="novalidate">
{if $displayHook}<h3>{$contact_form->title|escape:'html':'UTF-8'}</h3>{/if}
<input type="hidden" name="_wpcfu" value="{$contact_form->id|intval}"/>
<input type="hidden" name="_ets_cfu_version" value="5.0.1"/>
<input type="hidden" name="_ets_cfu_locale" value="en_US"/>
<input type="hidden" name="_ets_cfu_unit_tag" value="wpcfu-{$contact_form->unit_tag|escape:'html':'UTF-8'}"/>
<input type="hidden" name="form_unit_tag" value="{$contact_form->form_unit_tag|escape:'html':'UTF-8'}" />
<input type="hidden" name="_ets_cfu_container_post" value="{$contact_form->id|intval}"/>
{$form_elements nofilter}
<div class="wpcfu-response-output wpcfu-display-none" id="wpcfu-response-output"></div>
</form>
<div class="clearfix">&nbsp;</div>
</div>{/if}
{if $open_form_by_button}
</div>
</div>
</div>
</div>
{/if}