first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{*
* 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
*}
<div class="ets_cfu_btn">
<span class="ets_cfu_btn_edit" title="{l s='Edit' mod='ets_cfultimate'}">{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy" title="{l s='Duplicate' mod='ets_cfultimate'}">{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete" title="{l s='Delete' mod='ets_cfultimate'}">{l s='Delete' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_drag_drop" title="{l s='Drag drop' mod='ets_cfultimate'}">{l s='Drag drop' mod='ets_cfultimate'}</span>
</div>

View File

@@ -0,0 +1,34 @@
{*
* 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
*}
<li class="ets_cfu_li">
<div class="ets_cfu_{$input.name|lower|escape:'html':'utf-8'} col-lg-4">
<input type="text" class="ets_cfu_name" data-type="text" name="{$key|escape:'html':'utf-8'}[name][]" value="{if isset($element) && $element}{$element.name|escape:'html':'utf-8'}{/if}" placeholder="{l s='Name' mod='ets_cfultimate'}" />
</div>
<div class="ets_cfu_{$input.name|lower|escape:'html':'utf-8'} col-lg-6">
<input type="text" class="ets_cfu_email" data-type="email" name="{$key|escape:'html':'utf-8'}[email][]" value="{if isset($element) && $element}{$element.email|escape:'html':'utf-8'}{/if}" placeholder="{l s='Email' mod='ets_cfultimate'}" />
</div>
{if isset($input.show_btn_add) && $input.show_btn_add}
<div class="ets_cfu_{$input.name|lower|escape:'html':'utf-8'} button col-lg-2">
{if $ik > $end}<span class="ets_cfu_add btn btn-primary" title="{l s='Add' mod='ets_cfultimate'}"><i class="icon-plus-circle"></i></span>
{else}<span class="ets_cfu_del btn btn-primary" title="{l s='Delete' mod='ets_cfultimate'}"><i class="icon-trash-o"></i></span>{/if}
</div>
{/if}
</li>

View File

@@ -0,0 +1,431 @@
{*
* 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
*}
{extends file="helpers/form/form.tpl"}
{block name="fieldset"}
{assign var="current_tab" value=""}
{if isset($smarty.request.current_tab) && $smarty.request.current_tab}
{assign var="current_tab" value=$smarty.request.current_tab}
{/if}
{assign var="current_tab_email" value=""}
{if isset($smarty.request.current_tab_email) && $smarty.request.current_tab_email}
{assign var="current_tab_email" value=$smarty.request.current_tab_email}
{/if}
<input type="hidden" name="current_tab" value="{$current_tab|escape:'html':'utf-8'}" />
<input type="hidden" name="current_tab_email" value="{$current_tab_email|escape:'html':'utf-8'}" />
{$smarty.block.parent}
{/block}
{block name="label"}
{if $ps15}
{if $input.name=='ETS_CFU_ENABLE_RECAPTCHA'}
<div class="ets_form_tab_header">
<span class="active" data-tab="other_setting">{l s='Global settings' mod='ets_cfultimate'}</span>
<span class="" data-tab="google">{l s='reCAPTCHA' mod='ets_cfultimate'}</span>
<span class="" data-tab="black_list">{l s='IP & Email blacklist' mod='ets_cfultimate'}</span>
</div>
<div class="form-group-wapper">
<div class="form-group form_group_contact google">
<div class="col-lg-3">&nbsp;</div>
<div class="col-lg-9 ">
<p class="alert alert-info">
<a target="_blank" href="https://www.google.com/recaptcha/intro/index.html">{l s='Google reCAPTCHA ' mod='ets_cfultimate'}</a>{l s='is a free service to protect your website from spam and abuse' mod='ets_cfultimate'}<br />
{l s='To use reCAPTCHA, you need to install an API key pair' mod='ets_cfultimate'}<br />
</p>
</div>
</div>
{/if}
{if $input.name=='title'}
<div class="ets_form_tab_header">
<span class="active" data-tab="form">{l s='Form' mod='ets_cfultimate'}</span>
<span class="" data-tab="mail">{l s='Mail' mod='ets_cfultimate'}</span>
<span class="" data-tab="message">{l s='Notifications' mod='ets_cfultimate'}</span>
<span class="" data-tab="seo">{l s='Seo' mod='ets_cfultimate'}</span>
<span class="" data-tab="general_settings">{l s='Settings' mod='ets_cfultimate'}</span>
</div>
<div class="form-group-wapper">
{/if}
{if $input.name=='email_to2'}
<div class="form-group form_group_contact mail mail2">
<div class="col-lg-3">&nbsp;</div>
<div class="col-lg-9">
<p class="alert alert-info">
{l s='You can edit the mail template here. For details, see' mod='ets_cfultimate'} <a target="_blank" href="{$link_basic|escape:'html':'UTF-8'}/modules/ets_cfultimate/help/index.html#!/create">{l s='Create your first contact form' mod='ets_cfultimate'}</a>.<br />
{l s='In the following fields, you can use these mail-tags such as' mod='ets_cfultimate'}:
<span class="ets_cfu_tag_shortcode">
<span class="mailtag code unused">[your-name]</span>
<span class="mailtag code used">[your-email]</span>
<span class="mailtag code used">[your-subject]</span>
<span class="mailtag code used">[your-message]</span>
</span>
</p>
</div>
</div>
{/if}
{if $input.name=='message_mail_sent_ok'}
<div class="form-group form_group_contact message">
<div class="col-lg-3">&nbsp;</div>
<div class="col-lg-9">
<p class="alert alert-info">
{l s='You can edit messages used in various situations here.' mod='ets_cfultimate'}
</p>
</div>
</div>
{/if}
{if $input.name=='title' && isset($fields_value['id_contact']) && $fields_value['id_contact']}
<div class="form-group form_group_contact form">
<div class="col-lg-3"></div>
<div class="col-lg-9">
<p class="alert alert-info">
{if isset($fields_value['id_contact']) && $fields_value['id_contact'] && $fields_value['link_contact']}
{l s='Form URL:' mod='ets_cfultimate'} <a target="_blank" href="{$fields_value['link_contact']|escape:'html':'UTF-8'}">{$fields_value['link_contact']|escape:'html':'UTF-8'}</a><br />
{/if}
{if !isset($showShortcodeHook) || (isset($showShortcodeHook) && $showShortcodeHook)}
{l s='Contact form shortcode: ' mod='ets_cfultimate'}<span title="{l s='Click to copy' mod='ets_cfultimate'}" style="position: relative;display: inline-block; vertical-align: middle;"><input type="text" class="ctf-short-code" value='[contact-form-7 id="{$fields_value['id_contact']|intval}"]'/><span class="text-copy">{l s='Copied' mod='ets_cfultimate'}</span></span><br/>
{l s='Copy the shortcode above, paste into anywhere on your product description, CMS page content, tpl files, etc. in order to display this contact form' mod='ets_cfultimate'}
<br/>
{l s='Besides using shortcode to display the contact form, you can also display the contact form using a custom hook. Copy this custom hook' mod='ets_cfultimate'}
<span title="{l s='Click to copy' mod='ets_cfultimate'}" style="position: relative;display: inline-block; vertical-align: middle;">
<input style="width: 305px ! important;" class="ctf-short-code" type="text" value='{literal}{hook h="displayContactFormUltimate" id="{/literal}{$fields_value.id_contact|intval}{literal}"}{/literal}' /><span class="text-copy">{l s='Copied' mod='ets_cfultimate'}</span></span>
{l s=', place into your template .tpl files where you want to display the contact form' mod='ets_cfultimate'}
{/if}
</p>
</div>
</div>
{/if}
<div class="form-group {if isset($input.form_group_class)}{$input.form_group_class|escape:'html':'UTF-8'}{/if}">
{/if}
{$smarty.block.parent}
{/block}
{block name="field"}
{$smarty.block.parent}
{if $ps15}
</div>
{if $input.name=='ETS_CFU_NUMBER_MESSAGE'}
<div class="form-group form_group_contact export_import">
<div class="ctf_export_form_content">
<div class="ctf_export_option">
<div class="export_title">{l s='Export contact forms' mod='ets_cfultimate'}</div>
<p>{l s='Export form configurations of all contact forms of the current shop that you are viewing' mod='ets_cfultimate'}</p>
<a target="_blank" href="{$link->getAdminlink('AdminModules',true)|escape:'html':'UTF-8'}&configure=ets_cfultimate&tab_module=front_office_features&module_name=ets_cfultimate&exportContactForm=1" class="btn btn-default mm_export_menu">
<i class="fa fa-download"></i>{l s='Export contact forms' mod='ets_cfultimate'}
</a>
</div>
<div class="ctf_import_option">
<div class="export_title">{l s='Import contact forms' mod='ets_cfultimate'}</div>
<p>{l s='Import contact forms to the current shop that you are viewing for quick configuration. This is useful when you need to migrate contact forms between websites' mod='ets_cfultimate'}</p>
<div class="ctf_import_option_updata">
<label for="contactformdata">{l s='Data file' mod='ets_cfultimate'}</label>
<input type="file" name="contactformdata" id="contactformdata" />
</div>
<div class="cft_import_option_clean">
<input type="checkbox" name="importdeletebefore" id="importdeletebefore" value="1" />
<label for="importdeletebefore">{l s='Delete all contact forms before importing' mod='ets_cfultimate'}</label>
</div>
<div class="cft_import_option_clean">
<input type="checkbox" name="importoverride" id="importoverride" value="1" />
<label for="importoverride">{l s='Override all forms with the same IDs' mod='ets_cfultimate'}</label>
</div>
<div class="cft_import_option_button">
<input type="hidden" value="1" name="importContactform" />
<div class="cft_import_contact_submit">
<i class="fa fa-compress"></i>
<input type="submit" class="btn btn-default cft_import_menu" name="cft_import_contact_submit" value="{l s='Import contact forms' mod='ets_cfultimate'}" />
</div>
</div>
</div>
</div>
</div>
{/if}
{if $input.name=='message_captcha_not_match' || $input.name=='ETS_CFU_NUMBER_MESSAGE'}
</div>
{/if}
{/if}
{/block}
{block name="input_row"}
{if $input.name=='ETS_CFU_ENABLE_RECAPTCHA'}
<div class="ets_form_tab_header">
<span class="{if $current_tab == 'other_setting' || !$current_tab}active{/if}" data-tab="other_setting">{l s='Global settings' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'google'}active{/if}" data-tab="google">{l s='reCAPTCHA' mod='ets_cfultimate'}</span>
</div>
<div class="form-group-wapper">
<div class="form-group form_group_contact google">
<div class="col-lg-3">&nbsp;</div>
<div class="col-lg-9 ">
<p class="alert alert-info">
<a target="_blank" href="https://www.google.com/recaptcha/intro/index.html">{l s='Google reCAPTCHA ' mod='ets_cfultimate'}</a>{l s='is a free service to protect your website from spam and abuse' mod='ets_cfultimate'}<br />
{l s='To use reCAPTCHA, you need to install an API key pair' mod='ets_cfultimate'}<br />
</p>
</div>
</div>
{/if}
{if $input.name=='short_code'}
<div class="ets_form_tab_header">
<span class="{if $current_tab == 'seo' || !$current_tab}active{/if}" data-tab="seo">{l s='Info' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'form'}active{/if}" data-tab="form">{l s='Form' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'mail'}active{/if}" data-tab="mail">{l s='Mail' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'message'}active{/if}" data-tab="message">{l s='Notifications' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'thank_you'}active{/if}" data-tab="thank_you">{l s='Thank you page' mod='ets_cfultimate'}</span>
<span class="{if $current_tab == 'general_settings'}active{/if}" data-tab="general_settings">{l s='Settings' mod='ets_cfultimate'}</span>
</div>
<div class="form-group-wapper">
{/if}
{if $input.name=='email_to'}
<div class="form-group form_group_contact mail menu">
<ul class="ets_cfu_mail_menu">
<li class="ets_cfu_item mail1 {if $current_tab_email == 'mail1' || !$current_tab_email}active{/if}" data-tab="mail1">
<span>{l s='Email to admin' mod='ets_cfultimate'}</span>
</li>
<li class="ets_cfu_item mail2 {if $current_tab_email == 'mail2'}active{/if}" data-tab="mail2">
<span>{l s='Auto responder' mod='ets_cfultimate'}</span>
</li>
</ul>
</div>
<div class="ets_cfu_block_short_code form_group_contact mail hide">
<h3 class="ets_cfu_title">{l s='Available mail-tags' mod='ets_cfultimate'}</h3>
<p class="ets_cfu_desc">{l s='Copy mail-tags below and paste into any configuration fields of the "Email to admin" and "Auto responder" to get form input value.' tags=['<br>','<span class="ets_cfu_example">'] mod='ets_cfultimate'}</p>
<ul class="ets_cfu_block_ul" data-title="{l s='Click to copy' mod='ets_cfultimate'}"></ul>
</div>
{/if}
{if $input.name=='message_mail_sent_ok'}
<div class="form-group form_group_contact message">
<div class="col-lg-3">&nbsp;</div>
<div class="col-lg-9">
<p class="alert alert-info">
{l s='You can edit notification messages used in various situations here.' mod='ets_cfultimate'}
</p>
</div>
</div>
{/if}
{if $input.name == 'enable_form_page' && isset($fields_value['id_contact']) && $fields_value['id_contact']}
<div class="form-group form_group_contact seo">
<div class="col-lg-3"></div>
<div class="col-lg-9">
<p class="alert alert-info">
{if isset($fields_value['id_contact']) && $fields_value['id_contact'] && $fields_value['link_contact']}
{l s ='Form URL:' mod='ets_cfultimate'} <a target="_blank" href="{$fields_value['link_contact']|escape:'html':'UTF-8'}">{$fields_value['link_contact']|escape:'html':'UTF-8'}</a><br />
{/if}
{if !isset($showShortcodeHook) || (isset($showShortcodeHook) && $showShortcodeHook)}
{l s='Contact form shortcode: ' mod='ets_cfultimate'}<span title="{l s='Click to copy' mod='ets_cfultimate'}" style="position: relative;display: inline-block; vertical-align: middle;">
<input type="text" class="ctf-short-code" value='[contact-form-7 id="{$fields_value['id_contact']|intval}"]'/><span class="text-copy">{l s='Copied' mod='ets_cfultimate'}</span></span><br/>
{l s='Copy the shortcode above, paste into anywhere on your product description, CMS page content, tpl files, etc. in order to display this contact form' mod='ets_cfultimate'}
<br />
{l s='Besides using shortcode to display the contact form, you can also display the contact form using a custom hook. Copy this custom hook' mod='ets_cfultimate'}
<span title="{l s='Click to copy' mod='ets_cfultimate'}" style="position: relative;display: inline-block; vertical-align: middle;">
<input style="width: 305px ! important;" class="ctf-short-code" type="text" value='{literal}{hook h="displayContactFormUltimate" id="{/literal}{$fields_value.id_contact|intval}{literal}"}{/literal}' /><span class="text-copy">{l s='Copied' mod='ets_cfultimate'}</span></span>
{l s=', place into your template .tpl files where you want to display the contact form' mod='ets_cfultimate'}
{/if}
</p>
</div>
</div>
{/if}
{if $input.name=='short_code'}
<div class="form-group form_group_contact form ets_cfu_add_contact" data-multi-lang="{$languages|count > 1|intval}" data-default-lang="{$defaultFormLanguage|intval}" style="display: none;">
<div class="ets_cfu_add_form_contact">
{assign var="is_render_form" value=(isset($fields_value.render_form) && $fields_value.render_form)}
<div class="ets_cfu_add_form">
{if $is_render_form}{$fields_value.render_form nofilter}{/if}
</div>
<div class="ets_cfu_form_empty"{if $is_render_form} style="display: none;"{/if}>
<h4 class="ets_cfu_form_title">{l s='Contact form is blank' mod='ets_cfultimate'}</h4>
<a class="ets_cfu_add_input first_item" href="javascript:void(0)">{l s='Add new input field/row to create your contact form' mod='ets_cfultimate'}</a>
</div>
<div class="ets_cfu_action">
<button class="ets_cfu_add_input btn" name="ets_cfu_add_input btn"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</button>
<button class="ets_cfu_add_row btn" name="ets_cfu_add_row btn"><i class="icon-bars"></i>&nbsp;{l s='Add row' mod='ets_cfultimate'}</button>
</div>
</div>
<div class="ets_cfu_form_popup">
<div class="ets_cfu_table">
<div class="ets_cfu_table_cell">
<div class="ets_cfu_wrapper">
<span class="ets_cfu_close_popup" title="{l s='Close' mod='ets_cfultimate'}">{l s='Close' mod='ets_cfultimate'}</span>
<div class="ets_cfu_form_load"></div>
</div>
</div>
</div>
</div>
<div class="ets_cfu_form_group">
<div class="ets_cfu_row_group">
{include file="./rows.tpl"}
</div>
<div class="ets_cfu_input_group">
{include file="./inputs.tpl"}
</div>
</div>
</div>
{/if}
{$smarty.block.parent}
{if $input.name=='thank_you_url' || $input.name=='ETS_CFU_NUMBER_MESSAGE'}
</div>
{/if}
{/block}
{block name="input"}
{if $input.type == 'switch'}
{if isset($input.values) && $input.values}
<span class="switch prestashop-switch fixed-width-lg">
{foreach $input.values as $value}
<input type="radio" name="{$input.name|escape:'html':'UTF-8'}"{if $value.value == 1} id="{$input.name|escape:'html':'UTF-8'}_on"{else} id="{$input.name|escape:'html':'UTF-8'}_off"{/if} value="{$value.value|escape:'html':'UTF-8'}"{if $fields_value[$input.name] == $value.value} checked="checked"{/if}{if (isset($input.disabled) && $input.disabled) or (isset($value.disabled) && $value.disabled)} disabled="disabled"{/if}/>
{strip}<label {if $value.value == 1} for="{$input.name|escape:'html':'UTF-8'}_on"{else} for="{$input.name|escape:'html':'UTF-8'}_off"{/if}>
{if $value.value == 1}
{l s='Yes' d='Admin.Global' mod='ets_cfultimate'}
{else}
{l s='No' d='Admin.Global' mod='ets_cfultimate'}
{/if}
</label>{/strip}
{/foreach}
<a class="slide-button btn"></a>
</span>
{/if}
{elseif isset($input.multi) && $input.multi}
<ul class="ets_cfu_ul{if isset($input.mail_tag) && $input.mail_tag} mail-tag{/if} {$input.name|lower|escape:'UTF-8'} form-group" data-ul="{$input.name|lower|escape:'UTF-8'}">
{assign var="ik" value=0}
{assign var="key" value='multi_'|cat:$input.name}
{assign var="end" value=-1}
{if isset($fields_value.$key) && $fields_value.$key}
{assign var="end" value=$fields_value.$key|count - 1}
{foreach from=$fields_value.$key item='email'}
{include file="./email.tpl" element = $email}
{assign var="ik" value=$ik+1}
{/foreach}
{/if}
{if (isset($input.show_btn_add) && $input.show_btn_add && $ik >= $end) || (empty($fields_value.$key) && $ik > $end)}{include file="./email.tpl"}{/if}
</ul>
{$smarty.block.parent}
{elseif $input.type == 'group'}
{if count($input.values) && isset($input.values)}
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered">
<thead>
<tr>
<th class="fixed-width-xs">
<span class="title_box">
<input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, '{$input.name|escape:'html':'UTF-8'}[]', this.checked)" />
</span>
</th>
<th class="fixed-width-xs"><span class="title_box">{l s='ID' d='Admin.Global' mod='ets_cfultimate'}</span></th>
<th>
<span class="title_box">
{l s='Group name' mod='ets_cfultimate'}
</span>
</th>
</tr>
</thead>
<tbody>
{foreach $input.values as $key => $group}
<tr>
<td>
{assign var=id_checkbox value=$group['id_group']}
<input type="checkbox" name="{$input.name|escape:'html':'UTF-8'}[]" class="groupBox" id="{$id_checkbox|intval}" value="{$group['id_group']|escape:'html':'UTF-8'}" {if ! $input.is_id}checked="checked"{else}{if in_array($group['id_group'], $input.custommer_access)}checked="checked"{/if}{/if} />
</td>
<td>{$group['id_group']|escape:'html':'UTF-8'}</td>
<td>
<label for="{$id_checkbox|escape:'html':'UTF-8'}">{$group['name']|escape:'html':'UTF-8'}</label>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{else}
<p>
{l s='No group created' mod='ets_cfultimate'}
</p>
{/if}
{elseif $input.type == 'textarea' && $ps15}
{if isset($input.lang) AND $input.lang && $languages|count > 1}
<div class="translatable translatable-field">
{foreach $languages as $language}
<div class="lang_{$language.id_lang|intval}" id="{$input.name|escape:'html':'UTF-8'}_{$language.id_lang|intval}" style="display:{if $language.id_lang == $defaultFormLanguage}block{else}none{/if}; float: left;">
<textarea cols="{$input.cols|escape:'html':'UTF-8'}" rows="{$input.rows|escape:'html':'UTF-8'}" name="{$input.name|escape:'html':'UTF-8'}_{$language.id_lang|escape:'html':'UTF-8'}" class="{if isset($input.autoload_rte) && $input.autoload_rte}rte autoload_rte{/if} {if isset($input.class)}{$input.class|escape:'html':'UTF-8'}{/if}" >{$fields_value[$input.name][$language.id_lang]|escape:'htmlall':'UTF-8'}</textarea>
</div>
{/foreach}
</div>
{else}
<textarea name="{$input.name|escape:'html':'UTF-8'}" id="{if isset($input.id)}{$input.id|escape:'html':'UTF-8'}{else}{$input.name|escape:'html':'UTF-8'}{/if}" cols="{$input.cols|escape:'html':'UTF-8'}" rows="{$input.rows|escape:'html':'UTF-8'}" {if isset($input.autoload_rte) && $input.autoload_rte}class="rte autoload_rte {if isset($input.class)}{$input.class|escape:'html':'UTF-8'}{/if}"{/if}>{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}</textarea>
{/if}
{else}
{$smarty.block.parent}
{/if}
{if $input.name=='title_alias'&& isset($fields_value['id_contact']) && $fields_value['id_contact']}
<div class="col-lg-9">
{if $languages|count > 1}
{foreach from=$languages item='language'}
<div class="translatable-field lang-{$language.id_lang|intval}" {if $language.id_lang != $defaultFormLanguage}style="display:none"{/if}>
<i class="ets_cfu_page_url">{l s='Form page url:' mod='ets_cfultimate'}</i>&nbsp;<a class="ets_cfu_page_url" target="_blank" href="{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,$language['id_lang']|intval)}">{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,$language['id_lang']|intval)}</a>
</div>
{/foreach}
{else}
<i class="ets_cfu_page_url">{l s='Form page url:' mod='ets_cfultimate'}</i>&nbsp;<a class="ets_cfu_page_url" target="_blank" href="{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval)}">{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval)}</a>
{/if}
</div>
{/if}
{if $input.name=='thank_you_alias'&& isset($fields_value['id_contact']) && $fields_value['id_contact']}
<div class="col-lg-9">
{if $languages|count > 1}
{foreach from=$languages item='language'}
<div class="translatable-field lang-{$language.id_lang|intval}" {if $language.id_lang != $defaultFormLanguage}style="display:none"{/if}>
<i class="ets_cfu_page_url">{l s='Form page url:' mod='ets_cfultimate'}</i>&nbsp;<a class="ets_cfu_page_url" target="_blank" href="{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,$language['id_lang']|intval,'thank')}">{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,$language['id_lang']|intval,'thank')}</a>
</div>
{/foreach}
{else}
<i class="ets_cfu_page_url">{l s='Form page url:' mod='ets_cfultimate'}</i>&nbsp;<a class="ets_cfu_page_url" target="_blank" href="{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,0,'thank')}">{ets_cfultimate::getLinkContactForm($fields_value['id_contact']|intval,0,'thank')}</a>
{/if}
</div>
{/if}
{/block}
{block name="legend"}
<div class="panel-heading">
{if isset($field.image) && isset($field.title)}<img src="{$field.image|escape:'html':'UTF-8'}" alt="{$field.title|escape:'html':'UTF-8'}" />{/if}
{if isset($field.icon)}<i class="{$field.icon|escape:'html':'UTF-8'}"></i>{/if}
{if isset($field.title)}{$field.title|escape:'html':'UTF-8'}{/if}
{if isset($field.new) && $field.new && (!isset($smarty.get.etsCfuEditContact) && !isset($smarty.get.etsCfuAddContact))}
<span class="panel-heading-action">
<a id="desc-contactform-new" class="list-toolbar-btn" href="{$field.new|escape:'html':'UTF-8'}" title="{l s='Add new' mod='ets_cfultimate'}">
<span class="label-tooltip" data-toggle="tooltip" data-original-title="{l s='Add new' mod='ets_cfultimate'}" data-html="true" data-placement="top" title="{l s='Add new' mod='ets_cfultimate'}">
<i class="process-icon-new"></i>
</span>
</a>
</span>
{/if}
</div>
{/block}
{block name="description"}
{if isset($input.desc) && !empty($input.desc)}
<p class="help-block">
{if is_array($input.desc)}
{foreach $input.desc as $p}
{if is_array($p)}
<span id="{$p.id|escape:'html':'UTF-8'}">{$p.text|escape:'html':'UTF-8'}</span>
{else}
{$p|escape:'html':'UTF-8'}
{/if}
{/foreach}
{else}
{$input.desc nofilter}
{/if}
</p>
{/if}
{/block}

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,41 @@
{*
* 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
*}
<h3 class="ets_cfu_title">{l s='Add input field' mod='ets_cfultimate'}</h3>
<div class="ets_cfu_panel_inputs">
{if isset($inputs) && $inputs}
<div class="ets_cfu_input_box tag-generator-list">
{foreach from=$inputs item='input'}
{assign var='enabled' value = isset($input.enabled) && !$input.enabled}
<div class="ets_cfu_input_{$input.id|escape:'html':'utf-8'}">
{if $enabled}<a class="ets_cfu_google_captcha" target="_blank" href="{$google_captcha|escape:'html':'utf-8'}" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></a>{/if}
<a class="thickbox button{if $enabled} disabled{/if}" href="#tag-generator-panel-{$input.id|escape:'html':'utf-8'}">
<div class="ets_cfu_input-img">
<img alt="{$input.label|escape:'html':'utf-8'}" src="{$image_baseurl|cat:'ip_'|cat:$input.id|escape:'html':'utf-8'}.png" /><br />
</div>
{$input.label|escape:'html':'utf-8'}
</a>
{if $enabled}
<span class="ets_cfu_tooltip">{l s='If you want to add reCaptcha type of input field, please navigate to [1]Settings > Integration[/1] subtab first. Enable reCaptcha feature then enter your site key and secret key' tags=['<strong>'] mod='ets_cfultimate'}</span>
{/if}
</div>{/foreach}
</div>{/if}
</div>

