first commit
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user