On rajoute les derniers modules et on modifie les CSS
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
{*
|
||||
* 2007-2020 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-2020 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="defaultForm"}
|
||||
{if $old_version && !(isset($ik))}{assign var="ik" value=0}{/if}
|
||||
{$smarty.block.parent}
|
||||
{/block}
|
||||
{block name="legend"}
|
||||
{if $field.title}
|
||||
<div class="form-heading-wrapper">
|
||||
{$smarty.block.parent}
|
||||
{if isset($intro) && $intro}
|
||||
<div 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_advancedcaptcha'}</span>
|
||||
<span class="tab-sub-title">{l s='Made by ETS-Soft' mod='ets_advancedcaptcha'}</span>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="label"}
|
||||
{if $is15}{if isset($ik) && $ik == 0}<div class="form-wrapper">{/if}
|
||||
<div class="form-group-wrapper row_{$input.name|lower|escape:'html':'UTF-8'}" {if isset($configTabs) && isset($input.tab)} data-tab-id="{$input.tab}"{/if}>
|
||||
{/if}
|
||||
{if $input.type == 'pa_help'}{$input.html nofilter}{else}{$smarty.block.parent}{/if}
|
||||
{/block}
|
||||
{block name="field"}
|
||||
{if $input.type != 'pa_help'}{$smarty.block.parent}{/if}
|
||||
{if $is15}</div>{if isset($ik)}{assign var="ik" value=$ik+1}{if $ik == $field|count}</div>{/if}{/if}{/if}
|
||||
{/block}
|
||||
{block name="input"}
|
||||
{if $input.type == 'pa_img_radio'}
|
||||
{if isset($input.values) && $input.values}
|
||||
<ul class="ets_pa_options">
|
||||
{foreach from=$input.values item='option'}
|
||||
<li class="ets_pa_item">
|
||||
<div class="radio">
|
||||
<label for="{$input.name|escape:'html':'utf-8'}_{$option.id_option|escape:'quotes'}">
|
||||
<input type="radio" style="outline: none;" id="{$input.name|escape:'html':'utf-8'}_{$option.id_option|escape:'quotes'}" name="{$input.name|escape:'html':'utf-8'}" value="{$option.id_option|escape:'quotes'}" {if !empty($fields_value[$input.name]) && $fields_value[$input.name] == $option.id_option}checked{/if}>
|
||||
<img src="{$path|cat: 'views/img/'|cat: $option.img|escape:'html':'utf-8'}">
|
||||
{$option.name|escape:'html':'utf-8'}
|
||||
</label>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{elseif $input.type == 'pa_checkbox'}
|
||||
{if isset($input.values) && $input.values}
|
||||
<ul class="ets_pa_options">
|
||||
{foreach from=$input.values item='option'}
|
||||
<li class="ets_pa_item">
|
||||
<div class="checkbox">
|
||||
<label for="{$input.name|escape:'html':'utf-8'}_{$option.id_option|escape:'quotes'}">
|
||||
<input type="checkbox" id="{$input.name|escape:'html':'utf-8'}_{$option.id_option|escape:'quotes'}" name="{$input.name|escape:'html':'utf-8'}[]" value="{$option.id_option|escape:'quotes'}" {if !empty($fields_value[$input.name]) && ( $fields_value[$input.name] == 'ALL' || (is_array($fields_value[$input.name]) && in_array($option.id_option, $fields_value[$input.name])) )}checked{/if} {if !empty($fields_value[$input.name]) && $fields_value[$input.name] == 'ALL' && $option.id_option != 'ALL'}disabled{/if}>
|
||||
{$option.name nofilter}
|
||||
</label>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{elseif $input.type == 'switch'}
|
||||
{if $is15}
|
||||
<span class="switch prestashop-switch fixed-width-lg">
|
||||
{foreach $input.values as $value}
|
||||
<input type="radio" name="{$input.name|escape:'quotes'}"{if $value.value == 1} id="{$input.name|escape:'quotes'}_on"{else} id="{$input.name|escape:'quotes'}_off"{/if} value="{$value.value|intval}"{if $fields_value[$input.name] == $value.value} checked="checked"{/if}/>
|
||||
{strip}
|
||||
<label {if $value.value == 1} for="{$input.name|escape:'quotes'}_on"{else} for="{$input.name|escape:'quotes'}_off"{/if}>
|
||||
{if $value.value == 1}{l s='Yes' mod='ets_advancedcaptcha'}{else}{l s='No' mod='ets_advancedcaptcha'}{/if}
|
||||
</label>
|
||||
{/strip}
|
||||
{/foreach}
|
||||
<a class="slide-button btn"></a>
|
||||
</span>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{elseif $input.name == 'PA_GOOGLE_CAPTCHA_SECRET_KEY'}
|
||||
{$smarty.block.parent}
|
||||
<p class="help-block">
|
||||
<a target="_blank" href="{if isset($root_dir) && $root_dir }{$root_dir nofilter}views/pdf/recaptcha_v2.pdf{/if}" title="{l s='How to get Site key and Secret key?' mod='ets_advancedcaptcha'}">{l s='How to get Site key and Secret key?' mod='ets_advancedcaptcha'}</a>
|
||||
</p>
|
||||
{elseif $input.name == 'PA_GOOGLE_V3_CAPTCHA_SECRET_KEY'}
|
||||
{$smarty.block.parent}
|
||||
<p class="help-block">
|
||||
<a target="_blank" href="{if isset($root_dir) && $root_dir }{$root_dir nofilter}views/pdf/recaptcha_v3.pdf{/if}" title="{l s='How to get Site key and Secret key?' mod='ets_advancedcaptcha'}">{l s='How to get Site key and Secret key?' mod='ets_advancedcaptcha'}</a>
|
||||
</p>
|
||||
{else}
|
||||
{$smarty.block.parent}
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="input_row"}
|
||||
{if $old_version && isset($ik) && $ik == 0}<div class="form-wrapper">{/if}
|
||||
<div class="form-group-wrapper row_{$input.name|lower|escape:'html':'UTF-8'}" {if isset($configTabs) && isset($input.tab)} data-tab-id="{$input.tab}"{/if}>
|
||||
{if $input.type != 'pa_help'}{$smarty.block.parent}{else}{$input.html nofilter}{/if}
|
||||
</div>
|
||||
{if $old_version && isset($ik)}{assign var="ik" value=$ik+1}{if $ik == $field|count}</div>{/if}{/if}
|
||||
{/block}
|
||||
{block name="footer"}
|
||||
{if isset($log_install) && $log_install}{$log_install nofilter}{/if}
|
||||
{$smarty.block.parent}
|
||||
{/block}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2020 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-2020 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;
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2020 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-2020 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;
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2020 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-2020 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;
|
||||
31
modules/ets_advancedcaptcha/views/templates/admin/index.php
Normal file
31
modules/ets_advancedcaptcha/views/templates/admin/index.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2020 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-2020 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;
|
||||
Reference in New Issue
Block a user