first commit

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

View File

@@ -0,0 +1,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>

View File

@@ -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>

View File

@@ -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>

View 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;

View File

@@ -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}

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>