View File

@@ -0,0 +1,30 @@
{*
* 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
*}
{include file="./btns.tpl"}
<div class="ets_cfu_row">
{for $ik = 1 to $col}
<div class="ets_cfu_col col{$ik|intval}" data-col="col{$ik|intval}">
<div class="ets_cfu_col_box">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
</div>
</div>
{/for}
</div>

View File

@@ -0,0 +1,63 @@
{*
* 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
*}
<h3 class="ets_cfu_title">{l s='Add row' mod='ets_cfultimate'}</h3>
<div class="ets_cfu_rows">
{*column-1-0*}
<div class="ets_cfu_box style1" data-type="style1" data-order="0">
{include file="./row.tpl" col = 1}
<span class="ets_cfu_title_box"><b>{l s='1 column in a row' mod='ets_cfultimate'}</b></span>
</div>
{*column-2-i*}
{for $type = 0 to 2}
<div class="ets_cfu_box style3{if $type}{$type|intval}{/if}" data-type="style3{if $type}{$type|intval}{/if}" data-order="0">
{include file="./row.tpl" col = 2}
<span class="ets_cfu_title_box">
<b>{l s='2 columns' mod='ets_cfultimate'}</b><br />
{if $type == 0}({l s='same width' mod='ets_cfultimate'})
{elseif $type == 1}({l s='Large right' mod='ets_cfultimate'})
{elseif $type == 2}({l s='Large left' mod='ets_cfultimate'})
{/if}
</span>
</div>
{/for}
{*column-3-i*}
{for $type = 0 to 3}<div class="ets_cfu_box style2{if $type}{$type|intval}{/if}" data-type="style2{if $type}{$type|intval}{/if}" data-order="0">
{include file="./row.tpl" col = 3}
<span class="ets_cfu_title_box">
<b>{l s='3 columns' mod='ets_cfultimate'}</b><br />
{if $type == 0}({l s='same width' mod='ets_cfultimate'})
{elseif $type == 1}({l s='Large right' mod='ets_cfultimate'})
{elseif $type == 2}({l s='Large center' mod='ets_cfultimate'})
{elseif $type == 3}({l s='Large left' mod='ets_cfultimate'})
{/if}
</span>
</div>{/for}
{*column-4-0*}
<div class="ets_cfu_box style4" data-type="style4" data-order="0">
{include file="./row.tpl" col = 4}
<span class="ets_cfu_title_box">
<b>{l s='4 columns' mod='ets_cfultimate'}</b><br />
({l s='same width' mod='ets_cfultimate'})</span>
</div>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,42 @@
{*
* 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
*}
{extends file='page.tpl'}
{block name='breadcrumb'}
<section data-depth="{$breadcrumb.count|intval}" class="breadcrumb hidden-sm-down panel-title">
<div class="container">
<ul itemscope itemtype="http://schema.org/BreadcrumbList" class="nav-breadcrumbs">
{foreach from=$breadcrumb.links item=path name=breadcrumb}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="{$path.url|escape:'html':'UTF-8'}">
<span itemprop="name">{$path.title|escape:'html':'UTF-8'}</span>
</a>
<meta itemprop="position"
content="{$smarty.foreach.breadcrumb.iteration|escape:'html':'UTF-8'}"/>
</li>
{/foreach}
</ul>
<h1 class="panel-title-heading">{$contact->title|escape:'html':'UTF-8'}</h1>
</div>
</section>
{/block}
{block name="page_content"}
{$form_html nofilter}
{/block}

View File

@@ -0,0 +1,26 @@
{*
* 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
*}
{capture name=path}
<a href="{$link_contact|escape:'html':'UTF-8'}">
{$contact->title|escape:'html':'UTF-8'}
</a>
{/capture}
{$form_html nofilter}

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,26 @@
{*
* 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
*}
{extends file='page.tpl'}
<section id="content" class="page-content page-not-found">
{block name='page_content'}
<h4>{l s='Contact form is not available' mod='ets_cfultimate'}</h4>
{/block}
</section>

View File

@@ -0,0 +1,23 @@
{*
* 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
*}
<div class="pagenotfound">
<h1>{l s='Contact form is not available' mod='ets_cfultimate'}</h1>
</div>

View File

@@ -0,0 +1,45 @@
{*
* 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
*}
{extends file='page.tpl'}
{block name='breadcrumb'}
<section data-depth="{$breadcrumb.count|intval}" class="breadcrumb hidden-sm-down panel-title">
<div class="container">
<ul itemscope itemtype="http://schema.org/BreadcrumbList" class="nav-breadcrumbs">
{foreach from=$breadcrumb.links item=path name=breadcrumb}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" href="{$path.url|escape:'html':'UTF-8'}">
<span itemprop="name">{$path.title|escape:'html':'UTF-8'}</span>
</a>
<meta itemprop="position"
content="{$smarty.foreach.breadcrumb.iteration|escape:'html':'UTF-8'}"/>
</li>
{/foreach}
</ul>
{if isset($thank_you_page_title) && $thank_you_page_title}
<h1 class="panel-title-heading">{$thank_you_page_title|escape:'html':'UTF-8'}</h1>
{/if}
</div>
</section>
{/block}
{block name="page_content"}
{$thank_you_message nofilter}
{/block}

View File

@@ -0,0 +1,26 @@
{*
* 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
*}
{capture name=path}
<a href="{$link_contact|escape:'html':'UTF-8'}">
{$contact->title|escape:'html':'UTF-8'}
</a>
{/capture}
{$thank_you_message nofilter}

View File

@@ -0,0 +1,92 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-acceptance" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="acceptance">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='acceptance'}
<tr>
<th scope="row">
<label for="tag-generator-panel-acceptance-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-acceptance-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-acceptance-content">{l s='Condition' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='acceptance' input_name='content'}
</td>
</tr>
<tr>
<th scope="row">{l s='Options' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="default" class="option default"/> {l s='Make this checkbox be checked by default' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
{include file="./desc.tpl" input_type='acceptance'}
<tr>
<th scope="row">
<label for="tag-generator-panel-acceptance-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-acceptance-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-acceptance-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-acceptance-class"/>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_acceptance ets_cfu_input"
data-type="acceptance"
data-name=""
data-invert="0"
data-default="0"
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_acceptance.png'|escape:'html':'utf-8'}" alt="{l s='Acceptance' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('values') default = 'label'}
<p class="ets_cfu_help_block">{l s='Acceptance' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='acceptance'}
</div>
</form>
</div>

View File

@@ -0,0 +1,24 @@
{*
* 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
*}
{hook h='contactFormUltimateTopBlock'}
<div class="cfu-content-block" style="display: none;">
{$html_content nofilter}
</div>

View File

@@ -0,0 +1,45 @@
{*
* 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
*}
<script type="text/javascript">
var link_ajax = '{$link_ajax|escape:'html':'UTF-8'}';
$(document).ready(function () {
$.ajax({
url: link_ajax,
data: 'action=etsCfuGetCountMessageContactForm',
type: 'post',
dataType: 'json',
success: function (json) {
if (parseInt(json.count) > 0) {
if ($('#subtab-AdminContactFormUltimateMessage span').length)
$('#subtab-AdminContactFormUltimateMessage span').append('<span class="count_messages ">' + json.count + '</span>');
else
$('#subtab-AdminContactFormUltimateMessage a').append('<span class="count_messages ">' + json.count + '</span>');
} else {
if ($('#subtab-AdminContactFormUltimateMessage span').length)
$('#subtab-AdminContactFormUltimateMessage span').append('<span class="count_messages hide">' + json.count + '</span>');
else
$('#subtab-AdminContactFormUltimateMessage a').append('<span class="count_messages hide">' + json.count + '</span>');
}
},
});
});
</script>

View File

@@ -0,0 +1,60 @@
{*
* 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
*}
<script type="text/javascript">
var ets_cfu_default_lang = {$ets_cfu_default_lang|intval};
var ets_cfu_is_updating = {$ets_cfu_is_updating|intval};
var PS_ALLOW_ACCENTED_CHARS_URL = true;
var detele_confirm = "{l s='Do you want to delete?' mod='ets_cfultimate'}";
var ets_cfu_msg_email_required = "{l s='Email is required.' mod='ets_cfultimate'}";
var ets_cfu_msg_email_invalid = "{l s='Email %s is invalid.' mod='ets_cfultimate'}";
var ets_cfu_msg_email_exist = "{l s='This email is exist. Please enter another email address.' mod='ets_cfultimate'}";
var ets_cfu_label_delete = "{l s='Delete' mod='ets_cfultimate'}";
var ets_cfu_copy_msg = "{l s='Copied' mod='ets_cfultimate'}";
var ets_cfu_delete_msg = "{l s='Do you want to delete this item?' mod='ets_cfultimate'}";
var ets_cfu_btn_back_label = "{l s='Back' mod='ets_cfultimate'}";
var ets_cfu_btn_close_label = "{l s='Close' mod='ets_cfultimate'}";
var ets_cfu_add_input_field = "{l s='Add input field:' mod='ets_cfultimate'}";
var ets_cfu_edit_input_field = "{l s='Edit input field:' mod='ets_cfultimate'}";
var ets_cfu_add_row_title = "{l s='Add row' mod='ets_cfultimate'}";
var ets_cfu_edit_row_title = "{l s='Edit row' mod='ets_cfultimate'}";
var ets_cfu_languages = {$languages|json_encode};
</script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}contact_form7_admin.js"></script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}other.js"></script>
<div class="cfu-top-menu">
<ul>
<li{if $controller=='AdminContactFormUltimateDashboard'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateDashboard',true)|escape:'html':'UTF-8'}"><i class="icon icon-desktop"> </i> {l s='Dashboard' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateContactForm' || isset($smarty.request.etsCfuEditContact) || isset($smarty.request.etsCfuAddContact)} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}"><i class="icon icon-envelope-o"> </i> {l s='Contact forms' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateMessage'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}"><i class="icon icon-comments"> </i> {l s='Messages' mod='ets_cfultimate'}&nbsp;<span class="count_messages {if !$count_messages}hide{/if}">{$count_messages|intval}</span></a></li>
<li{if $controller=='AdminContactFormUltimateStatistics'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateStatistics',true)|escape:'html':'UTF-8'}"><i class="icon icon-area-chart"> </i> {l s='Statistics' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateIpBlacklist'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateIpBlacklist', true)|escape:'html':'UTF-8'}"><i class="icon icon-user-times"> </i> {l s='IP & Email blacklist' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateEmail' || $controller=='AdminContactFormUltimateImportExport' || $controller=='AdminContactFormUltimateIntegration'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateEmail',true)|escape:'html':'UTF-8'}"><i class="icon icon-cog"> </i> {l s='Settings' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateHelp'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateHelp',true)|escape:'html':'UTF-8'}"><i class="icon icon-question-circle"> </i> {l s='Help' mod='ets_cfultimate'}</a></li>
{if isset($intro) && $intro}
<li class="li_othermodules ">
<a class="{if isset($refsLink) && $refsLink}refs_othermodules{else}link_othermodules{/if}" href="{$other_modules_link|escape:'html':'UTF-8'}" {if isset($refsLink) && $refsLink}target="_blank" {/if}>
<span class="tab-title">{l s='Other modules' mod='ets_cfultimate'}</span>
<span class="tab-sub-title">{l s='Made by ETS-Soft' mod='ets_cfultimate'}</span>
</a></li>
{/if}
</ul>
</div>
<div class="cfu-top-menu-height"></div>

View File

@@ -0,0 +1,28 @@
{*
* 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
*}
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>

View File

@@ -0,0 +1,87 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div class="hidden" id="tag-generator-panel-captcha">
<form data-id="captcha" class="tag-generator-panel bootstrap" action="">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='captcha'}
<tr>
<th scope="row">
<label for="tag-generator-panel-captcha">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-captcha"/>
</td>
</tr>
<tr>
<th scope="row">{l s='Theme' mod='ets_cfultimate'}</th>
<td>
<div class="ets_cfu_input_groups">
<label>
<input type="radio" checked="checked" value="basic" id="tag-generator-panel-captcha-theme-basic" class="option default" name="theme"/>{l s='Basic' mod='ets_cfultimate'}
</label>
<label>
<input type="radio" value="colorful" id="tag-generator-panel-captcha-theme-colorful" class="option" name="theme"/>{l s='Colorful' mod='ets_cfultimate'}
</label>
</div>
</td>
</tr>
{include file="./desc.tpl" input_type='captcha'}
<tr>
<th scope="row">
<label for="tag-generator-panel-captcha-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-captcha-id" class="idvalue oneline option" name="id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-captcha-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" id="tag-generator-panel-captcha-class" class="classvalue oneline option" name="class"/>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_captcha ets_cfu_input"
data-type="captcha"
data-name=""
data-theme="basic"
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_captcha.png'|escape:'html':'utf-8'}" alt="{l s='Input captcha' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('values', 'content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Captcha' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type = 'captcha'}
</div>
</form>
</div>

