first commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div id="older_module" class="col-xl-10 col-xl-offset-1 col-lg-10 col-lg-offset-1">
|
||||
<div class="row alert alert-warning" role="alert">
|
||||
<h4>{l s='WARNING' d='Modules.Blockreassurance.Admin'}</h4>
|
||||
<p>{l s='Your folder %s is not readable or executable' sprintf=$folderPath d='Modules.Blockreassurance.Admin'}</p>
|
||||
<p>{l s='This folder needs these rights so you can upload your own images for the reassurances blocks.' d='Modules.Blockreassurance.Admin'}</p>
|
||||
</div>
|
||||
</div>
|
||||
69
modules/blockreassurance/views/templates/admin/configure.tpl
Normal file
69
modules/blockreassurance/views/templates/admin/configure.tpl
Normal file
@@ -0,0 +1,69 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="bootstrap">
|
||||
<div class="page-head custom-tab">
|
||||
<div class="page-head-tabs" id="head_tabs">
|
||||
<ul class="nav">
|
||||
<li class="active">
|
||||
<a href="#pscontent" data-toggle="tab">{l s='Content' d='Modules.Blockreassurance.Admin'}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#display" data-toggle="tab">{l s='Display' d='Modules.Blockreassurance.Admin'}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#appearance" data-toggle="tab">{l s='Appearance' d='Modules.Blockreassurance.Admin'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bootstrap" id="psreassurance_configuration">
|
||||
<!-- Module content -->
|
||||
<div id="modulecontent" class="clearfix">
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content row">
|
||||
{if !$folderIsWritable}
|
||||
{include file="./alert_folder_writable.tpl"}
|
||||
{/if}
|
||||
<div class="tab-pane active" id="pscontent">
|
||||
<div class="tab_cap_listing">
|
||||
{include file="./tabs/content.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" id="display">
|
||||
<div class="tab_cap_listing">
|
||||
{include file="./tabs/display.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" id="appearance">
|
||||
<div class="tab_cap_listing">
|
||||
{include file="./tabs/appearance.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
34
modules/blockreassurance/views/templates/admin/index.php
Normal file
34
modules/blockreassurance/views/templates/admin/index.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
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,74 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="panel panel-default panel-blockreassurance col-lg-10 col-lg-offset-1 col-xs-12 col-xs-offset-0">
|
||||
<div class="panel-heading">
|
||||
{l s='Customize Module Design' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div class="clearfix">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Icon color' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-2">
|
||||
<div class="ps_colorpicker1"></div>
|
||||
<input type="hidden" id="color_1" name="PSR_ICON_COLOR" class="psr_icon_color"
|
||||
value="{if isset($psr_icon_color)}{$psr_icon_color|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Text color' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-2">
|
||||
<div class="ps_colorpicker2"></div>
|
||||
<input type="hidden" id="color_2" name="PSR_TEXT_COLOR" class="psr_text_color"
|
||||
value="{if isset($psr_text_color)}{$psr_text_color|escape:'htmlall':'UTF-8'}{/if}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel-footer">
|
||||
<div class="col-xs-12 text-right">
|
||||
<button name="saveConfiguration" id="saveConfiguration" type="submit" class="btn btn-primary">{l s='Save' d='Modules.Blockreassurance.Admin'}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{* Listing of reassurance blocks *}
|
||||
{include file="./content/listing.tpl"}
|
||||
|
||||
{* Listing of reassurance blocks *}
|
||||
{include file="./content/config.tpl"}
|
||||
@@ -0,0 +1,83 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div id="blockDisplay" class="panel panel-default panel-blockreassurance col-lg-10 col-xs-10 col-lg-offset-1 col-xs-offset-1 inactive">
|
||||
<div class="panel-heading">
|
||||
{l s='Reassurance Block' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
{include file="./config_elements/reassurance_block.tpl"}
|
||||
<form class="form_" method="post" ENCTYPE="multipart/form-data">
|
||||
<div class="panel-body-0 panel-body show-rea-block inactive">
|
||||
{* icon *}
|
||||
{include file="./config_elements/icon.tpl"}
|
||||
{* language *}
|
||||
{include file="./config_elements/language.tpl"}
|
||||
{foreach from=$languages item=language}
|
||||
{* title *}
|
||||
{include file="./config_elements/title.tpl"}
|
||||
{* description *}
|
||||
{include file="./config_elements/description.tpl"}
|
||||
{/foreach}
|
||||
{* redirection *}
|
||||
{include file="./config_elements/redirection.tpl"}
|
||||
{* CMS *}
|
||||
{include file="./config_elements/cms.tpl"}
|
||||
{* URL *}
|
||||
{include file="./config_elements/url.tpl"}
|
||||
</div>
|
||||
</form>
|
||||
{foreach from=$allblock item=$block key=$key}
|
||||
<form class="form_{$block['id_psreassurance']}" method="post" ENCTYPE="multipart/form-data">
|
||||
<div class="panel-body-{$block['id_psreassurance']} panel-body show-rea-block inactive">
|
||||
{* icon *}
|
||||
{include file="./config_elements/icon.tpl"}
|
||||
{* language *}
|
||||
{include file="./config_elements/language.tpl"}
|
||||
{foreach from=$languages item=language}
|
||||
{* title *}
|
||||
{include file="./config_elements/title.tpl"}
|
||||
{* description *}
|
||||
{include file="./config_elements/description.tpl"}
|
||||
{/foreach}
|
||||
{* redirection *}
|
||||
{include file="./config_elements/redirection.tpl"}
|
||||
{* CMS *}
|
||||
{include file="./config_elements/cms.tpl"}
|
||||
{* URL *}
|
||||
{include file="./config_elements/url.tpl"}
|
||||
</div>
|
||||
</form>
|
||||
{/foreach}
|
||||
<div class="panel-footer">
|
||||
<div class="col-xs-6 text-left">
|
||||
<input name="refreshPage" type="submit"
|
||||
class="btn btn-primary refreshPage" value="{l s='Return' d='Modules.Blockreassurance.Admin'}">
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<input name="saveContentConfiguration" id="saveContentConfiguration" data-id="" type="submit"
|
||||
class="btn btn-primary" value="{l s='Save' d='Modules.Blockreassurance.Admin'}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,45 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group psr-cms {if (isset($block) && $block['type_link'] != $LINK_TYPE_CMS) || !isset($block)} inactive{/if}">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='CMS Page' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4">
|
||||
<div class="input-group col-xs-12 col-sm-12 col-md-7 col-lg-12 psrea-flex">
|
||||
<select class="custom-select" name="ID_CMS_{if isset($block)}{$block['id_psreassurance']}{/if}">
|
||||
{foreach from=$allCms item=cms}
|
||||
<option value="{$cms['id_cms']}" {if isset($block) && $block['id_cms'] == $cms['id_cms']} selected="selected"{/if}>{$cms['meta_title']|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,51 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group content_by_lang lang-{$language.id_lang|escape:'htmlall':'UTF-8'} {if $language.id_lang != $defaultFormLanguage}inactive{/if}"
|
||||
data-type="description" data-lang="{$language.id_lang|escape:'htmlall':'UTF-8'}">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Description (optional)' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4">
|
||||
<div class="input-group col-lg-12">
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-12">
|
||||
<textarea
|
||||
name="description-{$language.id_lang|escape:'htmlall':'UTF-8'}"
|
||||
max="100"
|
||||
class="form-control"
|
||||
value="{if isset($block)}{$allblock[$block['id_psreassurance']]['description'][{$language.id_lang}]}{/if}"
|
||||
>{if isset($block)}{$allblock[$block['id_psreassurance']]['description'][{$language.id_lang}]}{/if}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 help-block">
|
||||
<span class="limit_description">0</span>/100 characters
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,59 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3 first-block">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Image' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4 first-block">
|
||||
<div class="psr_picto_showing input-group col-lg-4">
|
||||
<img class="psr-picto picto_by_module svg"
|
||||
src="{if isset($block) && $block['icon']}{$block['icon']}{elseif isset($block) && $block['custom_icon']}{$block['custom_icon']}{/if}"/>
|
||||
<div>
|
||||
<i class="material-icons landscape">landscape</i>
|
||||
</div>
|
||||
<div class="svg_chosed_here">
|
||||
<img class="image-preview-lang img-thumbnail hide" src="" alt="" width="24px" height="24px"/>
|
||||
</div>
|
||||
<span class="modify_icon" data-id="{if isset($block)}{$block['id_psreassurance']}{/if}">{l s='Modify icon' d='Modules.Blockreassurance.Admin'}</span>
|
||||
</div>
|
||||
<div class="input-group upload_file_button">
|
||||
<label class="file_label" for="file{if isset($block)}{$block['id_psreassurance']}{/if}" data-label="{l s='or upload file' d='Modules.Blockreassurance.Admin'}">{l s='or upload file' d='Modules.Blockreassurance.Admin'}</label>
|
||||
<label class="input-group-btn">
|
||||
<span>
|
||||
<i class="icon-file"></i><input id="file{if isset($block)}{$block['id_psreassurance']}{/if}" class="slide_image" data-preview="image-preview-lang" type="file" name="image-lang">
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="help-block">
|
||||
{l s='Choose SVG for better customization. Other allowed formats are: .gif, .jpg, .png' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
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,49 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{if $languages|count > 1}
|
||||
<div class="form-group">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Languages' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4">
|
||||
<div class="input-group col-lg-12">
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-12">
|
||||
<select class="custom-select" name="psr-language">
|
||||
{foreach from=$languages item=lang}
|
||||
<option {if $lang.id_lang == $defaultFormLanguage}selected="selected"{/if}
|
||||
value="{$lang.id_lang}">{$lang.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,102 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<section id="reassurance_block">
|
||||
<section class="category_select row">
|
||||
<div class="col-lg-2 col-xs-2 active"><img class="svg" src="{$img_url}/reassurance/pack1/public.svg" data-id="1" /></div>
|
||||
<div class="col-lg-2 col-xs-2"><img class="svg" src="{$img_url}/reassurance/pack2/globe.svg" data-id="2" /></div>
|
||||
<div class="col-lg-2 col-xs-2"><img class="svg" src="{$img_url}/reassurance/pack3/globe.svg" data-id="3" /></div>
|
||||
</section>
|
||||
<section class="category_reassurance cat_1 active">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/headset.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/local-shipping.svg"/>
|
||||
</div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/lock.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/loop.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/loyalty.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/mood.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/payment.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/public.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/redeem.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/thumb.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/timer.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack1/touch-app.svg"/></div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="category_reassurance cat_2">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/carrier.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/creditcard.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/gift.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/globe.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/hotline.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/parcel.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/phone.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/return.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/satisfaction.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/security.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/support.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack2/trust.svg"/></div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="category_reassurance cat_3">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/carrier.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/clock.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/comment.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/gift.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/globe.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/location.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/payment.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/return.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/satisfaction.svg"/></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/security.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/star.svg"/></div>
|
||||
<div class="col-lg-4 col-xs-4"><img class="svg" src="{$img_url}/reassurance/pack3/support.svg"/></div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="select_none">
|
||||
{l s='Select none' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,65 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Redirection' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4">
|
||||
<div class="input-group col-lg-12">
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-12 customradiodesign">
|
||||
<div>
|
||||
<input id="PSR_REDIRECTION_NONE_{if isset($block)}{$block['id_psreassurance']}{/if}" type="radio"
|
||||
name="PSR_REDIRECTION_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
value="{$LINK_TYPE_NONE}" {if (isset($block) && $block['type_link'] == $LINK_TYPE_NONE) || !isset($block)} checked="checked"{/if}>
|
||||
|
||||
<label for="PSR_REDIRECTION_NONE_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
class="input-redirection"><span><span></span></span>{l s='None' d='Modules.Blockreassurance.Admin'}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="PSR_REDIRECTION_CMS_{if isset($block)}{$block['id_psreassurance']}{/if}" type="radio"
|
||||
name="PSR_REDIRECTION_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
value="{$LINK_TYPE_CMS}" {if isset($block) && $block['type_link'] == $LINK_TYPE_CMS} checked="checked"{/if}>
|
||||
|
||||
<label for="PSR_REDIRECTION_CMS_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
class="input-redirection"><span><span></span></span>{l s='CMS page' d='Modules.Blockreassurance.Admin'}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="PSR_REDIRECTION_URL_{if isset($block)}{$block['id_psreassurance']}{/if}" type="radio"
|
||||
name="PSR_REDIRECTION_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
value="{$LINK_TYPE_URL}" {if isset($block) && $block['type_link'] == $LINK_TYPE_URL} checked="checked"{/if}>
|
||||
|
||||
<label for="PSR_REDIRECTION_URL_{if isset($block)}{$block['id_psreassurance']}{/if}"
|
||||
class="input-redirection"><span><span></span></span>{l s='URL' d='Modules.Blockreassurance.Admin'}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,48 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group content_by_lang lang-{$language.id_lang|escape:'htmlall':'UTF-8'} {if $language.id_lang != $defaultFormLanguage}inactive{/if}"
|
||||
data-type="title" data-lang="{$language.id_lang|escape:'htmlall':'UTF-8'}">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='Title' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4">
|
||||
<div class="input-group col-lg-12">
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-12">
|
||||
<input type="text" name="title-{$language.id_lang|escape:'htmlall':'UTF-8'}" max="100"
|
||||
class="form-control"
|
||||
value="{if isset($block)}{$allblock[$block['id_psreassurance']]['title'][{$language.id_lang}]|escape:'htmlall':'UTF-8'}{/if}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 help-block">
|
||||
<span class="limit_text">0</span>/100 characters
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,48 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="form-group psr-url {if (isset($block) && $block['type_link'] != $LINK_TYPE_URL) || !isset($block)} inactive{/if}" data-type="url">
|
||||
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-3">
|
||||
<div class="text-right">
|
||||
<label class="control-label">
|
||||
{l s='URL' d='Modules.Blockreassurance.Admin'}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{foreach from=$languages item=language}
|
||||
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-4 content_by_lang lang-{$language.id_lang|escape:'htmlall':'UTF-8'} {if $language.id_lang != $defaultFormLanguage}inactive{/if}"
|
||||
data-type="url" data-lang="{$language.id_lang|escape:'htmlall':'UTF-8'}">
|
||||
<div class="input-group col-xs-12 col-sm-12 col-md-7 col-lg-12 psrea-flex">
|
||||
<div class="input-group-append">
|
||||
<span class="input-group-text picto-url"><i class="material-icons">link</i></span>
|
||||
</div>
|
||||
<input class="block_url form-control" type="text" name="URL"
|
||||
value="{if isset($block)}{$allblock[$block['id_psreassurance']]['url'][{$language.id_lang}]}{/if}">
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
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,107 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div id="reminder_listing" class="panel panel-default panel-blockreassurance col-lg-10 col-lg-offset-1 col-xs-12 col-xs-offset-0">
|
||||
<div class="panel-heading">
|
||||
{l s='Block Content' d='Modules.Blockreassurance.Admin'}
|
||||
<span class="psre-add"><i class="material-icons">add_circle</i></span>
|
||||
</div>
|
||||
<div class="panel-body first-body">
|
||||
<div class="clearfix">
|
||||
<div class="listing-table col-xs-12">
|
||||
<div class="listing-head row">
|
||||
<div class="col-xs-1 content-header">{l s='Position' d='Modules.Blockreassurance.Admin'}</div>
|
||||
<div class="col-xs-1 content-header">{l s='Image' d='Modules.Blockreassurance.Admin'}</div>
|
||||
<div class="col-xs-2 content-header">{l s='Title' d='Modules.Blockreassurance.Admin'}</div>
|
||||
<div class="col-xs-4 content-header">{l s='Description' d='Modules.Blockreassurance.Admin'}</div>
|
||||
<div class="col-xs-2 content-header">{l s='Redirection' d='Modules.Blockreassurance.Admin'}</div>
|
||||
<div class="col-xs-2 content-header">{l s='Actions' d='Modules.Blockreassurance.Admin'}</div>
|
||||
</div>
|
||||
<div class="listing-body col-lg-12 col-xs-12">
|
||||
{foreach from=$allblock item=$block key=$key}
|
||||
<div class="listing-general-rol row" data-block="{$block.id_psreassurance}">
|
||||
<div class="listing-row row">
|
||||
<div class="col-xs-1">
|
||||
<i class="material-icons">drag_indicator</i>
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
{if $block['icon'] != 'undefined'}
|
||||
<img class="svg"
|
||||
src="{if $block['icon']}{$block['icon']}{else if $block['custom_icon']}{$block['custom_icon']}{/if}"
|
||||
/>
|
||||
{else}
|
||||
{l s='none' d='Modules.Blockreassurance.Admin'}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{$block['title'][{$defaultFormLanguage}]}
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
{$block['description'][{$defaultFormLanguage}]}
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
{if $block['type_link'] == $LINK_TYPE_NONE}
|
||||
{l s='None' d='Modules.Blockreassurance.Admin'}
|
||||
{elseif $block['type_link'] == $LINK_TYPE_URL}
|
||||
{l s='Url link' d='Modules.Blockreassurance.Admin'}
|
||||
{elseif $block['type_link'] == $LINK_TYPE_CMS}
|
||||
{l s='CMS Page' d='Modules.Blockreassurance.Admin'}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="col-xs-2 inline-flex">
|
||||
<label class="col-lg-12 col-xs-12 status-toggle"
|
||||
id="reminder_active_{$block['id_psreassurance']}"
|
||||
for="reminder_active_{$block['id_psreassurance']}"
|
||||
data-cart_psreassurance_id='{$block['id_psreassurance']}'>
|
||||
<section class="switch-input {if $block['status']}-checked{/if}">
|
||||
<input data-toggle="switch" class="switch-new" data-inverse="true"
|
||||
type="checkbox" name="reminder_active_{$block['id_psreassurance']}"
|
||||
checked="">
|
||||
</section>
|
||||
<span class="switch_text switch-on" style="{if !$block['status']}display:none;{/if}">{l s='Activated' d='Modules.Blockreassurance.Admin'}</span>
|
||||
<span class="switch_text switch-off" style="{if $block['status']}display:none;{/if}">{l s='Deactivated' d='Modules.Blockreassurance.Admin'}</span>
|
||||
</label>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-link dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
||||
<div class="dropdown-menu" x-placement="bottom-start">
|
||||
<span class="dropdown-item psre-edit" data-id="{$block['id_psreassurance']}"><i class="material-icons">mode_edit</i> {l s='Edit' d='Admin.Actions'}</span>
|
||||
<span class="dropdown-item psre-delete" data-id="{$block['id_psreassurance']}"><i class="material-icons">delete</i> {l s='Delete' d='Admin.Actions'}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 col-xs-12">
|
||||
<div id="_more_info" class="col-lg-12 more_info ajax_return"></div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="msgRecommendation">
|
||||
{l s='We recommend 3 blocks at maximum.' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,61 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<div id="modulecontent module_display" class="clearfix">
|
||||
<div id="menu" class="col-lg-2 col-xs-2">
|
||||
<div class="list-group" v-on:click.prevent>
|
||||
<a href="#" class="list-group-item" v-bind:class="{ 'active': isActive('global') }" v-on:click="makeActive('global')">
|
||||
<i class="fa fa-cog"></i> {l s='Global settings' d='Modules.Blockreassurance.Admin'}
|
||||
</a>
|
||||
<a href="#" class="list-group-item" v-bind:class="{ 'active': isActive('product') }" v-on:click="makeActive('product')">
|
||||
<i class="fa fa-book"></i> {l s='Product pages' d='Modules.Blockreassurance.Admin'}
|
||||
</a>
|
||||
<a href="#" class="list-group-item" v-bind:class="{ 'active': isActive('checkout') }" v-on:click="makeActive('checkout')">
|
||||
<i class="fa fa-clock-o"></i> {l s='Checkout pages' d='Modules.Blockreassurance.Admin'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-9 col-xs-9">
|
||||
{* list your admin tpl *}
|
||||
<div id="global" class="psr_menu addons-hide">
|
||||
{include file="./display/global.tpl"}
|
||||
</div>
|
||||
|
||||
<div id="product" class="psr_menu addons-hide">
|
||||
{include file="./display/product.tpl"}
|
||||
</div>
|
||||
|
||||
<div id="checkout" class="psr_menu addons-hide">
|
||||
{include file="./display/checkout.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
var currentPage = "{/literal}{$currentPage|escape:'htmlall':'UTF-8'}{literal}";
|
||||
var moduleAdminLink = "{/literal}{$moduleAdminLink|escape:'htmlall':'UTF-8'}{literal}";
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,53 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="panel panel-default panel-blockreassurance col-lg-12 col-xs-12">
|
||||
<div class="panel-heading">
|
||||
{l s='Specific position for cart page' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 position-hook">
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img js-show-all" name="PSR_HOOK_CHECKOUT" value="1"
|
||||
id="PSR_HOOK_CHECKOUT" {if $psr_hook_checkout eq 1}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_CHECKOUT"><span><span></span></span>{l s='Main column' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayReassurance_active.jpg" width="150" height="150"
|
||||
class="psr-checkout-color{if $psr_hook_checkout eq 1} active{/if}" />
|
||||
<img src="{$img_path}displayReassurance_inactive.jpg" width="150" height="150"
|
||||
class="psr-checkout-grey {if $psr_hook_checkout neq 1} active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_CHECKOUT" value="0" id="PSR_HOOK_CHECKOUT_0"
|
||||
{if $psr_hook_checkout eq 0}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_CHECKOUT_0"><span><span></span></span>{l s='none' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}productPage_none.jpg" width="150" height="150" />
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,104 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="panel panel-default panel-blockreassurance col-lg-12 col-xs-12">
|
||||
<div class="panel-heading">
|
||||
{l s='Header position on all pages' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 position-hook">
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img js-show-all" name="PSR_HOOK_HEADER" value="2" id="PSR_HOOK_HEADER"
|
||||
{if $psr_hook_header eq 2}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_HEADER"><span><span></span></span>{l s='Above header' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayTop_active.jpg" width="150" height="150"
|
||||
class="psr-header-color{if $psr_hook_header eq 2} active{/if}" />
|
||||
<img src="{$img_path}displayTop_inactive.jpg" width="150" height="150"
|
||||
class="psr-header-grey {if $psr_hook_header != 2}active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_HEADER" value="1" id="PSR_HOOK_HEADER_0"
|
||||
{if $psr_hook_header eq 1}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_HEADER_0"><span><span></span></span>{l s='Below header' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayHome_active.jpg" width="150" height="150"
|
||||
class="psr-header-color{if $psr_hook_header eq 1} active{/if}" />
|
||||
<img src="{$img_path}displayHome_inactive.jpg" width="150" height="150"
|
||||
class="psr-header-grey {if $psr_hook_header != 1} active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_HEADER" value="0" id="PSR_HOOK_HEADER_1"
|
||||
{if $psr_hook_header eq 0}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_HEADER_1"><span><span></span></span>{l s='None' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}allpage_none.jpg" width="150" height="150" />
|
||||
</div>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default panel-blockreassurance col-lg-12 col-xs-12">
|
||||
<div class="panel-heading">
|
||||
{l s='Footer position on all pages' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 position-hook">
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img js-show-all" name="PSR_HOOK_FOOTER" value="2" id="PSR_HOOK_FOOTER"
|
||||
{if $psr_hook_footer eq 2}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_FOOTER"><span><span></span></span>{l s='Above footer' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayFooterBefore_active.jpg" width="150" height="150"
|
||||
class="psr-footer-color{if $psr_hook_footer eq 2} active{/if}" />
|
||||
<img src="{$img_path}displayFooterBefore_inactive.jpg" width="150" height="150"
|
||||
class="psr-footer-grey {if $psr_hook_footer != 2} active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_FOOTER" value="1" id="PSR_HOOK_FOOTER_0"
|
||||
{if $psr_hook_footer eq 1}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_FOOTER_0"><span><span></span></span>{l s='Below footer' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayFooter_active.jpg" width="150" height="150"
|
||||
class="psr-footer-color{if $psr_hook_footer eq 1} active{/if}" />
|
||||
<img src="{$img_path}displayFooter_inactive.jpg" width="150" height="150"
|
||||
class="psr-footer-grey {if $psr_hook_footer != 1} active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_FOOTER" value="0" id="PSR_HOOK_FOOTER_1"
|
||||
{if $psr_hook_footer eq 0}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_FOOTER_1"><span><span></span></span>{l s='None' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}allpage_none.jpg" width="150" height="150" />
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
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,53 @@
|
||||
{*
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<div class="panel panel-default panel-blockreassurance col-lg-12 col-xs-12">
|
||||
<div class="panel-heading">
|
||||
{l s='Specific position for product page' d='Modules.Blockreassurance.Admin'}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 position-hook">
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img js-show-all" name="PSR_HOOK_PRODUCT" value="1"
|
||||
id="PSR_HOOK_PRODUCT" {if $psr_hook_product eq 1}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_PRODUCT"><span><span></span></span>{l s='Main column' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}displayReassurance_active.jpg" width="150" height="150"
|
||||
class="psr-product-color{if $psr_hook_product eq 1} active{/if}" />
|
||||
<img src="{$img_path}displayReassurance_inactive.jpg" width="150" height="150"
|
||||
class="psr-product-grey {if $psr_hook_product != 1} active{/if}" />
|
||||
</div>
|
||||
</label>
|
||||
<label class="col-lg-3 col-lg-offset-1 col-xs-3 col-xs-offset-1">
|
||||
<div class="help-block customradiodesign">
|
||||
<input type="radio" class="input_img" name="PSR_HOOK_PRODUCT" value="0" id="PSR_HOOK_PRODUCT_0"
|
||||
{if $psr_hook_product eq 0}checked="checked"{/if} />
|
||||
<label for="PSR_HOOK_PRODUCT_0"><span><span></span></span>{l s='none' d='Modules.Blockreassurance.Admin'}</label><br/><br/>
|
||||
<img src="{$img_path}productPage_none.jpg" width="150" height="150" />
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2019 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* 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 refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
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