View File

@@ -0,0 +1,96 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-checkbox" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="checkbox">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='checkbox'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/> {l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-checkbox-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-checkbox-name"/>
</td>
</tr>
<tr>
<th scope="row">{l s='Options' mod='ets_cfultimate'}</th>
<td>
<fieldset>
{include "./values.tpl" element='checkbox' input='textarea'}
<p class="description"> {l s='One option per line. It also allows to set custom label, custom value and default value following this structure: label|value:default' mod='ets_cfultimate'}.</p>
<label><input type="checkbox" name="label_first" class="option"/> {l s='Put a label first, a checkbox last' mod='ets_cfultimate'}</label>
<label><input type="checkbox" name="each_a_line" class="option"/> {l s='Each option in a line' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
{include file="./desc.tpl" input_type='checkbox'}
<tr>
<th scope="row">
<label for="tag-generator-panel-checkbox-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-checkbox-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-checkbox-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-checkbox-class"/>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_checkbox ets_cfu_input"
data-type="checkbox"
data-required="0"
data-name=""
data-label_first="0"
data-exclusive="0"
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_checkbox.png'|escape:'html':'utf-8'}" alt="{l s='Input checkbox' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default='label'}
<p class="ets_cfu_help_block">{l s='Checkbox' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='checkbox'}
</div>
</form>
</div>

View File

@@ -0,0 +1,48 @@
{*
* 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}

View File

@@ -0,0 +1,195 @@
{*
* 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
*}
<script type="text/javascript">
var ets_cfu_line_chart = '{$ets_cfu_line_chart|json_encode}';
var ets_cfu_lc_labels = '{$ets_cfu_lc_labels|json_encode}';
var ets_cfu_lc_title = "{l s='Statistic' mod='ets_cfultimate'}";
var ets_cfu_y_max = {$y_max_value|intval};
var text_add_to_black_list = "{l s='Add IP address to blacklist successful' js='1' mod='ets_cfultimate' }";
var detele_log = "{l s='If you clear \"View log\", view chart will be reset. Do you want to do that?' js='1' mod='ets_cfultimate' }";
</script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}chart.js"></script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}common.js"></script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}dashboard.js"></script>
{hook h='contactFormUltimateTopBlock'}
<div class="cfu-content-block">
<div class="row manage_form_items">
<div class="col-xs-12 col-md-6 col-sm-12">
<div class="panel ets-cfu-panel">
<div class="panel-header">
<p class="panel-title"><i class="fa fa-th"></i> {l s='Contact Management' mod='ets_cfultimate'}</p>
</div>
<div class="panel-content mt-15">
<div class="row">
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_contactform.png" /><br />
<h4 class="title">{l s='Contact Forms' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_message.png" />{if $ets_cfu_total_message}<span class="ets-cfu-messages">{$ets_cfu_total_message|intval}</span>{/if}<br />
<h4 class="title">{l s='Messages' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateEmail',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_temp.png" /><br />
<h4 class="title">{l s='Email Templates' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateImportExport',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_backup.png" /><br />
<h4 class="title">{l s='Import/Export' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateIntegration',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_integration.png" />
<h4 class="title">{l s='Integration' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateStatistics',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_statistics.png" />
<h4 class="title">{l s='Statistics' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateIpBlacklist',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_blacklist.png" />
<h4 class="title">{l s='IP & Email blacklist' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
<div class="manage_item col-xs-4 col-sm-6 col-md-3">
<a href="{$link->getAdminLink('AdminContactFormUltimateHelp',true)|escape:'html':'UTF-8'}">
<div class="ets-cfu-box">
<div class="ets-cfu-box-content">
<img src="{$ets_cfu_img_dir_path|escape:'html':'utf-8'}i_help.png" />
<h4 class="title">{l s='Help' mod='ets_cfultimate'}</h4>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 col-sm-12">
<div class="panel ets-cfu-panel">
<div class="panel-header">
<span class="panel-title"><i class="fa fa-bar-chart"></i> {l s='Contact Traffic' mod='ets_cfultimate'}</span>
{if isset($filters) && $filters}<ul class="ets_cfu_filter">
{foreach from=$filters item = 'filter'}
<li class="ets_cfu_item_filter item{$filter.id|escape:'html':'utf-8'}{if $filter_active == $filter.id} active{/if}">
<a href="{$action|cat:'&filter='|cat:$filter.id|escape:'html':'utf-8'}" title="{$filter.label|escape:'html':'utf-8'}">{$filter.label|escape:'html':'utf-8'}</a>
</li>
{/foreach}
</ul>{/if}
</div>
<div class="panel-content dashboar_traffix">
<div class="row">
<div class="col-md-7 col-lg-8">
<div class="ets_cfu_admin_chart">
<div class="ets_cfu_line_chart">
<h4 class="ets_cfu_title_chart">{l s='Statistics' mod='ets_cfultimate'}</h4>
<canvas id="ets_cfu_line_chart" style="width:100%; height: 300px;"></canvas>
<a class="ets_cfu_statistics_link" href="{$ets_cfu_link->getAdminLink('AdminContactFormUltimateStatistics',true)|escape:'html':'UTF-8'}">{l s='View more' mod='ets_cfultimate'}</a>
</div>
</div>
</div>
<div class="col-md-5 col-lg-4">
<div class="ets_cfu_dashboard-logs">
<h5>{l s='Last visits' mod='ets_cfultimate'}</h5>
{if $ets_cfu_logs}
<ul>{foreach from=$ets_cfu_logs item=log}
<li>
<span class="browser-icon {$log.class|escape:'html':'UTF-8'}"></span> {$log.browser|escape:'html':'UTF-8'}<br>
<a class="log_ip" href="https://www.infobyip.com/ip-{$log.ip|escape:'html':'utf-8'}.html" title="{l s='View location' mod='ets_cfultimate'}" target="_blank">{$log.ip|escape:'html':'utf-8'}</a>
<span class="log_date">{$log.datetime_added|escape:'html':'utf-8'}</span>
</li>
{/foreach}</ul>
{if $ets_cfu_logs|count >=5}<a class="ets_cfu_statistics_link" href="{$ets_cfu_link->getAdminLink('AdminContactFormUltimateStatistics',true)|escape:'html':'UTF-8'}">{l s='View more' mod='ets_cfultimate'}</a>{/if}
{else}
<ul>
<li>{l s='No views log' mod='ets_cfultimate'}</li>
</ul>
{/if}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row form_dashboard-card">
<div class="col-md-12">
{if isset($ets_cfu_stats) && $ets_cfu_stats}{foreach from=$ets_cfu_stats item='stat'}
<div class="dashboard-card card-{$stat.color|escape:'html':'utf-8'}">
<div class="dashboard-card-content">
<div class="pull-left">
<h2 class="value1">{$stat.value1|intval} <span class="value2">{$stat.value2|escape:'html':'utf-8'}</span></h2>
<span class="color">{$stat.label|escape:'html':'utf-8'}</span>
</div>
<div class="pull-right">
<div class="fa fa-{$stat.icon|escape:'html':'utf-8'} fa-2x"></div>
</div>
<div class="clearfix"></div>
<div class="percentage"><span class="percentage_content" style="width: {$stat.percent|escape:'html':'utf-8'}%"></span></div>
<a href="{$stat.link|escape:'html':'utf-8'}" class="dashboard-card-link">{l s='View more' mod='ets_cfultimate'}</a>
</div>
</div>
{/foreach}{/if}
</div>
</div>
</div>

View File

@@ -0,0 +1,98 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-date" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="date">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='date'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-date-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-date-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-date-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='date'}
<label>
<input type="checkbox" name="placeholder" class="option"/>{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}
</label>
<label>
<input type="checkbox" name="time" class="option"/>{l s='Allow customer to select time "hour and minute"' mod='ets_cfultimate'}
</label>
</td>
</tr>
{include file="./desc.tpl" input_type='date'}
<tr>
<th scope="row">
<label for="tag-generator-panel-date-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-date-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-date-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-date-class"/>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_date ets_cfu_input"
data-type="date"
data-time="0"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_date.png'|escape:'html':'utf-8'}" alt="{l s='Input date' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Date' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='date'}
</div>
</form>
</div>

View File

@@ -0,0 +1,23 @@
{*
* 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 isset($define) && $define}{if $define == 'shop_logo'}
<img src="{literal}{shop_logo}{/literal}"/>
{/if}{/if}

View File

@@ -0,0 +1,56 @@
{*
* 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
*}
<tr>
<th scope="row"><label for="tag-generator-panel-{$input_type|escape:'html':'UTF-8'}-desc">{l s='Description' mod='ets_cfultimate'}</label></th>
<td>
{if $is_multi_lang}
<div class="ets_cfu_input_groups">
{/if}
{foreach $languages as $language}
{if $is_multi_lang}
<div class="translatable-field lang-{$language.id_lang|intval}"{if $is_multi_lang} data-lang="{$language.id_lang|intval}"{/if}{if $language.id_lang != $defaultFormLanguage} style="display:none"{/if}>
<div class="col-lg-10">
{/if}
<textarea type="text" data-unique="desc"
name="desc_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"
class="oneline cfu-desc is-multi-lang"
id="tag-generator-panel-{$input_type|escape:'html':'UTF-8'}-desc_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"></textarea>
{if $is_multi_lang}
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" tabindex="-1" data-toggle="dropdown">
{$language.iso_code|escape:'quotes'}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{foreach from=$languages item=language}
<li><a href="javascript:hideOtherLanguage({$language.id_lang|intval});" tabindex="-1">{$language.name|escape:'html':'utf-8'}</a></li>
{/foreach}
</ul>
</div>
</div>
{/if}
{/foreach}
{if $is_multi_lang}
</div>
{/if}
</td>
</tr>

View File

@@ -0,0 +1,102 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-email" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="email">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='email'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<label><input type="checkbox" name="required"/>&nbsp;{l s='Required field' mod='ets_cfultimate'}</label>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-email-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-email-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label>{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='email'}
<label>
<input type="checkbox" name="placeholder" class="option"/> {l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}
</label>
<label>
<input type="checkbox" name="default" class="default" value="user_email"/>{l s='Use customer email as default value' mod='ets_cfultimate'}
</label>
</td>
</tr>
{include file="./desc.tpl" input_type='email'}
<tr>
<th scope="row">
<label>{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option"/>
</td>
</tr>
<tr>
<th scope="row">
<label>{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option"/>
</td>
</tr>
<tr>
<th scope="row"></th>
<td>
<label><input type="checkbox" name="mailtag" class="mail-tag email"/>{l s='Is contact email' mod='ets_cfultimate'}</label>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_email ets_cfu_input"
data-type="email"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class=""
data-mailtag="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_email.png'|escape:'html':'utf-8'}" alt="{l s='Input email' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Email' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type = 'email'}
</div>
</form>
</div>

View File

@@ -0,0 +1,101 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div class="hidden" id="tag-generator-panel-file">
<form data-id="file" class="tag-generator-panel bootstrap" action="">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='file'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox"
name="required"/> {l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><label
for="tag-generator-panel-file-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td><input type="text" id="tag-generator-panel-file-name" class="tg-name oneline" name="name"/>
</td>
</tr>
<tr>
<th scope="row"><label
for="tag-generator-panel-file-limit">{l s='File size limit (bytes)' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" id="tag-generator-panel-file-limit" class="filesize oneline option" name="limit"/>
{if isset($max_upload_file) && $max_upload_file}
<span class="help-block">{l s='Maximum size : ' mod='ets_cfultimate'} {$max_upload_file|escape:'html':'UTF-8'} {l s='megabytes' mod='ets_cfultimate'}</span>
{/if}
</td>
</tr>
<tr>
<th scope="row"><label
for="tag-generator-panel-file-filetypes">{l s='Acceptable file types' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-file-filetypes" class="filetype oneline option" name="filetypes"/>
<span class="help-block">{l s='Eg: gif|png|jpg|jpeg' mod='ets_cfultimate'}</span>
</td>
</tr>
{include file="./desc.tpl" input_type='file'}
<tr>
<th scope="row"><label
for="tag-generator-panel-file-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-file-id" class="idvalue oneline option"
name="id"/></td>
</tr>
<tr>
<th scope="row"><label
for="tag-generator-panel-file-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-file-class" class="classvalue oneline option"
name="class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_file ets_cfu_input"
data-type="file"
data-required="0"
data-name=""
data-limit=""
data-filetypes=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_file.png'|escape:'html':'utf-8'}" alt="{l s='Input file' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('values') default='label'}
<p class="ets_cfu_help_block">{l s='File' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='file'}
</div>
</form>
</div>

View File

@@ -0,0 +1,43 @@
{*
* 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
*}
{hook h='contactFormUltimateTopBlock'}
<div class="ets_cfu_errors">
{if isset($errors) && $errors}{$errors nofilter}{/if}
</div>
{assign var='controller' value = $smarty.get.controller}
{assign var="wrapTab" value=($controller == 'AdminContactFormUltimateEmail' || $controller == 'AdminContactFormUltimateImportExport' || $controller == 'AdminContactFormUltimateIntegration')}
{if $wrapTab}
<div class="ets_cfu_wrapper">
<div class="ets_cfu_group_wrapper">
<h3 class="ets_cfu_title">{l s='Settings' mod='ets_cfultimate'}</h3>
<ul class="ets_cfu_menu_left">
<li{if $controller=='AdminContactFormUltimateEmail'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateEmail',true)|escape:'html':'UTF-8'}"><i class="icon icon-file-text-o"> </i> {l s='Email templates' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateImportExport'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateImportExport',true)|escape:'html':'UTF-8'}"><i class="icon icon-exchange"> </i> {l s='Import/Export' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateIntegration'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateIntegration',true)|escape:'html':'UTF-8'}"><i class="icon icon-cogs"> </i> {l s='Integration' mod='ets_cfultimate'}</a></li>
</ul>
<div class="ets_cfu_setting_wrapper">{/if}
<div class="cfu-content-block" style="display: none;">
{$form_config nofilter}
</div>
{if $wrapTab}
</div>
</div>
</div>{/if}

View File

@@ -0,0 +1,32 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<span {foreach from=$atts key='key' item='item'} {if $item} {$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}" {/if} {/foreach} >
{if $content}
<span class="wpcfu-list-item"><label><input {foreach from=$item_atts key='key' item='item'}{if $item} {$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}" {/if}{/foreach} /> <span
class="wpcfu-list-item-label">{$content nofilter}</span></label></span>
{else}
<span class="wpcfu-list-item"><input {foreach from=$item_atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}" {/if}{/foreach} /></span>
{/if}
</span>
{$validation_error|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,36 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<img class="pa-captcha-img-data" src="{$link_captcha_image|escape:'html':'UTF-8'}" data-rand="{$rand|escape:'html':'UTF-8'}"/>
<span class="pa-captcha-refesh" data-rand="{$rand|escape:'html':'UTF-8'}">
<img title="{l s='Refresh the code' mod='ets_cfultimate'}" alt="{l s='Refresh the code' mod='ets_cfultimate'}" src="{$url_base|escape:'html':'UTF-8'}/modules/ets_cfultimate/views/img/refresh.png"/>
</span>
<input
{if $atts}
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
{/if}
/>
{$validation_error|escape:'html':'UTF-8'}
</span>

View File

@@ -0,0 +1,24 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<span {foreach from=$atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} > {$html nofilter}</span>
{$validation_error|escape:'html':'UTF-8'}
</span>

View File

@@ -0,0 +1,27 @@
{*
* 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
*}
<span
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
> {$value|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,28 @@
{*
* 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
*}
{assign var="form_data" value=array('label', 'short_code', 'values', 'desc', 'content')}
<div class="ets_cfu_form_data">
{foreach $languages as $language}
{foreach from=$form_data item='type'}
{if !in_array($type, $excludes)}<span class="ets_cfu_{$type|escape:'html':'utf-8'}_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"{if $type != $default || ($is_multi_lang && $language.id_lang != $defaultFormLanguage)} style="display:none;"{/if}></span>{/if}
{/foreach}
{/foreach}
</div>

View File

@@ -0,0 +1,29 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<input
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>
{$validation_error|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,41 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<span class="custom_choosefile">
<input
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>
{*<span class="button_choosefile">
{l s='Choose file' mod='ets_cfultimate'}
</span>*}
</span>
{$validation_error|escape:'html':'UTF-8'}
{if $type_file || $limit_zie}
<span class="file_type_des">
{if $limit_zie}{l s='Limit size:' mod='ets_cfultimate'}&nbsp;{$limit_zie|escape:'html':'UTF-8'}{/if}
{if $type_file}&nbsp;{l s='File types:' mod='ets_cfultimate'}&nbsp;{$type_file|escape:'html':'UTF-8'}{/if}
</span>
{/if}
</span>

View File

@@ -0,0 +1,27 @@
{*
* 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
*}
<input
{foreach from=$atts key='key' value='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>

View File

@@ -0,0 +1,28 @@
{*
* 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
*}
<div
{foreach from=$atts key='key' item='item'}
{if $item && $item != 'value'}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}>
{$content nofilter}
</div>

View File

@@ -0,0 +1,88 @@
{*
* 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
*}
{hook h='contactFormUltimateTopBlock'}
<div class="ets_cfu_errors">
{if isset($errors) && $errors}{$errors nofilter}{/if}
</div>
{assign var='controller' value = $smarty.get.controller}
{assign var="wrapTab" value=($controller == 'AdminContactFormUltimateEmail' || $controller == 'AdminContactFormUltimateImportExport' || $controller == 'AdminContactFormUltimateIntegration')}
<div class="ets_cfu_wrapper">
<div class="ets_cfu_group_wrapper">
<h3 class="ets_cfu_title">{l s='Settings' mod='ets_cfultimate'}</h3>
<ul class="ets_cfu_menu_left">
<li{if $controller=='AdminContactFormUltimateEmail'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateEmail',true)|escape:'html':'UTF-8'}"><i class="icon icon-file-text-o"> </i> {l s='Email templates' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateImportExport'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateImportExport',true)|escape:'html':'UTF-8'}"><i class="icon icon-exchange"> </i> {l s='Import/Export' mod='ets_cfultimate'}</a></li>
<li{if $controller=='AdminContactFormUltimateIntegration'} class="active"{/if}><a href="{$link->getAdminLink('AdminContactFormUltimateIntegration',true)|escape:'html':'UTF-8'}"><i class="icon icon-cogs"> </i> {l s='Integration' mod='ets_cfultimate'}</a></li>
</ul>
<div class="ets_cfu_setting_wrapper">
<div class="cfu-content-block">
<form id="module_form" class="defaultForm form-horizontal" novalidate="" enctype="multipart/form-data" method="post"
action="">
<div id="fieldset_0" class="panel">
<div class="panel-heading"><i class="icon-exchange"></i>&nbsp;
{l s='Import/export' mod='ets_cfultimate'}</div>
<div class="form-wrapper">
<div class="form-group export_import">
<div class="ctf_export_form_content">
<div class="ctf_export_option">
<div class="export_title">{l s='Export contact forms' mod='ets_cfultimate'}</div>
<p>{l s='Export form configurations of all contact forms of the current shop that you are viewing' mod='ets_cfultimate'}</p>
<a href="{$link->getAdminlink('AdminModules',true)|escape:'html':'UTF-8'}&configure=ets_cfultimate&tab_module=front_office_features&module_name=ets_cfultimate&etsCfuExportContactForm=1"
class="btn btn-default mm_export_menu">
<i class="fa fa-download"></i>{l s='Export contact forms' mod='ets_cfultimate'}
</a>
</div>
<div class="ctf_import_option">
<div class="export_title">{l s='Import contact forms' mod='ets_cfultimate'}</div>
<p>{l s='Import contact forms to the current shop that you are viewing for quick configuration. This is useful when you want to migrate contact forms between websites' mod='ets_cfultimate'}</p>
<div class="ctf_import_option_updata">
<label for="contactformdata">{l s='Data file' mod='ets_cfultimate'}</label>
<input type="file" name="contactformdata" id="contactformdata"/>
</div>
<div class="cft_import_option_clean">
<input type="checkbox" name="importdeletebefore" id="importdeletebefore" value="1"/>
<label for="importdeletebefore">{l s='Delete all contact forms before importing' mod='ets_cfultimate'}</label>
</div>
<div class="cft_import_option_clean">
<input type="checkbox" name="importoverride" id="importoverride" value="1"/>
<label for="importoverride">{l s='Override all forms with the same IDs' mod='ets_cfultimate'}</label>
</div>
<div class="cft_import_option_button">
<input type="hidden" value="1" name="importContactform"/>
<div class="etsCfuImportContactSubmit">
<i class="fa fa-compress"></i>
<input type="submit" class="btn btn-default cft_import_menu"
name="etsCfuImportContactSubmit"
value="{l s='Import contact forms' mod='ets_cfultimate'}"/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,47 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'} {if isset($atts.type) && $atts.type == 'number'}access_numer{/if}">
{if $atts.type=='range' && isset($atts.min)}
<span class="rang-min">{$atts.min|escape:'html':'UTF-8'}</span>
{/if}
{if $atts.type=='range' && isset($atts.max)}
<span class="rang-max">{$atts.max|escape:'html':'UTF-8'}</span>
{/if}
{if $atts.type=='range'}
<span class="rang-value">&nbsp;</span>
{/if}
<input
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>
{*{if isset($atts['maxlength']) && $atts['maxlength'] && 'range' !== $atts.type}
<span class="number_max"><span class="index_type">0</span>/{$atts['maxlength']}</span>
{/if}*}
{if isset($atts.type) && $atts.type == 'number'}
<span class="number_select">
<span class="number_plus"></span>
<span class="number_minus"></span>
</span>
{/if}
{$validation_error|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,29 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<input
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>
{$validation_error|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,36 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<label>
<span class="wpcfu-quiz-label">{$question|escape:'html':'UTF-8'}</span>
<input
{if $atts}
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
{/if}
/>
</label><input type="hidden" name="_ets_cfu_quiz_answer_{$tag_name|escape:'html':'UTF-8'}"
value="{$answer|escape:'html':'UTF-8'}"/>
{$validation_error|escape:'html':'UTF-8'}
</span>

View File

@@ -0,0 +1,24 @@
{*
* 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
*}
<div class="ets_cfu_form-control-wrap">
<div {foreach from=$atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach}></div>
{$html nofilter}
</div>

View File

@@ -0,0 +1,30 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<select {foreach from=$atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} >
{$html nofilter}
</select>
{if isset($atts.multiple) && $atts.multiple }
{else}
<span class="select_arrow"></span>
{/if}
{$validation_error|escape:'html':'UTF-8'}
</span>

View File

@@ -0,0 +1,21 @@
{*
* 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
*}
<input {foreach from=$atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} />

View File

@@ -0,0 +1,35 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<input
{foreach from=$atts key='key' item='item'}
{if $item}
{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"
{/if}
{/foreach}
/>
{if isset($atts['maxlength']) && $atts['maxlength']}
<span class="number_max"><span class="index_type">0</span>/{$atts['maxlength']|escape:'html':'UTF-8'}</span>
{/if}
{if isset($show_hide_password) && $show_hide_password}
<span class="ets_cfu_show_hide"><i class="fa fa-eye-slash" aria-hidden="true"></i></span>
{/if}
{$validation_error|escape:'html':'UTF-8'}</span>

View File

@@ -0,0 +1,27 @@
{*
* 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
*}
<span class="ets_cfu_form-control-wrap {$html_class|escape:'html':'UTF-8'}">
<textarea {foreach from=$atts key='key' item='item'}{if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}" {/if}{/foreach} >{$value|escape:'html':'UTF-8'}</textarea>
{$validation_error|escape:'html':'UTF-8'}
{if isset($atts['maxlength']) && $atts['maxlength']}
<span class="number_max"><span class="index_type">0</span>/{$atts['maxlength']|escape:'html':'UTF-8'}</span>
{/if}
</span>

View File

@@ -0,0 +1,36 @@
{*
* 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
*}
<script type="text/javascript">
var url_basic_ets = '{$url_basic|escape:'html':'UTF-8'}';
var link_contact_ets = '{$link_contact_ets nofilter}';
var ets_cfu_recaptcha_enabled = {if isset($rc_enabled) && $rc_enabled}1{else}0{/if};
var iso_code = '{if isset($iso_code) && $iso_code}{$iso_code|escape:'html':'UTF-8'}{/if}';
{if isset($rc_enabled) && $rc_enabled}
var ets_cfu_recaptcha_v3 = {$rc_v3|intval};
var ets_cfu_recaptcha_key = "{$rc_key|escape:'html':'utf-8'}";
{/if}
{if isset($hidden_referrence) && $hidden_referrence}
var hidden_referrence = {$hidden_referrence|intval};
{/if}
</script>
{if isset($rc_enabled) && $rc_enabled}
<script src="https://www.google.com/recaptcha/api.js?hl={$iso_code|escape:'html':'utf-8'}{if $rc_v3}&render={$rc_key|escape:'html':'utf-8'}{/if}"></script>
{/if}

View File

@@ -0,0 +1,42 @@
{*
* 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
*}
{hook h='contactFormUltimateTopBlock'}
<div class="cfu-content-block">
<div class="panel ctf7_backend_help">
<div class="panel-heading">
<i class="icon-question-circle"></i> {l s='Help' mod='ets_cfultimate'}
</div>
<p>{l s='Click on the following link to download the documentation of this module' mod='ets_cfultimate'}: <a target="_blank" href="{$link_doc|escape:'html':'utf-8'}">{l s='Download documentation' mod='ets_cfultimate'}</a></p>
<p>{l s='Below are some notes you should pay attention to while using [1]Contact Form Ultimate:[/1]' tags = ['<strong>'] mod='ets_cfultimate'}</p>
<h4>{l s='Contact Forms' mod='ets_cfultimate'}</h4>
<p>{l s='When creating a new contact form, if you click on [1]"Add new input field/row to create your contact form"[/1] link and select an input field, by default this input field will be put on a full-width row (1 column)' tags=['<strong>'] mod='ets_cfultimate'}.</p>
<p>{l s='To add reCAPTCHA input field, you need to enable reCAPTCHA first. Navigate to [1]"Settings > Integration > reCAPTCHA"[/1], enable reCAPTCHA option and enter your key pair.' tags=['<strong>'] mod='ets_cfultimate'}</p>
<p>{l s='For how to get reCAPTCHA site key and secret key, please read our module documentation' mod='ets_cfultimate'}</p>
<p>{l s='To be able to reply customer messages directly on back office, you need your customer email address. When building a contact form, make sure to add an email input field and mark it as required field.' mod='ets_cfultimate'}</p>
<h4>{l s='Email configurations' mod='ets_cfultimate'}</h4>
<p>{l s='To get the info from your contact form to the email send to admin or auto responder email, please copy and paste the respective mail-tags into [1]"Message body"[/1] field in [1]"Contact Forms > Mail"[/1] subtab' tags=['<strong>'] mod='ets_cfultimate'}</p>
<p>{l s='To receive attachment file from your customer via email, please navigate to [1]"Contact Forms > Mail"[/1] and check the [1]"File attachment"[/1] box.' tags=['<strong>'] mod='ets_cfultimate'}</p>
<p>{l s='To receive attachment file from your customer via “Messages” tab, please navigate to [1]"Contact Forms > Settings"[/1] and turn on the [1]"Save attachments"[/1] option.' tags=['<strong>'] mod='ets_cfultimate'}</p>
</div>
</div>

View File

@@ -0,0 +1,77 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-html" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="html">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='html'}
<tr>
<th scope="row">
<label for="tag-generator-panel-html-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-html-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-html-content">{l s='Html' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='html' input_name='content' input='textarea'}
<p class="ets_cfu_help_block help-block">{l s='Custom HTML code to display on the front office (Google map embedded code, Youtube video embedded code, custom text, image, etc.)' mod='ets_cfultimate'}</p>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-html-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-html-id"/></td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-html-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-html-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_html ets_cfu_input"
data-type="html"
data-name=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_html.png'|escape:'html':'utf-8'}" alt="{l s='HTML' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('desc', 'values') default = 'label'}
<p class="ets_cfu_help_block">{l s='HTML' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='html'}
</div>
</form>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,328 @@
{*
* 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
*}
{assign var="is_multi_lang" value=$languages|count > 1}
{if $type == 'rf'}
<div class="ets_cfu_box style3" data-type="style3" data-order="0">
<div class="ets_cfu_btn">
<span class="ets_cfu_btn_edit"
title="{l s='Edit' mod='ets_cfultimate'}">{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy"
title="{l s='Duplicate' mod='ets_cfultimate'}">{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete"
title="{l s='Delete' mod='ets_cfultimate'}">{l s='Delete' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_drag_drop"
title="{l s='Drag drop' mod='ets_cfultimate'}">{l s='Drag drop' mod='ets_cfultimate'}</span>
</div>
<div class="ets_cfu_row">
<div class="ets_cfu_col col1" data-col="col1">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_text ets_cfu_input" data-type="text" data-required="1"
data-name="text-652" data-placeholder="" data-id="" data-class="" data-mailtag="1"
data-default="user_first_name">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_text.png" alt="Input text">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_label_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>First Name</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">First Name*[text* text-652 default:user_full_name]</span>
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;">First Name*[text* text-652 default:user_full_name]</span>{/foreach}
{else}
<span class="ets_cfu_label_{$id_lang_default|intval}">First Name</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">First Name*[text* text-652 default:user_full_name]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>{/if}
</div>
<p class="ets_cfu_help_block">Text</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}">
<i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
<div class="ets_cfu_col col2" data-col="col2">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_text ets_cfu_input" data-type="text" data-required="1" data-name="text-85"
data-placeholder="" data-id="" data-class="" data-mailtag="0" data-default="user_last_name">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_text.png" alt="Input text">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_label_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>Last Name</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">Last Name*[text* text-85 default:user_last_name]</span>
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;"></span>
{/foreach}
{else}
<span class="ets_cfu_label_{$id_lang_default|intval}">Last Name</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">Last Name*[text* text-85 default:user_last_name]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>
{/if}
</div>
<p class="ets_cfu_help_block">Text</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ets_cfu_box style3" data-type="style3" data-order="0">
<div class="ets_cfu_btn">
<span class="ets_cfu_btn_edit"
title="{l s='Edit' mod='ets_cfultimate'}">{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy"
title="{l s='Duplicate' mod='ets_cfultimate'}">{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete"
title="{l s='Delete' mod='ets_cfultimate'}">{l s='Delete' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_drag_drop"
title="{l s='Drag drop' mod='ets_cfultimate'}">{l s='Drag drop' mod='ets_cfultimate'}</span>
</div>
<div class="ets_cfu_row">
<div class="ets_cfu_col col1" data-col="col1">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_email ets_cfu_input" data-type="email" data-required="1"
data-name="email-668" data-placeholder="" data-id="" data-class="" data-mailtag="1">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_email.png"
alt="{l s='Input email' mod='ets_cfultimate'}">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_label_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>Email</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">
Email*[email* email-668 default:user_email]</span>{/foreach}
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;"></span>
{else}
<span class="ets_cfu_label_{$id_lang_default|intval}">Email</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">Email*[email* email-668 default:user_email]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>
{/if}
</div>
<p class="ets_cfu_help_block">{l s='Email' mod='ets_cfultimate'}</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
<div class="ets_cfu_col col2" data-col="col2">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_tel ets_cfu_input" data-type="tel" data-required="0" data-name="tel-534"
data-placeholder="" data-id="" data-class="">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_tel.png"
alt="{l s='Input telephone' mod='ets_cfultimate'}">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_label_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>Phone</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">Phone[tel tel-534]</span>
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;"></span>
{/foreach}
{else}
<span class="ets_cfu_label_{$id_lang_default|intval}">Phone</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">Phone[tel tel-534]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>
{/if}
</div>
<p class="ets_cfu_help_block">{l s='Telephone' mod='ets_cfultimate'}</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ets_cfu_box style1" data-type="style1" data-order="0">
<div class="ets_cfu_btn">
<span class="ets_cfu_btn_edit"
title="{l s='Edit' mod='ets_cfultimate'}">{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy"
title="{l s='Duplicate' mod='ets_cfultimate'}">{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete"
title="{l s='Delete' mod='ets_cfultimate'}">{l s='Delete' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_drag_drop"
title="{l s='Drag drop' mod='ets_cfultimate'}">{l s='Drag drop' mod='ets_cfultimate'}</span>
</div>
<div class="ets_cfu_row">
<div class="ets_cfu_col col1" data-col="col1">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i
class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_textarea ets_cfu_input" data-type="textarea" data-required="1"
data-name="textarea-261" data-placeholder="" data-id="" data-class="">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_textarea.png"
alt="{l s='Textarea' mod='ets_cfultimate'}">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_label_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>Message</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">Message*[textarea* textarea-261]</span>
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;"></span>
{/foreach}
{else}
<span class="ets_cfu_label_{$id_lang_default|intval}">Message</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">Message*[textarea* textarea-261]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>
{/if}
</div>
<p class="ets_cfu_help_block">{l s='Textarea' mod='ets_cfultimate'}</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
</div>
<span class="ets_cfu_title_box">{l s='1 column in a row' mod='ets_cfultimate'}</span>
</div>
<div class="ets_cfu_box style1" data-type="style1" data-order="0">
<div class="ets_cfu_btn">
<span class="ets_cfu_btn_edit"
title="{l s='Edit' mod='ets_cfultimate'}">{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy"
title="{l s='Duplicate' mod='ets_cfultimate'}">{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete"
title="{l s='Delete' mod='ets_cfultimate'}">{l s='Delete' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_drag_drop"
title="{l s='Drag drop' mod='ets_cfultimate'}">{l s='Drag drop' mod='ets_cfultimate'}</span>
</div>
<div class="ets_cfu_row">
<div class="ets_cfu_col col1" data-col="col1">
<div class="ets_cfu_col_box ui-sortable">
<span class="ets_cfu_add_input"><i class="icon-plus-circle"></i>&nbsp;{l s='Add input field' mod='ets_cfultimate'}</span>
<div class="ets_cfu_input_submit ets_cfu_input" data-type="submit" data-required="0"
data-name="submit-992" data-placeholder="" data-id="" data-class="">
<div class="ets_cfu_input_generator">
<img src="{$icon_link|escape:'html':'utf-8'}ip_submit.png"
alt="{l s='Submit' mod='ets_cfultimate'}">
<div class="ets_cfu_form_data">
{if $is_multi_lang}{foreach from=$languages item='lang'}
<span class="ets_cfu_values_{$lang.id_lang|intval}"{if $lang.id_lang != $id_lang_default} style="display:none;"{/if}>Send</span>
<span class="ets_cfu_short_code_{$lang.id_lang|intval}" style="display:none;">[submit submit-992 "Send"]</span>
<span class="ets_cfu_values_{$lang.id_lang|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$lang.id_lang|intval}" style="display:none;"></span>
{/foreach}
{else}
<span class="ets_cfu_values_{$id_lang_default|intval}">Send</span>
<span class="ets_cfu_short_code_{$id_lang_default|intval}" style="display:none;">[submit submit-992 "Send"]</span>
<span class="ets_cfu_values_{$id_lang_default|intval}" style="display:none;"></span>
<span class="ets_cfu_desc_{$id_lang_default|intval}" style="display:none;"></span>
{/if}
</div>
<p class="ets_cfu_help_block">{l s='Submit' mod='ets_cfultimate'}</p>
</div>
<div class="ets_cfu_btn_input">
<span class="settings_icon" title="{l s='Setting' mod='ets_cfultimate'}"><i class="fa fa-cog"></i></span>
<div class="settings_icon_content">
<span class="ets_cfu_btn_edit_input" title="{l s='Edit' mod='ets_cfultimate'}"><i class="fa fa-pencil-square-o"></i>&nbsp;{l s='Edit' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_copy_input" title="{l s='Duplicate' mod='ets_cfultimate'}"><i class="fa fa-files-o"></i>&nbsp;{l s='Duplicate' mod='ets_cfultimate'}</span>
<span class="ets_cfu_btn_delete_input" title="{l s='Delete' mod='ets_cfultimate'}"><i class="fa fa-trash-o"></i>&nbsp;{l s='Delete' mod='ets_cfultimate'}</span>
</div>
</div>
</div>
</div>
</div>
</div>
<span class="ets_cfu_title_box">{l s='1 column in a row' mod='ets_cfultimate'}</span>
</div>
{elseif $type == 'sc'}
<div class="ets_cfu_wrapper">
<div class="ets_cfu_box style3">
<div class="ets_cfu_col col1">
<div class="ets_cfu_input_text ets_cfu_input">
<label>First Name*[text* text-652 default:user_full_name]</label></div>
</div>
<div class="ets_cfu_col col2">
<div class="ets_cfu_input_text ets_cfu_input">
<label>Last Name*[text* text-85 default:user_last_name]</label>
</div>
</div>
</div>
<div class="ets_cfu_box style3">
<div class="ets_cfu_col col1">
<div class="ets_cfu_input_email ets_cfu_input"><label>Email*[email* email-668
default:user_email]</label></div>
</div>
<div class="ets_cfu_col col2">
<div class="ets_cfu_input_tel ets_cfu_input"><label>Phone[tel tel-534]</label></div>
</div>
</div>
<div class="ets_cfu_box style1">
<div class="ets_cfu_col col1">
<div class="ets_cfu_input_textarea ets_cfu_input"><label>Message*[textarea* textarea-261]</label></div>
</div>
</div>
<div class="ets_cfu_box style1">
<div class="ets_cfu_col col1">
<div class="ets_cfu_input_submit ets_cfu_input">[submit submit-992 "Send"]</div>
</div>
</div>
</div>
{elseif $type == 'msg'}
<p>Full name: [text-652] [text-85]</p>
<p>Email: [email-668]</p>
<p>Phone number: [tel-534]</p>
<p>Message: [textarea-261]</p>
{/if}

View File

@@ -0,0 +1,53 @@
{*
* 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
*}
<tr>
<th scope="row"><label for="tag-generator-panel-{$input_type|escape:'html':'utf-8'}-label">{l s='Label' mod='ets_cfultimate'}</label></th>
<td>
{if $is_multi_lang}
<div class="ets_cfu_input_groups">
{/if}
{foreach $languages as $language}
{if $is_multi_lang}
<div class="translatable-field lang-{$language.id_lang|intval}"{if $is_multi_lang} data-lang="{$language.id_lang|intval}"{/if}{if $language.id_lang != $defaultFormLanguage} style="display:none"{/if}>
<div class="col-lg-9">
{/if}
<input id="tag-generator-panel-{$input_type|escape:'html':'utf-8'}-label" data-unique="label" class="cfu-label is-multi-lang" type="text" name="label_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"/>
{if $is_multi_lang}
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" tabindex="-1" data-toggle="dropdown">
{$language.iso_code|escape:'quotes'}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{foreach from=$languages item=language}
<li><a href="javascript:hideOtherLanguage({$language.id_lang|intval});" tabindex="-1">{$language.name|escape:'html':'utf-8'}</a></li>
{/foreach}
</ul>
</div>
</div>
{/if}
{/foreach}
{if $is_multi_lang}
</div>
{/if}
</td>
</tr>

View File

@@ -0,0 +1,35 @@
{*
* 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
*}
<div class="ets_cfu_input_tag hide">
{foreach $languages as $language}
{if $is_multi_lang}
<div class="translatable-field lang-{$language.id_lang|intval}"{if $is_multi_lang} data-lang="{$language.id_lang|intval}"{/if}{if $language.id_lang != $defaultFormLanguage} style="display:none"{/if}>
{/if}
<input type="text" data-type="{if !empty($input_type)}{$input_type|escape:'html':'utf-8'}{else}text{/if}" name="{if !empty($input_type)}{$input_type|escape:'html':'utf-8'}{else}text{/if}_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"{if $is_multi_lang} data-lang="{$language.id_lang|intval}"{/if} class="tag code" readonly="readonly" onfocus="this.select()"/>
{if $is_multi_lang}
</div>
{/if}
{/foreach}
</div>
<div class="submitbox">
<input type="button" class="button button-primary insert-tag insert_field" value="{l s='Add input field' mod='ets_cfultimate'}"/>
<input type="button" class="button button-primary insert-tag update_field" value="{l s='Update input field' mod='ets_cfultimate'}"/>
</div>

View File

@@ -0,0 +1,35 @@
{*
* 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
*}
<span class="{if isset($each_a_line) && ! $each_a_line}each_a_line{/if} {$class|escape:'html':'UTF-8'}">
<label for="{$label_for|escape:'html':'UTF-8'}">
{if $label_first}
<span class="wpcfu-list-item-label">{$label|escape:'html':'UTF-8'}</span>
<input{foreach from=$item_atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} />
{else}
<input{foreach from=$item_atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} />
<span class="wpcfu-list-item-label">{$label|escape:'html':'UTF-8'}</span>
{/if}
</label>
{if count( $values ) == $count && isset($free_text_atts) && $free_text_atts}
<input type="text" {foreach from=$free_text_atts key='key' item='item'} {if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}"{/if} {/foreach} />
{/if}
</span>

View File

@@ -0,0 +1,364 @@
{*
* 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 $ETS_CFU_ENABLE_TMCE}
<script type="text/javascript">
var ad = '';
var iso = 'en';
var file_not_found = '';
var pathCSS = '{$smarty.const._THEME_CSS_DIR_ nofilter}';
</script>
<script src="{$_PS_JS_DIR_|escape:'html':'UTF-8'}tiny_mce/tiny_mce.js"></script>
{if $is_ps15}
<script src="{$_PS_JS_DIR_|escape:'html':'UTF-8'}tinymce.inc.js"></script>
{else}
<script src="{$_PS_JS_DIR_|escape:'html':'UTF-8'}admin/tinymce.inc.js"></script>
{/if}
{/if}
{if isset($okimport)&& $okimport}
<div class="bootstrap">
<div class="alert alert-success">
<button data-dismiss="alert" class="close" type="button">×</button>
{l s='Contact form imported successfully.' mod='ets_cfultimate'}
</div>
</div>
{/if}
{hook h='contactFormUltimateTopBlock'}
<script type="text/javascript">
var text_update_position = '{l s='Successful update' mod='ets_cfultimate'}';
{if isset($is_ps15) && $is_ps15}
$(document).on('click', '.dropdown-toggle', function () {
$(this).closest('.btn-group').toggleClass('open');
});
{/if}
</script>
<div class="cfu-content-block">
<form id="form-contact" class="form-horizontal clearfix products-catalog"
action="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}" method="post">
<input id="submitFilterContact" type="hidden" value="0" name="submitFilterContact"/>
<input type="hidden" value="1" name="page"/>
<input type="hidden" value="50" name="selected_pagination"/>
<div class="panel col-lg-12">
<div class="panel-heading">
{l s='Contact forms' mod='ets_cfultimate'}
<span class="badge">{count($ets_cfu_contacts)|intval}</span>
<span class="panel-heading-action">
<a id="desc-contactform-new" class="list-toolbar-btn" title="{l s='Add new' mod='ets_cfultimate'}"
href="{$url_module|escape:'html':'UTF-8'}&etsCfuAddContact=1">
<span title="{l s='Add new' mod='ets_cfultimate'}" class="label-tooltip" data-placement="top"
data-html="true" data-original-title="{l s='Add new' mod='ets_cfultimate'}"
data-toggle="tooltip" title="">
<i class="process-icon-new"></i>
</span>
</a>
</span>
</div>
<div class="table-responsive-row clearfix">
<table id="table-contact" class="table contact">
<thead>
<tr class="nodrag nodrop">
<th class="fixed-width-xs text-center ctf_id">
<span class="title_box">
{l s='ID' mod='ets_cfultimate'}
<a {if $sort=='id_contact' && $sort_type=='desc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=id_contact&sort_type=desc{$filter_params nofilter}"><i
class="icon-caret-down"></i></a>
<a {if $sort=='id_contact' && $sort_type=='asc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=id_contact&sort_type=asc{$filter_params nofilter}"><i
class="icon-caret-up"></i></a>
</span>
</th>
<th class="ctf_title">
<span class="title_box">
{l s='Title' mod='ets_cfultimate'}
<a {if $sort=='title' && $sort_type=='desc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=title&sort_type=desc{$filter_params nofilter}"><i
class="icon-caret-down"></i></a>
<a {if $sort=='title' && $sort_type=='asc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=title&sort_type=asc{$filter_params nofilter}"><i
class="icon-caret-up"></i></a>
</span>
</th>
{if !isset($showShortcodeHook) || (isset($showShortcodeHook) && $showShortcodeHook)}
<th class="ctf_shortcode">
<span class="title_box">
{l s='Short code' mod='ets_cfultimate'}
</span>
</th>
{/if}
<th class="ct_form_url">
<span class="title_box">
{l s='Form URL' mod='ets_cfultimate'}
</span>
</th>
<th class="ct_form_views">
<span class="title_box">
{l s='Views' mod='ets_cfultimate'}
</span>
</th>
<th class="ctf_sort">
<span class="title_box">
{l s='Sort order' mod='ets_cfultimate'}
<a {if $sort=='position' && $sort_type=='desc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=position&sort_type=desc{$filter_params nofilter}"><i
class="icon-caret-down"></i></a>
<a {if $sort=='position' && $sort_type=='asc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=position&sort_type=asc{$filter_params nofilter}"><i
class="icon-caret-up"></i></a>
</span>
</th>
<th class="ctf_message">
<span class="title_box">
{l s='Save message' mod='ets_cfultimate'}
<a {if $sort=='save_message' && $sort_type=='asc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=save_message&sort_type=desc{$filter_params nofilter}"><i
class="icon-caret-down"></i></a>
<a {if $sort=='save_message' && $sort_type=='desc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=save_message&sort_type=asc{$filter_params nofilter}"><i
class="icon-caret-up"></i></a>
</span>
</th>
<th class="ctf_active">
<span class="title_box">
{l s='Active' mod='ets_cfultimate'}
<a {if $sort=='active' && $sort_type=='desc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=active&sort_type=desc{$filter_params nofilter}"><i
class="icon-caret-down"></i></a>
<a {if $sort=='active' && $sort_type=='asc'} class="active"{/if} href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}&sort=active&sort_type=asc{$filter_params nofilter}"><i
class="icon-caret-up"></i></a>
</span>
</th>
<th class="ctf_action">
<span class="title_box">
{l s='Action' mod='ets_cfultimate'}
</span>
</th>
</tr>
<tr class="nodrag nodrop">
<th class="fixed-width-xs text-center ctf_id">
<span class="title_box">
<input class="form-control" name="id_contact" style="width:25px"
value="{if isset($values_submit.id_contact)}{$values_submit.id_contact|escape:'html':'UTF-8'}{/if}"/>
</span>
</th>
<th class="ctf_title">
<span class="title_box">
<input class="form-control" name="contact_title" style="width:150px"
value="{if isset($values_submit.contact_title)}{$values_submit.contact_title|escape:'html':'UTF-8'}{/if}"/>
</span>
</th>
{if !isset($showShortcodeHook) || (isset($showShortcodeHook) && $showShortcodeHook)}
<th class="">
</th>
{/if}
<th class="ct_form_url">
</th>
<th class="">
</th>
<th>
</th>
<th class="ctf_message">
<span class="title_box">
<select class="form-control" name="save_message">
<option value="">---</option>
<option value="1" {if isset($values_submit.save_message) && $values_submit.hook==1} selected="selected"{/if}>{l s='Yes' mod='ets_cfultimate'}</option>
<option value="0" {if isset($values_submit.save_message) && $values_submit.hook==0} selected="selected"{/if}>{l s='No' mod='ets_cfultimate'}</option>
</select>
</span>
</th>
<th class="ctf_active">
<select class="form-control" name="active_contact">
<option value="">---</option>
<option value="1" {if isset($values_submit.active_contact) && $values_submit.active_contact==1} selected="selected"{/if}>{l s='Yes' mod='ets_cfultimate'}</option>
<option value="0" {if isset($values_submit.active_contact) && $values_submit.active_contact==0} selected="selected"{/if}>{l s='No' mod='ets_cfultimate'}</option>
</select>
</th>
<th class="ctf_action">
<span class="pull-right">
<button id="submitFilterButtonContact" class="btn btn-default"
name="submitFilterButtonContact" type="submit">
<i class="icon-search"></i>
{l s='Search' mod='ets_cfultimate'}
</button>
{if isset($filter)&& $filter}
<a class="btn btn-warning"
href="{$link->getAdminLink('AdminContactFormUltimateContactForm',true)|escape:'html':'UTF-8'}">
<i class="icon-eraser"></i>
{l s='Reset' mod='ets_cfultimate'}
</a>
{/if}
</span>
</th>
</tr>
</thead>
<tbody id="list-contactform">
{if $ets_cfu_contacts}
{foreach from=$ets_cfu_contacts item='contact'}
<tr id="formcontact_{$contact.id_contact|intval}">
<td class="ctf_id">{$contact.id_contact|intval}</td>
<td class="ctf_title">{$contact.title|escape:'html':'UTF-8'}</td>
{if !isset($showShortcodeHook) || (isset($showShortcodeHook) && $showShortcodeHook)}
<td class="ctf_shortcode">
<div class="short-code">
<input title="{l s='Click to copy' mod='ets_cfultimate'}" class="ctf-short-code"
type="text" value='[contact-form-7 id="{$contact.id_contact|intval}"]'/>
<span class="text-copy">{l s='Copied' mod='ets_cfultimate'}</span>
</div>
</td>
{/if}
<td class="ct_form_url">
{if $contact.enable_form_page}
<a href="{$contact.link|escape:'html':'UTF-8'}"
target="_blank">{$contact.link|escape:'html':'UTF-8'}</a>
{else}
{l s='Form page is disabled' mod='ets_cfultimate'}
{/if}
</td>
<td class="ct_view text-center">
{$contact.count_views|intval}
{*<a target="_blank" href="{$link->getAdminLink('AdminContactFormUltimateStatistics')|escape:'html':'UTF-8'}&id_contact={$contact.id_contact|intval}">
&nbsp;<i class="icon icon-line-chart"></i>
</a>*}
</td>
<td class="ctf_sort text-center {if $sort=='position' && $sort_type=='asc'}pointer dragHandle center{/if}">
<div class="dragGroup">
<span class="positions">{($contact.position+1)|intval}</span>
</div>
</td>
<td class="text-center ctf_message">
{if $contact.save_message}
<a title="{l s='Click to disable' mod='ets_cfultimate'}"
href="{$url_module|escape:'html':'UTF-8'}&etsCfuSaveMessageUpdate=0&id_contact={$contact.id_contact|intval}">
<i class="material-icons action-enabled">check</i>
</a>
{if $contact.count_message}
<a title="{l s='View messages' mod='ets_cfultimate'}"
href="{$link->getAdminLink('AdminContactFormUltimateMessage')|escape:'html':'UTF-8'}&id_contact={$contact.id_contact|intval}"
class="">
({$contact.count_message|intval})
</a>
{/if}
{else}
<a title="{l s='Click to enable' mod='ets_cfultimate'}"
href="{$url_module|escape:'html':'UTF-8'}&etsCfuSaveMessageUpdate=1&id_contact={$contact.id_contact|intval}">
<i class="material-icons action-disabled">{l s='clear' mod='ets_cfultimate'}</i>
</a>
{if $contact.count_message}
<a href="{$link->getAdminLink('AdminContactFormUltimateMessage')|escape:'html':'UTF-8'}&id_contact={$contact.id_contact|intval}"
class="">
({$contact.count_message|intval})
</a>
{/if}
{/if}
</td>
<td class="text-center ctf_active">
{if $contact.active}
<a title="{l s='Click to disable' mod='ets_cfultimate'}"
href="{$url_module|escape:'html':'UTF-8'}&etsCfuActiveUpdate=0&id_contact={$contact.id_contact|intval}">
<i class="material-icons action-enabled">check</i>
</a>
{else}
<a title="{l s='Click to enable' mod='ets_cfultimate'}"
href="{$url_module|escape:'html':'UTF-8'}&etsCfuActiveUpdate=1&id_contact={$contact.id_contact|intval}">
<i class="material-icons action-disabled">{l s='clear' mod='ets_cfultimate'}</i>
</a>
{/if}
</td>
<td class="text-center ctf_action">
<div class="btn-group-action">
<div class="btn-group">
<a class="btn tooltip-link product-edit" title=""
href="{$url_module|escape:'html':'UTF-8'}&etsCfuEditContact=1&id_contact={$contact.id_contact|intval}"
title="{l s='Edit' mod='ets_cfultimate'}">
<i class="material-icons">mode_edit</i>{l s='Edit' mod='ets_cfultimate'}
</a>
<a class="btn btn-link dropdown-toggle dropdown-toggle-split product-edit"
aria-expanded="false" aria-haspopup="true" data-toggle="dropdown"> <i
class="icon-caret-down"></i></a>
<div class="dropdown-menu dropdown-menu-right"
style="position: absolute; transform: translate3d(-164px, 35px, 0px); top: 0px; left: 0px; will-change: transform;">
{if $contact.enable_form_page}
<a href="{Ets_CfUltimate::getLinkContactForm($contact.id_contact|intval)|escape:'html':'UTF-8'}"
class="dropdown-item product-edit" target="_blank"
>
<i class="material-icons">remove_red_eye</i>
{l s='View form' mod='ets_cfultimate'}
</a>
{/if}
<a href="{$link->getAdminLink('AdminContactFormUltimateMessage')|escape:'html':'UTF-8'}&id_contact={$contact.id_contact|intval}"
class="dropdown-item product-edit"
>
<i class="icon icon-comments fa fa-comments"></i>
{l s='Messages' mod='ets_cfultimate'}
</a>
<a href="{$link->getAdminLink('AdminContactFormUltimateStatistics')|escape:'html':'UTF-8'}&id_contact={$contact.id_contact|intval}"
class="dropdown-item product-edit"
>
<i class="icon icon-line-chart"></i>
{l s='Statistics' mod='ets_cfultimate'}
</a>
<a href="{$url_module|escape:'html':'UTF-8'}&etsCfuDuplicateContact=1&id_contact={$contact.id_contact|intval}"
class="dropdown-item message-duplidate product-edit"
>
<i class="icon icon-copy"></i>
{l s='Duplicate' mod='ets_cfultimate'}
</a>
<a href="{$url_module|escape:'html':'UTF-8'}&etsCfuDeleteContact=1&id_contact={$contact.id_contact|intval}"
class="dropdown-item message-delete product-edit"
>
<i class="material-icons">delete</i>
{l s='Delete form' mod='ets_cfultimate'}
</a>
</div>
</div>
</div>
</td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="10">
<p class="alert alert-warning">{l s='No contact forms available' mod='ets_cfultimate'}</p>
</td>
</tr>
{/if}
</tbody>
</table>
{$ets_cfu_pagination_text nofilter}
</div>
</div>
</form>
<script type="text/javascript">
$(document).ready(function () {
if ($("table .datepicker").length > 0) {
$("table .datepicker").datepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
});
}
});
</script>
</div>
<div class="ctf-popup-wapper-admin">
<div class="fuc"></div>
<div class="ctf-popup-tablecell">
<div class="ctf-popup-content">
<div class="ctf_close_popup">{l s='close' mod='ets_cfultimate'}</div>
<div id="form-contact-preview">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,242 @@
{*
* 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
*}
{hook h='contactFormUltimateTopBlock'}
<script type="text/javascript">
{if isset($is_ps15) && $is_ps15}
$(document).on('click', '.dropdown-toggle', function () {
$(this).closest('.btn-group').toggleClass('open');
});
{/if}
</script>
<div class="cfu-content-block">
<form id="form-message" class="form-horizontal clearfix products-catalog"
action="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}" method="post">
<input id="submitFilterMessage" type="hidden" value="0" name="submitFilterMessage"/>
<input type="hidden" value="1" name="page"/>
<input type="hidden" value="50" name="selected_pagination"/>
<div class="panel col-lg-12">
<div class="panel-heading">
{l s='Messages' mod='ets_cfultimate'}
<span class="badge">{count($messages)|intval}</span>
</div>
<div class="table-responsive-row clearfix">
<table id="table-message" class="table message">
<thead>
<tr class="nodrag nodrop">
<th class="fixed-width-xs">
<span class="title_box">
{if count($messages)}
<input value="" class="message_readed_all" type="checkbox"/>
{/if}
</span>
</th>
<th class="subject_col">
<span class="title_box">
{l s='Subject' mod='ets_cfultimate'}
<a href="{$url_full|escape:'html':'UTF-8'}&OrderBy=m.subject&OrderWay=DESC"
{if $orderBy=='m.subject' && $orderWay=='DESC'}class="active"{/if}>
<i class="icon-caret-down"></i>
</a>
<a href="{$url_full|escape:'html':'UTF-8'}&OrderBy=m.subject&OrderWay=ASC"
{if $orderBy=='m.subject' && $orderWay=='ASC'}class="active"{/if}>
<i class="icon-caret-up"></i>
</a>
</span>
</th>
<th class="message_col">
<span class="title_box">
{l s='Message' mod='ets_cfultimate'}
</span>
</th>
<th class="form_col">
<span class="title_box">
{l s='Contact form' mod='ets_cfultimate'}
<a href="{$url_full|escape:'html':'UTF-8'}&OrderBy=m.id_contact&OrderWay=DESC"
{if $orderBy=='m.id_contact' && $orderWay=='DESC'}class="active"{/if}>
<i class="icon-caret-down"></i>
</a>
<a href="{$url_full|escape:'html':'UTF-8'}&&OrderBy=m.id_contact&OrderWay=ASC"
{if $orderBy=='m.id_contact' && $orderWay=='ASC'}class="active"{/if}>
<i class="icon-caret-up"></i>
</a>
</span>
</th>
<th class="reply_col">
<span class="title_box">
{l s='Replied' mod='ets_cfultimate'}
<a href="{$url_full|escape:'html':'UTF-8'}&OrderBy=replied&OrderWay=DESC"
{if $orderBy=='replied' && $orderWay=='DESC'}class="active"{/if}>
<i class="icon-caret-down"></i>
</a>
<a href="{$url_full|escape:'html':'UTF-8'}&&OrderBy=replied&OrderWay=ASC"
{if $orderBy=='replied' && $orderWay=='ASC'}class="active"{/if}>
<i class="icon-caret-up"></i>
</a>
</span>
</th>
<th class="text-center">
<span class="title_box">
{l s='Date' mod='ets_cfultimate'}
<a href="{$url_full|escape:'html':'UTF-8'}&OrderBy=m.id_contact_message&OrderWay=DESC"
{if $orderBy=='m.id_contact_message' && $orderWay=='DESC'}class="active"{/if}>
<i class="icon-caret-down"></i>
</a>
<a href="{$url_full|escape:'html':'UTF-8'}&&OrderBy=m.id_contact_message&OrderWay=ASC"
{if $orderBy=='m.id_contact_message' && $orderWay=='ASC'}class="active"{/if}>
<i class="icon-caret-up"></i>
</a>
</span>
</th>
<th class="text-center" style="width: 170px;">
<span class="title_box">
{l s='Action' mod='ets_cfultimate'}
</span>
</th>
</tr>
<tr class="nodrag nodrop filter row_hover">
<th>
</th>
<th class="subject_col">
<input class="form-control" name="subject"
value="{if isset($values_submit.subject)}{$values_submit.subject|escape:'html':'UTF-8'}{/if}"/>
</th>
<th class="messsage_col">
<input class="form-control" name="messageFilter_message"
value="{if isset($values_submit.messageFilter_message)}{$values_submit.messageFilter_message|escape:'html':'UTF-8'}{/if}"/>
</th>
<th class="form_col">
<select class="form-control" name="id_contact" id="ets_cfu_id_contact">
<option value="0">---</option>{foreach from=$ets_cfu_contacts item='contact'}
<option value="{$contact.id_contact|intval}"
{if isset($values_submit.id_contact)&&$values_submit.id_contact==$contact.id_contact}selected="selected"{/if}>{$contact.title|escape:'html':'UTF-8'|truncate:100:'...'}</option>{/foreach}
</select>
</th>
<th class="reply_col text-center">
<select id="messageFilter_replied" name="messageFilter_replied">
<option value="">---</option>
<option value="0"{if isset($values_submit.messageFilter_replied) && $values_submit.messageFilter_replied==0} selected="selected"{/if} >{l s='No' mod='ets_cfultimate'}</option>
<option value="1"{if isset($values_submit.messageFilter_replied) && $values_submit.messageFilter_replied==1} selected="selected"{/if}>{l s='Yes' mod='ets_cfultimate'}</option>
</select>
</th>
<th class="date_col">
<div class="date_range row">
<div class="input-group fixed-width-md center">
<input type="text"
value="{if isset($values_submit.messageFilter_dateadd_from)}{$values_submit.messageFilter_dateadd_from|escape:'html':'UTF-8'}{/if}"
placeholder="{l s='From' mod='ets_cfultimate'}"
autocomplete="off"
name="messageFilter_dateadd_from" id="messageFilter_dateadd_from"
class="filter datepicker date-input form-control"/>
<span class="input-group-addon">
<i class="icon-calendar"></i>
</span>
</div>
<div class="input-group fixed-width-md center">
<input type="text"
value="{if isset($values_submit.messageFilter_dateadd_to)}{$values_submit.messageFilter_dateadd_to|escape:'html':'UTF-8'}{/if}"
placeholder="{l s='To' mod='ets_cfultimate'}" name="messageFilter_dateadd_to"
id="messageFilter_dateadd_to"
autocomplete="off"
class="filter datepicker date-input form-control"/>
<span class="input-group-addon">
<i class="icon-calendar"></i>
</span>
</div>
</div>
</th>
<th class="action_col text-center">
<span class="pull-right">
<button id="submitFilterButtonMessage" class="btn btn-default"
name="submitFilterButtonMessage" type="submit">
<i class="icon-search"></i>
{l s='Search' mod='ets_cfultimate'}
</button>
<button id="etsCfuSubmitExportButtonMessage" name="etsCfuSubmitExportButtonMessage"
class="btn btn-default" type="submit">
<i class="icon-download"></i>
{l s='Export' mod='ets_cfultimate'}
</button>
{if isset($filter)&& $filter}
<a class="btn btn-warning"
href="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}">
<i class="icon-eraser"></i>
{l s='Reset' mod='ets_cfultimate'}
</a>
{/if}
</span>
</th>
</tr>
</thead>
<tbody>
{if $messages}
{foreach from=$messages item='message'}
<tr id="tr-message-{$message.id_contact_message|intval}"
class="{if !$message.readed}no-reaed{/if}">
{$message.row_message nofilter}
</tr>
{/foreach}
{else}
<tr>
<td colspan="7">
<p class="alert alert-warning">{l s='No messages available' mod='ets_cfultimate'}</p>
</td>
</tr>
{/if}
</tbody>
</table>
<select id="bulk_action_message" name="bulk_action_message" style="display:none">
<option value="">{l s='Bulk actions' mod='ets_cfultimate'}</option>
<option value="mark_as_read">{l s='Mark as read' mod='ets_cfultimate'}</option>
<option value="mark_as_unread">{l s='Mark as unread' mod='ets_cfultimate'}</option>
<option value="delete_selected">{l s='Delete selected' mod='ets_cfultimate'}</option>
</select>
{if $messages}
{$ets_cfu_pagination_text nofilter}
{/if}
</div>
</div>
</form>
<script type="text/javascript">
$(document).ready(function () {
if ($("table .datepicker").length > 0) {
$("table input.datepicker").attr('autocomplete','off');
$("table .datepicker").datepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
});
}
});
</script>
</div>
<div class="ctf-popup-wapper-admin">
<div class="fuc"></div>
<div class="ctf-popup-tablecell">
<div class="ctf-popup-content">
<div class="ctf_close_popup">{l s='close' mod='ets_cfultimate'}</div>
<div id="form-message-preview">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,64 @@
{*
* 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
*}
{literal}
<table class="table table-mail" style="width:650px;margin-left: auto;margin-right:auto;margin-top:10px;">
<tr>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
<td align="center" style="padding:7px 0">
<table class="table" style="width:100%">
<tr>
<td align="center" class="logo" style="padding:7px 0">
<a title="{shop_name}" href="{shop_url}" style="color: #337ff1;">
<span>{shop_logo}</span>
</a>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="box" style="background-color:#fff;padding:7px 0;border-radius:3px;">
<table class="table" style="width:100%">
<tr>
<td width="10" style="padding:7px 0">&nbsp;</td>
<td style="padding:7px 0">
{message_content}
</td>
<td width="10" style="padding:7px 0">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="footer" style="padding:7px 0;text-align: center">
<span>Copyright <a href="{shop_url}" >{shop_name}</a> All rights reserved</span>
</td>
</tr>
</table>
</td>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
</tr>
</table>
{/literal}

View File

@@ -0,0 +1,64 @@
{*
* 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
*}
{literal}
<table class="table table-mail" style="width:650px;margin-left: auto;margin-right:auto;margin-top:10px;">
<tr>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
<td align="center" style="padding:7px 0">
<table class="table" style="width:100%">
<tr>
<td align="center" class="logo" style="padding:7px 0">
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
<span>{shop_logo}</span>
</a>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="box" style="background-color:#fff;padding:7px 0;border-radius:3px;">
<table class="table" style="width:100%">
<tr>
<td width="10" style="padding:7px 0">&nbsp;</td>
<td style="padding:7px 0">
<h4>Your email has been sent</h4>
{message_content}
</td>
<td width="10" style="padding:7px 0">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="footer" style="padding:7px 0;text-align: center">
<span>Copyright <a href="{shop_url}" >{shop_name}</a> All rights reserved</span>
</td>
</tr>
</table>
</td>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
</tr>
</table>
{/literal}

View File

@@ -0,0 +1,65 @@
{*
* 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
*}
{literal}
<table class="table table-mail" style="width:650px;margin-left: auto;margin-right:auto;margin-top:10px;">
<tr>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
<td align="center" style="padding:7px 0">
<table class="table" style="width:100%">
<tr>
<td align="center" class="logo" style="padding:7px 0">
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
<span>{shop_logo}</span>
</a>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="box" style="background-color:#fff;padding:7px 0;border-radius:3px;">
<table class="table" style="width:100%">
<tr>
<td width="10" style="padding:7px 0">&nbsp;</td>
<td style="padding:7px 0">
<h4>Replies to your message</h4>
{message_content}
</td>
<td width="10" style="padding:7px 0">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important">&nbsp;</td>
</tr>
<tr>
<td class="footer" style="padding:7px 0;text-align: center">
<span>Copyright <a href="{shop_url}" >{shop_name}</a> All rights reserved</span>
</td>
</tr>
</table>
</td>
<td class="space" style="width:20px;padding:7px 0">&nbsp;</td>
</tr>
</table>
{/literal}

View File

@@ -0,0 +1,168 @@
{*
* 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
*}
<div class="panel view-message" id="message">
<div class="panel-heading">
<i class="icon-envelope"></i>
[#{$message.id_contact_message|intval}]
{$message.subject|escape:'html':'UTF-8'}
{if $message.reply_to_check}
<span class="panel-heading-action">
<span class="{if $message.reply_to_check}action-reply-message{else}action-reply-message-disable{/if}">
<i class="process-icon-reply"></i>{l s='Reply' mod='ets_cfultimate'}
</span>
</span>
{/if}
</div>
<div class="message-from">
<ul class="heade_if_form">
<li><strong>{l s='Sent by:' mod='ets_cfultimate'}</strong>{$message.sender|escape:'html':'UTF-8'}</li>
<li><strong>{l s='Date:' mod='ets_cfultimate'}</strong>{$message.date_add|escape:'html':'UTF-8'}</li>
<li>
<strong>{l s='Ip:' mod='ets_cfultimate'}</strong>
<a class="link_ip"
href="https://www.infobyip.com/ip-{$message.ip|escape:'html':'UTF-8'}.html"
target="_blank">{$message.ip|escape:'html':'UTF-8'}</a>
</li>
</ul>
{if $message.id_customer}
<span class="customer_message">
{l s='Identified customer:' mod='ets_cfultimate'}
{if isset($is170) && $is170}
{assign var="linkCustomer" value="{$link->getAdminLink('AdminCustomers',true,['id_customer'=>{$message.id_customer|intval},'updatecustomer'=>1])|escape:'html':'UTF-8'}"}
{else}
{assign var="linkCustomer" value="{$link->getAdminLink('AdminCustomers')|escape:'html':'UTF-8'}&viewcustomer&id_customer={$message.id_customer|intval}"}
{/if}
<a href="{$linkCustomer|escape:'html':'UTF-8'}">
{$message.customer_name|escape:'html':'UTF-8'}
</a>
</span>
{/if}
</div>
<div id="message-content">
{$message.body nofilter}
</div>
{if $message.attachments}
{if $message.save_attachments}
<div class="ctf7_attachments">
<div><strong>{l s='Attachments: ' mod='ets_cfultimate'}</strong></div>
<ul id="list-attachments">
{assign var='index' value=1}
{foreach from =$message.attachments item='attachment'}
{if trim($attachment)}
{assign var='atts' value=explode('-',$attachment)}
{if count($atts)>1 && array_shift($atts)}
{assign var='attachment2' value=implode('-',$atts)}
{else}
{assign var='attachment2' value=$attachment}
{/if}
<li>
<a href="{$base_url|escape:'html':'UTF-8'}/modules/ets_cfultimate/views/img/etscfu_upload/{$attachment|escape:'html':'UTF-8'}"
target="_blank">{$attachment2|escape:'html':'UTF-8'}</a></li>
{/if}
{assign var='index' value=$index+1}
{/foreach}
</ul>
</div>
{else}
<p class="alert alert-warning">{l s='Attachments were sent via email' mod='ets_cfultimate'}</p>
{/if}
{/if}
<ul id="list-replies">
{if $replies}
{foreach from=$replies key='key' item='reply'}
<li>
<span class="content-reply">
<b>{l s='Reply' mod='ets_cfultimate'}&nbsp;{$key|intval+1}:&nbsp;</b>{$reply.content|strip_tags:'UTF-8'|truncate:150:'...'}
</span>
<span class="content-reply-full">
<p>
<b>{l s='Reply to:' mod='ets_cfultimate'}</b>&nbsp;{$reply.reply_to|escape:'html':'UTF-8'} {$reply.date_add|escape:'html':'UTF-8'}
</p>
<p>
<b>{l s='Subject:' mod='ets_cfultimate'}</b>&nbsp;{$reply.subject|escape:'html':'UTF-8'}
</p>
<p class="content-message">
<b>{l s='Content:' mod='ets_cfultimate'}</b>&nbsp;{$reply.content nofilter}
</p>
</span>
</li>
{/foreach}
{/if}
</ul>
</div>
<form id="module_form_reply-message" style="display:none;" class="defaultForm form-horizontal" novalidate=""
enctype="multipart/form-data" method="post" action="">
<div class="panel" id="replay-message-form">
<div class="panel-heading">
<i class="icon-envelope"></i>
{l s='Reply message:' mod='ets_cfultimate'}&nbsp;[#{$message.id_contact_message|intval}
]&nbsp;{$message.subject|escape:'html':'UTF-8'}
</div>
<div class="form-wrapper">
<input type="hidden" value="{$message.id_contact_message|intval}" name="id_message"/>
<div class="form-group">
<label class="control-label col-lg-2 required">{l s='From:' mod='ets_cfultimate'} </label>
<div class="col-lg-10">
<input name="from_reply" value="{$message.from_reply|escape:'html':'UTF-8'}" type="text"/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2 required">{l s='To:' mod='ets_cfultimate'} </label>
<div class="col-lg-10">
<input name="reply_to" value="{$message.reply_to|escape:'html':'UTF-8'}" type="text"/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2 required">{l s='Subject' mod='ets_cfultimate'}</label>
<div class="col-lg-10">
<input name="reply_subject"
value="{l s='Reply' mod='ets_cfultimate'}: {$message.subject|escape:'html':'UTF-8'}"
type="text"/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2 required">{l s='Reply to' mod='ets_cfultimate'}</label>
<div class="col-lg-10">
<input name="reply_to_reply" value="{$message.email_to|escape:'html':'UTF-8'}" type="text"/>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2 required">{l s='Message' mod='ets_cfultimate'} </label>
<div class="col-lg-10">
<textarea name="message_reply" placeholder="{l s='Message' mod='ets_cfultimate'}"></textarea>
</div>
</div>
<div class="panel-footer">
<button id="module_form_submit_btn_reply" class="btn btn-default pull-right" name="etsCfuSubmitReplyMessage"
value="1" type="submit">
<i class="icon process-icon-reply"></i>
{l s='Send' mod='ets_cfultimate'}
</button>
<button id="module_form_submit_btn_back" class="btn btn-default pull-left" name="backReplyMessage"
value="1" type="button">
<i class="icon process-icon-back"></i>
{l s='Back' mod='ets_cfultimate'}
</button>
</div>
</div>
</div>
</form>

View File

@@ -0,0 +1,116 @@
{*
* 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 <contact@etssoft.net>
* @copyright 2007-2021 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
<div class="ets-mod hidden" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;z-index: 9999999;">
<div class="ets-mod-inner">
<div class="ets-mod-header">
<div class="ets-mod-logo">
<a href="{$ets_profile_url|escape:'html':'UTF-8'}" target="_blank" class="mod-link">
<img src="{$shortlink|escape:'html':'UTF-8'}logo.jpg" alt="ETS-Soft" /></a>
</div>
<div class="ets-mod-intro">
{if isset($intro) && $intro}
{assign var='intro' value=sprintf($intro,$module_name)}
{$intro nofilter}
{/if}
</div>
<div class="ets-mod-badges">
<div class="ets-badge-superhero">
<img src="{$img_dir|escape:'html':'UTF-8'}other/ets-superhero-1.png"/>
<span>{$trans.txt_superhero|escape:'html':'UTF-8'}</span>
</div>
<div class="ets-badge-partner">
<img src="{$img_dir|escape:'html':'UTF-8'}other/ets-partner-badge.png"/>
<span>{$trans.txt_partner|escape:'html':'UTF-8'}</span>
</div>
</div>
</div>
<div class="ets-body">
<div class="ets-mod-left">
{if $categories}
<div class="ets-mod-cats_mobile">
<h4>&nbsp;</h4>
</div>
<ul class="ets-mod-cats">
{foreach from=$categories item='cat'}
<li {if $cat.id==0}class="active"{/if} data-id="{$cat.id|intval}">{$cat.title|escape:'html':'UTF-8'}</li>
{/foreach}
</ul>
{/if}
</div>
<div class="ets-mod-right">
{if $modules && $enabled}
<ul class="ets-mod-list">
{foreach from=$modules item='mod'}
{if isset($mod.link) && $mod.link && isset($mod.title) && $mod.title}
{assign var='modcats' value=array_unique(array_map('intval',explode(',',$mod.categories)))}
<li class="mod-item cat-0 {if $modcats}{foreach from=$modcats item='catid'}cat-{$catid|intval} {/foreach}{/if}">
<a target="_blank" href="{$mod.link nofilter}" class="mod-link">
{if isset($mod.icon) && $mod.icon}
<div class="mod-image">
<img src="{$mod.icon|escape:'html':'UTF-8'}" title="{$mod.title nofilter}">
</div>
{/if}
<div class="mod-title">{$mod.title nofilter}</div>
{if isset($mod.promo) && $mod.promo}<div class="mod-promo">{$mod.promo|escape:'html':'UTF-8'}</div>{/if}
{if isset($mod.must_have) && $mod.must_have}<div class="mod-must-have">{$trans.txt_must_have|escape:'html':'UTF-8'}</div>{/if}
{if isset($mod.desc) && $mod.desc}
<div class="mod-desc">{$mod.desc nofilter}</div>
{/if}
{if isset($mod.badge) && $mod.badge}
<div class="mod-badge {$mod.badge|escape:'html':'UTF-8'}">
{if $mod.badge=='fav'}
{$trans.txt_fav|escape:'html':'UTF-8'}
{else}
{$trans.txt_elected|escape:'html':'UTF-8'}
{/if}
</div>
{elseif isset($mod.download) && $mod.download >= 500}
<div class="mod-download">{$mod.download|intval}+ {$trans.txt_downloads|escape:'html':'UTF-8'}</div>
{/if}
{if isset($mod.rating) && $mod.rating || isset($mod.price) && $mod.price}
<div class="mod-footer">
{if isset($mod.ratingClass) && $mod.ratingClass && isset($mod.rating_count) && $mod.rating_count}
<div class="mod-rating {$mod.ratingClass|escape:'html':'UTF-8'}">({$mod.rating_count|intval})</div>
{/if}
{if isset($mod.price) && $mod.price}
<div class="mod-price">
<span class="mod-price-int">{$mod.price|intval}</span>
<span class="mod-price-unit">&euro;</span>
<span class="mod-price-dec">99</span>
</div>
{/if}
</div>
{/if}
</a>
</li>
{/if}
{/foreach}
</ul>
<div class="ets-mod-external">
<a href="{$ets_profile_url|escape:'html':'UTF-8'}" target="_blank" class="ets-mod-external-link btn btn-default mod-link">{$trans.txt_view_all|escape:'html':'UTF-8'}</a>
</div>
{/if}
</div>
</div>
{if $contactUrl}<div class="ets-mod-contact"><a class="mod-link" href="{$contactUrl|escape:'html':'UTF-8'}" target="_blank" title="{$trans.txt_contact|escape:'html':'UTF-8'}"><span>{$trans.txt_contact|escape:'html':'UTF-8'}</span></a></div>{/if}
<div class="ets-mod-close">{$trans.txt_close|escape:'html':'UTF-8'}</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
{*
* 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
*}
<p class="alert alert-warning">{l s='Contact form is not available' mod='ets_cfultimate'}</p>

View File

@@ -0,0 +1,128 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-number" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="number">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='number'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<div class="ets_cfu_input_groups">
<select name="tagtype" class="cfu-tagtype">
<option value="number" selected="selected">{l s='Spinbox' mod='ets_cfultimate'}</option>
<option value="range">{l s='Slider' mod='ets_cfultimate'}</option>
</select>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</div>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-number-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-number-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-number-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='number'}
<label><input type="checkbox" name="placeholder" class="option"/> {l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}</label>
</td>
</tr>
<tr>
<th scope="row">{l s='Range' mod='ets_cfultimate'}</th>
<td>
<div class="ets_cfu_min_max">
<label>{l s='Min' mod='ets_cfultimate'} <input type="number" name="min" class="numeric option"/></label>
&ndash;
<label>{l s='Max' mod='ets_cfultimate'}<input type="number" name="max" class="numeric option"/></label>
</div>
</td>
</tr>
{* Quang add *}
<tr>
<th scope="row">
<label for="tag-generator-panel-text-id">{l s='Step' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="number" name="step" class="option numeric" value="1" id="tag-generator-panel-text-step"/>
</td>
</tr>
{* END Quang add *}
{include file="./desc.tpl" input_type='number'}
{* Quang add *}
{*<tr>
<th scope="row">
<label for="tag-generator-panel-text-id">{l s='Max character' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="number" name="maxlength" class="option numeric" id="tag-generator-panel-text-maxlength"/>
</td>
</tr>*}
{* END Quang add *}
<tr>
<th scope="row">
<label for="tag-generator-panel-number-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-number-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-number-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-number-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_number ets_cfu_input"
data-type="number"
data-tagtype="number"
data-required="0"
data-name=""
data-min=""
data-max=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_number.png'|escape:'html':'utf-8'}" alt="{l s='Input number' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default='label'}
<p class="ets_cfu_help_block">{l s='Number' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='number'}
</div>
</form>
</div>

View File

@@ -0,0 +1,28 @@
{*
* 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 isset($item_atts.value) && $item_atts.value || $label}
<option
{foreach from=$item_atts key='key' item='item'}
{if $item}{$key|escape:'html':'UTF-8'}="{$item|escape:'html':'UTF-8'}" {/if}
{/foreach} >
{$label|escape:'html':'UTF-8'}
</option>
{/if}

View File

@@ -0,0 +1,93 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-password" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="password">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='password'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-password-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-password-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-password-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
<div class="form-group ets_cfu_field_set">
{include "./values.tpl" element='password'}
</div>
<label><input type="checkbox" name="placeholder" class="option"/>{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}</label>
</td>
</tr>
{include file="./desc.tpl" input_type='password'}
<tr>
<th scope="row">
<label for="tag-generator-panel-password-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-password-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-password-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-password-class"/>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_password ets_cfu_input"
data-type="password"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_password.png'|escape:'html':'utf-8'}" alt="{l s='Input password' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Password' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='password'}
</div>
</form>
</div>

View File

@@ -0,0 +1,76 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-quiz" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="quiz">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='quiz'}
<tr>
<th scope="row"><label for="tag-generator-panel-quiz-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td><input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-quiz-name"/>
</td>
</tr>
<tr>
<th scope="row">{l s='Questions and answers' mod='ets_cfultimate'}</th>
<td>
<fieldset>
{include "./values.tpl" element='quiz' input='textarea'}
<label for="tag-generator-panel-quiz-values"><span class="description">{l s='One pipe-separated question-answer pair (e.g. The capital of Brazil?|Rio)' mod='ets_cfultimate'}.</span></label>
</fieldset>
</td>
</tr>
{include file="./desc.tpl" input_type='quiz'}
<tr>
<th scope="row">
<label for="tag-generator-panel-quiz-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-quiz-id"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-quiz-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-quiz-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_quiz ets_cfu_input"
data-type="quiz"
data-name=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_quiz.png'|escape:'html':'utf-8'}" alt="{l s='Input quiz' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Quiz' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='quiz'}
</div>
</form>
</div>

View File

@@ -0,0 +1,91 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-radio" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="radio">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='radio'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/> {l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-radio-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td><input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-radio-name"/>
</td>
</tr>
<tr>
<th scope="row">{l s='Options' mod='ets_cfultimate'}</th>
<td>
<fieldset>
{include "./values.tpl" element='radio' input='textarea'}
<label for="tag-generator-panel-radio-values"><span class="description">{l s='One option per line. It also allows to set custom label, custom value and default value following this structure: label|value:default' mod='ets_cfultimate'}.</span></label>
<label><input type="checkbox" name="label_first" class="option"/> {l s='Put a label first, a checkbox last' mod='ets_cfultimate'}</label>
<label><input type="checkbox" name="each_a_line" class="option"/> {l s='Each option in a line' mod='ets_cfultimate'}</label>
{*<label><input type="checkbox" name="use_label_element" class="option" /> {l s='Wrap each item with label element' mod='ets_cfultimate'}</label>*}
</fieldset>
</td>
</tr>
{include file="./desc.tpl" input_type='radio'}
<tr>
<th scope="row">
<label for="tag-generator-panel-radio-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-radio-id"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-radio-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-radio-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_radio ets_cfu_input"
data-type="radio"
data-required="0"
data-name=""
data-label_first="0"
data-use_label_element="0"
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_radio.png'|escape:'html':'utf-8'}" alt="{l s='ReCaptcha' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default='label'}
<p class="ets_cfu_help_block">{l s='Radio' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='radio'}
</div>
</form>
</div>

View File

@@ -0,0 +1,98 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div class="hidden" id="tag-generator-panel-recaptcha">
{if (Configuration::get('ETS_CFU_SITE_KEY') && Configuration::get('ETS_CFU_SECRET_KEY')) || (Configuration::get('ETS_CFU_SITE_KEY_V3') && Configuration::get('ETS_CFU_SECRET_KEY_V3')) }
<form data-id="recaptcha" class="tag-generator-panel bootstrap" action="">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='recaptcha'}
{if isset($re_captcha_v3) && !$re_captcha_v3}
<tr>
<th scope="row">{l s='Size' mod='ets_cfultimate'}</th>
<td>
<div class="ets_cfu_input_groups">
<label>
<input type="radio" checked="checked" value="normal" id="tag-generator-panel-recaptcha-size-normal" class="option default" name="size"/> {l s='Normal' mod='ets_cfultimate'}
</label>
<label>
<input type="radio" value="compact" id="tag-generator-panel-recaptcha-size-compact" class="option" name="size"/> {l s='Compact' mod='ets_cfultimate'}
</label>
</div>
</td>
</tr>
<tr>
<th scope="row">{l s='Theme' mod='ets_cfultimate'}</th>
<td>
<div class="ets_cfu_input_groups">
<label>
<input type="radio" checked="checked" value="light" id="tag-generator-panel-recaptcha-theme-light" class="option default" name="theme"/>
{l s='Light' mod='ets_cfultimate'}
</label>
<label>
<input type="radio" value="dark" id="tag-generator-panel-recaptcha-theme-dark" class="option" name="theme"/>
{l s='Dark' mod='ets_cfultimate'}
</label>
</div>
</td>
</tr>{/if}
{include file="./desc.tpl" input_type='recaptcha'}
<tr>
<th scope="row">
<label for="tag-generator-panel-recaptcha-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-recaptcha-id" class="idvalue oneline option" name="id"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-recaptcha-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" id="tag-generator-panel-recaptcha-class" class="classvalue oneline option" name="class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_recaptcha ets_cfu_input"
data-type="recaptcha"
data-name=""
data-theme="light"
data-size="normal"
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_recaptcha.png'|escape:'html':'utf-8'}" alt="{l s='ReCaptcha' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('values', 'content') default='label'}
<p class="ets_cfu_help_block">{l s='ReCaptcha' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='recaptcha'}
</div>
</form>
{else}
<p>{l s='Config reCaptcha' mod='ets_cfultimate'} <a href="{$link->getAdminLink('AdminContactFormUltimateIntegration',true)|escape:'html':'UTF-8'}">{l s='click here' mod='ets_cfultimate'}</a>
</p>
{/if}
</div>

View File

@@ -0,0 +1,88 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-referrence" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="referrence">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type = 'referrence'}
<tr>
<th scope="row">Field type</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-referrence-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-referrence-name"/>
</td>
</tr>
{include file="./desc.tpl" input_type='referrence'}
<tr>
<th scope="row">
<label for="tag-generator-panel-referrence-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-referrence-id"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-referrence-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-referrence-class"/></td>
</tr>
<tr>
<td><input type="hidden" class="mod_referrencevalue option" name="mod_referrence" value="1"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_referrence ets_cfu_input"
data-type="referrence"
data-required="0"
data-name=""
data-multiple="0"
data-include_blank="0"
data-id=""
data-class=""
data-order="0">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_referrence.png'|escape:'html':'utf-8'}" alt="{l s='Auto feed order reference' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Auto feed order reference' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='select'}
</div>
</form>
</div>

View File

@@ -0,0 +1,36 @@
{*
* 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
*}
<li>
<span class="content-reply">
<b>{l s='Reply' mod='ets_cfultimate'} {$countReply|intval}: </b>{$reply->content|strip_tags:'UTF-8'|truncate:150:'...'}
</span>
<span class="content-reply-full">
<p>
<b>{l s='Reply to:' mod='ets_cfultimate'}</b> {$reply->reply_to|escape:'html':'UTF-8'} {$reply->date_add|escape:'html':'UTF-8'}
</p>
<p>
<b>{l s='Subject:' mod='ets_cfultimate'}</b> {$reply->subject|escape:'html':'UTF-8'}
</p>
<p class="content-message">
<b>{l s='Content:' mod='ets_cfultimate'}</b> {$reply->content nofilter}
</p>
</span>
</li>

View File

@@ -0,0 +1,74 @@
{*
* 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
*}
<td class="message-more-action">
<input type="checkbox" name="etsCfuMessageReaded[{$message.id_contact_message|intval}]" class="message_readed" value="1"
data="{$message.readed|intval}"/>
<div class="star {if $message.special} star-on{/if}"
title="{if $message.special}{l s='Unstar this message' mod='ets_cfultimate'}{else}{l s='Star this message' mod='ets_cfultimate'}{/if}">
<input type="checkbox" name="message_special[{$message.id_contact_message|intval}]" class="message_special"
value="{$message.id_contact_message|intval}" data="{if $message.special}0{else}1{/if}"/>
<i class="icon-star"></i>
</div>
</td>
<td class="message-subject"><span data-toggle="tooltip"
title="{l s='From' mod='ets_cfultimate'}: {$message.sender|escape:'html':'UTF-8'}">{$message.subject|escape:'html':'UTF-8'|truncate:100:'...'}</span>
</td>
<td class="message-message">
{$message.body|strip_tags|nl2br|truncate:400:'...' nofilter}
{if $message.attachments}
<span class="message-attachements">
<i class="icon icon-paperclip"></i>
</span>
{/if}
</td>
<td class="message-title">
{$message.title|escape:'html':'UTF-8'|truncate:100:'...'}
</td>
<td class="replies text-center">
{if $message.replies}
<i class="material-icons action-enabled"
title="{l s='Message has been replied' mod='ets_cfultimate'}">{l s='check' mod='ets_cfultimate'}</i>
{else}
<i class="fa fa-clock-o icon-clock-o" title="{l s='Pending' mod='ets_cfultimate'}" style="color: #fdc107"></i>
{/if}
</td>
<td class="text-center msg_date_form">
<span class="msg_date">{$message.date_add|date_format:"%Y-%m-%d"|escape:'html':'UTF-8'}</span>
<span class="msg_hour">{$message.date_add|date_format:"%H:%M:%S"|escape:'html':'UTF-8'}</span>
</td>
<td class="text-center">
<div class="btn-group-action">
<div class="btn-group">
<a class="ctf_view_message"
href="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}&etsCfuViewMessage&id_message={$message.id_contact_message|intval}"
class="message-view">{l s='View' mod='ets_cfultimate'}</a>
<a class="btn btn-link dropdown-toggle dropdown-toggle-split product-edit" aria-expanded="false"
aria-haspopup="true" data-toggle="dropdown" > <i
class="icon-caret-down"></i></a>
<div x-placement="bottom-end" class="dropdown-menu dropdown-menu-right"
style="position: absolute; transform: translate3d(-164px, 35px, 0px); top: 0px; left: 0px; will-change: transform;">
<a href="{$link->getAdminLink('AdminContactFormUltimateMessage',true)|escape:'html':'UTF-8'}&etsCfuDeleteMessage&id_message={$message.id_contact_message|intval}"
class="dropdown-item message-delete product-edit" title="{l s='Delete' mod='ets_cfultimate'}"><i
class="material-icons">delete</i>{l s='Delete' mod='ets_cfultimate'}</a>
</div>
</div>
</div>
</td>

View File

@@ -0,0 +1,96 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-menu" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="menu">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type = 'menu'}
<tr>
<th scope="row">Field type</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-menu-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-menu-name"/>
</td>
</tr>
<tr>
<th scope="row">{l s='Options' mod='ets_cfultimate'}</th>
<td>
<fieldset>
{include "./values.tpl" element='menu' input='textarea'}
<p class="description">{l s='One option per line. It also allows to set custom label, custom value and default value following this structure: label|value:default' mod='ets_cfultimate'}</p>
<label><input type="checkbox" name="multiple" class="option"/> {l s='Allow multiple selections' mod='ets_cfultimate'}</label>
<label><input type="checkbox" name="include_blank" class="option"/> {l s='Insert a blank item as the first option' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
{include file="./desc.tpl" input_type='menu'}
<tr>
<th scope="row">
<label for="tag-generator-panel-menu-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-menu-id"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-menu-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-menu-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_menu ets_cfu_input"
data-type="menu"
data-required="0"
data-name=""
data-multiple="0"
data-include_blank="0"
data-id=""
data-class=""
data-order="0">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_menu.png'|escape:'html':'utf-8'}" alt="{l s='Dropdown selections' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Dropdown selections' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='select'}
</div>
</form>
</div>

View File

@@ -0,0 +1,21 @@
{*
* 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
*}
{literal}<img src="{shop_logo}" />{/literal}

View File

@@ -0,0 +1,162 @@
{*
* 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
*}
<script type="text/javascript">
var text_add_to_black_list = '{l s='Add IP address to blacklist successful' js='1' mod='ets_cfultimate' }';
var detele_log = '{l s='If you clear "View log", view chart will be reset. Do you want to do that?' js='1' mod='ets_cfultimate' }';
var ets_cfu_x_days = '{l s='Day' mod='ets_cfultimate'}';
var ets_cfu_x_months = '{l s='Month' mod='ets_cfultimate'}';
var ets_cfu_x_years = '{l s='Year' mod='ets_cfultimate'}';
var ets_cfu_y_label = '{l s='Count' mod='ets_cfultimate'}';
var ets_cfu_lc_title = '{l s='Statistics' mod='ets_cfultimate'}';
var ets_cfu_line_chart = '{$ets_cfu_line_chart|json_encode}';
var ets_cfu_lc_labels = '{$ets_cfu_lc_labels|json_encode}';
var ets_cfu_y_max = {$y_max_value|intval};
</script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}chart.js"></script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}common.js"></script>
<script type="text/javascript" src="{$ets_cfu_js_dir_path|escape:'quotes':'UTF-8'}statistics.js"></script>
{hook h='contactFormUltimateTopBlock'}
<div class="cfu-content-block">
<div class="panel statics_form">
<div class="panel-heading">
<i class="icon icon-line-chart fa fa-line-chart"></i> {l s='Statistics' mod='ets_cfultimate'}
</div>
<div class="form-wrapper">
<div class="ets_form_tab_header">
<span {if $cfu_tab_ets=='chart'}class="active"{/if} data-tab="chart">{l s='Chart' mod='ets_cfultimate'}</span>
<span {if $cfu_tab_ets=='view-log'}class="active"{/if} data-tab="view-log">{l s='Views log' mod='ets_cfultimate'}</span>
</div>
<div class="form-group-wapper">
<div class="ets_cfu_admin_statistic form-group form_group_contact chart">
<div class="ets_cfu_admin_chart">
<div class="ets_cfu_line_chart">
<canvas id="ets_cfu_line_chart" style="width:100%; height: 500px;"></canvas>
</div>
</div>
<div class="ets_cfu_admin_filter">
<form id="ets_cfu_admin_filter_chart" class="defaultForm form-horizontal"
action="{$action|escape:'quotes'}" enctype="multipart/form-data" method="POST">
<div class="ets_cfu_admin_filter_chart_settings">
<div class="ets_cfu_admin_filter_cotactform">
<label>{l s='Contact form' mod='ets_cfultimate'}</label>
<select id="ets_cfu_id_contact" name="id_contact" class="form-control">
<option value=""{if !$sl_contact} selected="selected"{/if}>{l s='All contact form' mod='ets_cfultimate'}</option>
{foreach from=$ets_cfu_contacts item=contact}
<option value="{$contact.id_contact|intval}" {if $sl_contact == $contact.id_contact} selected="selected"{/if}>{$contact.title|escape:'html':'utf-8'}</option>
{/foreach}
</select>
</div>
<div class="ets_cfu_admin_filter_date">
<label>{l s='Month' mod='ets_cfultimate'}</label>
<select id="ets_cfu_months" name="ets_cfu_months" class="form-control">
<option value="" {if !$sl_month} selected="selected"{/if}>{l s='All' mod='ets_cfultimate'}</option>
{foreach from=$ets_cfu_months key=k item=month}
<option value="{$k|intval}"{if $sl_month == $k} selected="selected"{/if}>{l s=$month mod='ets_cfultimate'}</option>
{/foreach}
</select>
</div>
<div class="ets_cfu_admin_filter_date">
<label>{l s='Year' mod='ets_cfultimate'}</label>
<select id="ets_cfu_years" name="ets_cfu_years" class="form-control">
<option value="" {if !$sl_year} selected="selected"{/if}>{l s='All' mod='ets_cfultimate'}</option>
{foreach from=$ets_cfu_years item=year}
<option value="{$year|intval}" {if $sl_year == $year} selected="selected"{/if}>{$year|intval}</option>
{/foreach}
</select>
</div>
<div class="ets_cfu_admin_filter_button">
<button name="etsCfuSubmitFilterChart" class="btn btn-default"
type="submit">{l s='Filter' mod='ets_cfultimate'}</button>
{if $ets_cfu_show_reset}
<a href="{$action|escape:'quotes'}"
class="btn btn-default">{l s='Reset' mod='ets_cfultimate'}</a>
{/if}
</div>
</div>
</form>
</div>
</div>
<div class="ets_cfu_admin_log form-group form_group_contact view-log">
{if $ets_cfu_logs}
<table id="table-log" class="table log">
<thead>
<tr class="nodrag nodrop">
<th>{l s='IP address' mod='ets_cfultimate'}</th>
<th>{l s='Browser' mod='ets_cfultimate'}</th>
<th>{l s='Customer' mod='ets_cfultimate'}</th>
<th>{l s='Contact form' mod='ets_cfultimate'}</th>
<th>{l s='Date' mod='ets_cfultimate'}</th>
<th>{l s='Action' mod='ets_cfultimate'}</th>
</tr>
</thead>
<tbody id="list-ets_cfu_logs">
{foreach from=$ets_cfu_logs item='log'}
<tr>
<td>{$log.ip|escape:'html':'UTF-8'}</td>
<td>
<span class="browser-icon {$log.class|escape:'html':'UTF-8'}"></span> {$log.browser|escape:'html':'UTF-8'}
</td>
<td>{if $log.id_customer}<a
href="{$link->getAdminLink('AdminCustomers')|escape:'html':'UTF-8'}"
>{$log.firstname|escape:'html':'UTF-8'}
&nbsp;{$log.lastname|escape:'html':'UTF-8'}</a>{else}--{/if}</td>
<td>
{if $log.enable_form_page}
<a href="{Ets_CfUltimate::getLinkContactForm($log.id_contact|intval)|escape:'html':'UTF-8'}"
class="dropdown-item product-edit" target="_blank"
>
{/if}
{$log.title|escape:'html':'UTF-8'}
{if $log.enable_form_page}
</a>
{/if}
</td>
<td>{$log.datetime_added|escape:'html':'UTF-8'}</td>
<td class="statitics_form_action">
<a class="btn btn-default view_location"
href="https://www.infobyip.com/ip-{$log.ip|escape:'html':'UTF-8'}.html"
target="_blank">{l s='View location' mod='ets_cfultimate'}</a>
{if !$log.black_list}
<a class="btn btn-default etsCfuAddToBlackList " data-ip="{$log.ip|escape:'html':'UTF-8'}" href="{$action|escape:'quotes'}&etsCfuAddToBlackList={$log.ip|escape:'html':'UTF-8'}">{l s='Add to blacklist' mod='ets_cfultimate'}</a>
{else}
<span><i class="icon icon-user-times"></i></span>
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<form action="{$action|escape:'quotes'}" enctype="multipart/form-data" method="POST">
<input type="hidden" value="1" name="etsCfuClearLogSubmit"/>
<div class="ets_pagination">
{$ets_cfu_pagination_text nofilter}
</div>
<button class="clear-log btn btn-default" type="submit"
name="etsCfuClearLogSubmit">{l s='Clear all view logs' mod='ets_cfultimate'}</button>
</form>
{else}
{l s='No views log' mod='ets_cfultimate'}
{/if}
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,76 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-submit" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="submit">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
<tr>
<th scope="row">
<label for="tag-generator-panel-submit-values">{l s='Label' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='submit'}
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-submit-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-submit-name"/>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-submit-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-submit-id"/></td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-submit-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-submit-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_submit ets_cfu_input"
data-type="submit"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_submit.png'|escape:'html':'utf-8'}" alt="{l s='Submit' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('label', 'desc', 'content') default = 'values'}
<p class="ets_cfu_help_block">{l s='Submit' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='submit'}
</div>
</form>
</div>

View File

@@ -0,0 +1,90 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-tel" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="tel">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='tel'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/> {l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-tel-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td><input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-tel-name"/>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-tel-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='tel'}
<label><input type="checkbox" name="placeholder" class="option"/>
{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}
</label>
<label><input type="checkbox" name="default" class="default" value="user_phone"/>
{l s='Use customer phone number as default value' mod='ets_cfultimate'}
</label>
</td>
</tr>
{include file="./desc.tpl" input_type='tel'}
<tr>
<th scope="row"><label for="tag-generator-panel-tel-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-tel-id"/></td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-tel-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-tel-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_tel ets_cfu_input"
data-type="tel"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_tel.png'|escape:'html':'utf-8'}" alt="{l s='Input telephone' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default='label'}
<p class="ets_cfu_help_block">{l s='Telephone' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='tel'}
</div>
</form>
</div>

View File

@@ -0,0 +1,122 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-text" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="text">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='text'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-text-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-text-name"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-text-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
<div class="form-group ets_cfu_field_set">
<div class="col-lg-9">
{include "./values.tpl" element='text'}
</div>
<div class="col-lg-3">
<select name="default" class="default">
<option value="">{l s='-- Custom --' mod='ets_cfultimate'}</option>
<option value="user_first_name">{l s='Default user Firstname' mod='ets_cfultimate'}</option>
<option value="user_last_name">{l s='Default user Lastname' mod='ets_cfultimate'}</option>
<option value="user_full_name">{l s='Default user Fullname' mod='ets_cfultimate'}</option>
<option value="user_email ">{l s='Default user Email' mod='ets_cfultimate'}</option>
<option value="user_phone ">{l s='Default user Phone Number' mod='ets_cfultimate'}</option>
</select>
</div>
</div>
<label><input type="checkbox" name="placeholder" class="option"/>{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}</label>
</td>
</tr>
{include file="./desc.tpl" input_type='text'}
{* Quang add *}
<tr>
<th scope="row">
<label for="tag-generator-panel-text-id">{l s='Max character' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="number" name="maxlength" class="option numeric" id="tag-generator-panel-text-maxlength"/>
</td>
</tr>
{* END Quang add *}
<tr>
<th scope="row">
<label for="tag-generator-panel-text-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-text-id"/>
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-text-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-text-class"/>
</td>
</tr>
<tr>
<th scope="row"></th>
<td>
<label><input type="checkbox" name="mailtag" class="mail-tag text"/>{l s='Is contact name' mod='ets_cfultimate'}</label>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_text ets_cfu_input"
data-type="text"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class=""
data-mailtag="0">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_text.png'|escape:'html':'utf-8'}" alt="{l s='Input text' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Text' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='text'}
</div>
</form>
</div>

View File

@@ -0,0 +1,102 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-textarea" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="textarea">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='textarea'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-textarea-name">{l s='Name' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-textarea-name"/>
{if $ETS_CFU_ENABLE_TMCE}
<br/>
<label>
<input type="checkbox" name="rte" class="option"/>{l s='Enable rich text editor' mod='ets_cfultimate'}
</label>
{/if}
</td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-textarea-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='textarea'}
<label><input type="checkbox" name="placeholder" class="option"/>{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}</label>
</td>
</tr>
{include file="./desc.tpl" input_type='textarea'}
{* Quang add *}
<tr>
<th scope="row">
<label for="tag-generator-panel-text-id">{l s='Max character' mod='ets_cfultimate'}</label>
</th>
<td>
<input type="number" name="maxlength" class="option numeric in_textarea" id="tag-generator-panel-text-maxlength"/>
<p class="help-block">{l s='Do not apply to "Enable rich text editor"' mod='ets_cfultimate'}</p>
</td>
</tr>
{* END Quang add *}
<tr>
<th scope="row"><label for="tag-generator-panel-textarea-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-textarea-id"/></td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-textarea-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-textarea-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_textarea ets_cfu_input"
data-type="textarea"
data-required="0"
data-name=""
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_textarea.png'|escape:'html':'utf-8'}" alt="{l s='Textarea' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default = 'label'}
<p class="ets_cfu_help_block">{l s='Textarea' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='textarea'}
</div>
</form>
</div>

View File

@@ -0,0 +1,93 @@
{*
* 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
*}
{assign var="is_multi_lang" value=($languages|count > 1)}
<div id="tag-generator-panel-url" class="hidden">
<form action="" class="tag-generator-panel bootstrap" data-id="url">
<div class="control-box">
<fieldset>
<table class="form-table">
<tbody>
{include file="./input_label.tpl" input_type='url'}
<tr>
<th scope="row">{l s='Field type' mod='ets_cfultimate'}</th>
<td>
<fieldset>
<label><input type="checkbox" name="required"/>{l s='Required field' mod='ets_cfultimate'}</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-url-name">{l s='Name' mod='ets_cfultimate'}</label></th>
<td><input type="text" name="name" class="tg-name oneline" id="tag-generator-panel-url-name"/></td>
</tr>
<tr>
<th scope="row">
<label for="tag-generator-panel-url-values">{l s='Default value' mod='ets_cfultimate'}</label>
</th>
<td>
{include "./values.tpl" element='url'}
<label>
<input type="checkbox" name="placeholder" class="option"/>{l s='Use this text as the placeholder of the field' mod='ets_cfultimate'}
</label>
<label>
<input type="checkbox" name="use_current_url" class="option"/>{l s='Use current page URL as default value' mod='ets_cfultimate'}
</label>
<label>
<input type="checkbox" name="read_only" class="option"/>{l s='Read only' mod='ets_cfultimate'}
</label>
</td>
</tr>
{include file="./desc.tpl" input_type='url'}
<tr>
<th scope="row"><label for="tag-generator-panel-url-id">{l s='Id attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="id" class="idvalue oneline option" id="tag-generator-panel-url-id"/></td>
</tr>
<tr>
<th scope="row"><label for="tag-generator-panel-url-class">{l s='Class attribute' mod='ets_cfultimate'}</label>
</th>
<td><input type="text" name="class" class="classvalue oneline option" id="tag-generator-panel-url-class"/></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
<div class="insert-box">
<div class="ets_cfu_input_url ets_cfu_input"
data-type="url"
data-required="0"
data-name=""
data-use_current_url="0"
data-read_only="0"
data-placeholder=""
data-id=""
data-class="">
<div class="ets_cfu_input_generator">
<img src="{$img_dir|cat:'ip_url.png'|escape:'html':'utf-8'}" alt="{l s='Input url' mod='ets_cfultimate'}" />
{include file="./form_data.tpl" excludes = array('content') default='label'}
<p class="ets_cfu_help_block">{l s='URL' mod='ets_cfultimate'}</p>
</div>
{include file="./buttons.tpl"}
</div>
{include file="./input_tag.tpl" input_type='url'}
</div>
</form>
</div>

View File

@@ -0,0 +1,61 @@
{*
* 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 isset($input) && $input}{assign var="input" value=$input}{else}{assign var="input" value="input"}{/if}
{if isset($input_name) && $input_name}{assign var="input_name" value=$input_name}{else}{assign var="input_name" value="values"}{/if}
{if $is_multi_lang}
<div class="ets_cfu_input_groups">
{/if}
{foreach $languages as $language}
{if $is_multi_lang}
<div class="translatable-field lang-{$language.id_lang|intval}"{if $is_multi_lang} data-lang="{$language.id_lang|intval}"{/if}{if $language.id_lang != $defaultFormLanguage} style="display:none"{/if}>
<div class="col-lg-10">
{/if}
{if $input!='input'}
<textarea data-unique="{$input_name|escape:'html':'utf-8'}"
name="{$input_name|escape:'html':'utf-8'}_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"
class="oneline cfu-{$input_name|escape:'html':'utf-8'} large-text is-multi-lang"
id="tag-generator-panel-{$element|escape:'html':'utf-8'}-values_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"></textarea>
{else}
<input type="text"
data-unique="{$input_name|escape:'html':'utf-8'}"
name="{$input_name|escape:'html':'utf-8'}_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"
class="oneline cfu-{$input_name|escape:'html':'utf-8'} large-text is-multi-lang"
id="tag-generator-panel-{$element|escape:'html':'utf-8'}-values_{if $is_multi_lang}{$language.id_lang|intval}{else}{$defaultFormLanguage|intval}{/if}"/>
{/if}
{if $is_multi_lang}
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" tabindex="-1" data-toggle="dropdown">
{$language.iso_code|escape:'quotes'}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{foreach from=$languages item=language}
<li><a href="javascript:hideOtherLanguage({$language.id_lang|intval});" tabindex="-1">{$language.name|escape:'html':'utf-8'}</a></li>
{/foreach}
</ul>
</div>
</div>
{/if}
{/foreach}
{if $is_multi_lang}
</div>
{/if}

View File

@@ -0,0 +1,31 @@
<?php
/**
* 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
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;