This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,30 @@
{*
* 2007-2015 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-2017 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 isset($alerts['errors']) && $alerts['errors']}
<div class="alert alert-danger mm-alert mm-alert-{$time|escape:'html':'UTF-8'}">{implode('<br/>',$alerts['errors'])}</div>
{/if}
{if isset($alerts['success']) && $alerts['success']}
<div class="alert alert-success mm-alert mm-alert-{$time|escape:'html':'UTF-8'}">{implode('<br/>',$alerts['success'])}</div>
{/if}

View File

@@ -0,0 +1,142 @@
{*
* 2007-2015 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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
var mmBaseAdminUrl = '{$mmBaseAdminUrl|escape:'quotes':'UTF-8'}';
var mmCloseTxt = '{l s='Close' mod='ets_multilayerslider'}';
var mmOpenTxt = '{l s='Open' mod='ets_multilayerslider'}';
var mmDeleteTxt = '{l s='Delete' mod='ets_multilayerslider'}';
var mmDuplicatedTxt='{l s='Duplicated' mod='ets_multilayerslider'}';
var mmEditTxt = '{l s='Edit' mod='ets_multilayerslider'}';
var mmDeleteTitleTxt = '{l s='Delete this item' mod='ets_multilayerslider'}';
var mmAddMenuTxt = '{l s='Add new slide' mod='ets_multilayerslider'}';
var mmEditMenuTxt = '{l s='Edit slide' mod='ets_multilayerslider'}';
var mmAddLayerTxt = '{l s='Add new layer' mod='ets_multilayerslider'}';
var mmEditLayerTxt = '{l s='Edit layer' mod='ets_multilayerslider'}';
var mmDeleteLayerTxt = '{l s='Delete this layer' mod='ets_multilayerslider'}';
var mmDeleteBlockTxt = '{l s='Delete this block' mod='ets_multilayerslider'}';
var mmEditBlockTxt = '{l s='Edit this block' mod='ets_multilayerslider'}';
var mmAddBlockTxt = '{l s='Add new block' mod='ets_multilayerslider'}';
var ets_mls_invalid_file = '{l s='Image is invalid' mod='ets_multilayerslider'}';
var layertitle ='{l s='Layers' mod='ets_multilayerslider'}';
var url_base_img ='{$url_base_img|escape:'quotes':'UTF-8'}';
var width_slider ={$width_slider|intval};
var height_slider ={$height_slider|intval};
var id_lang ={$id_lang|intval};
</script>
<div class="ets_multilayerslider_wrapper {$layoutDirection|escape:'html':'UTF-8'}-wrapper mls_desktop_size {if $multiLayoutExist}multi-layout{/if} mls-layout-{$mls_layout|escape:'html':'UTF-8'}">
<div class="ets_multilayerslider">
<div class="mls_slides_actions">
<div data-title="&#xE8B8;" class="mls_config_button btn btn-default">{l s='Settings' mod='ets_multilayerslider'}</div>
<div class="mls_export_button btn btn-default">
<i class="fa fa-exchange" data-title="&#xE8D4;"></i>
{l mod='ets_multilayerslider' s='Import/Export'}
</div>
{if $multiLayoutExist}
<div class="mls_change_mode_dir">
<div data-title="&#xE236;" class="mls_change_mode ltr {if $layoutDirection=='ets-dir-ltr'}active{/if}">{l s='LTR' mod='ets_multilayerslider'}</div>
<div data-title="&#xE237;" class="mls_change_mode rtl {if $layoutDirection=='ets-dir-rtl'}active{/if}">{l s='RTL' mod='ets_multilayerslider'}</div>
</div>
{/if}
<div class="msl_screen_type">
<div data-title="&#xE30B;" class="active msl_screen_desktop" data-size="desktop" data-width="auto">{l s='Desktop' mod='ets_multilayerslider'}</div>
<div data-title="&#xE331;" class="msl_screen_tablet" data-size="tablet" data-zoom="0.615" data-width="768">{l s='Tablet' mod='ets_multilayerslider'}</div>
<div data-title="&#xE325;" class="msl_screen_mobile" data-size="mobile" data-zoom="0.282051" data-width="320">{l s='Mobile' mod='ets_multilayerslider'}</div>
</div>
<div class="mls_players">
<div data-title="&#xE039;" class="mls_play_slider btn btn-default">{l s='Play slider' mod='ets_multilayerslider'}</div>
</div>
</div>
<div class="mls_slides">
<div class="mls_slide_list {if isset($mls_configs.ETS_MLS_SLIDER_TYPE)}mls_slider_type_{strtolower($mls_configs.ETS_MLS_SLIDER_TYPE)|escape:'html':'UTF-8'}{/if} {$layoutDirection|escape:'html':'UTF-8'}" {hook h='displayMLSConfigs'}>
{hook h='displayMLSSlider' layout=$mls_layout}
</div>
<div data-title="&#xE147;" class="mls_add_slide btn btn-default">{l s='Add slide' mod='ets_multilayerslider'}</div>
</div>
</div>
<div class="mls_forms mls_overlay hidden">
<div class="mls_slide_form hidden mls_pop_up">
<div data-title="&#xE14C;" class="mls_close">{l s='Close' mod='ets_multilayerslider'}</div>
<div class="mls_form"></div>
</div>
<div class="mls_slide_form_new hidden">{$slideForm nofilter}</div>
<div class="mls_layer_form_new hidden">{$layerForm nofilter}</div>
</div>
<div class="mls_overlay hidden">
<div class="mls_config_form hidden mls_pop_up">
<div data-title="&#xE14C;" class="mls_close">{l s='Close' mod='ets_multilayerslider'}</div>
<div class="mls_config_form_content"><div class="mls_close"></div>{$configForm nofilter}</div>
</div>
</div>
<div class="mls_preview_slider hidden mls_pop_up {if isset($mls_configs.ETS_MLS_SLIDER_TYPE)}mls_preview_type_{strtolower($mls_configs.ETS_MLS_SLIDER_TYPE)|escape:'html':'UTF-8'}{/if}">
<div data-title="&#xE14C;" class="mls_close">{l s='Close' mod='ets_multilayerslider'}</div>
<div class="mls_preview_loading">
<img src="{$url_base_img|escape:'html':'UTF-8'}../ajax-loader.gif" />
</div>
<div class="mls_form_preview">
<div data-title="&#xE14C;" class="mls_close">{l s='Close' mod='ets_multilayerslider'}</div>
</div>
</div>
<div class="mls_export_form mls_overlay hidden">
<div data-title="&#xE14C;" class="mls_close">{*l s='Close' mod='ets_multilayerslider'*}</div>
<div class="mls_export mls_pop_up">
<div data-title="&#xE14C;" class="mls_close">{l s='Close' mod='ets_multilayerslider'}</div>
<div class="mls_export_form_content">
<div class="mls_export_option">
<div class="panel-heading">
{l s='Export slider content' mod='ets_multilayerslider'}
</div>
<a class="btn btn-default mls_export_slider" href="{$mmBaseAdminUrl|escape:'html':'UTF-8'}&exportSlider=1" target="_blank">
<i class="fa fa-download" data-title="&#xE2C4;"></i>{l s='Export slider' mod='ets_multilayerslider'}</a>
<p class="mls_export_option_note">{l s='Export all slider data including slider images, text, custom CSS and configuration' mod='ets_multilayerslider'}</p>
</div>
<div class="mls_import_option">
<div class="panel-heading">
{l s='Import slider data' mod='ets_multilayerslider'}
</div>
<form action="{$mmBaseAdminUrl|escape:'html':'UTF-8'}" method="post" enctype="multipart/form-data" class="mls_import_option_form">
<div class="mls_import_option_updata">
<label for="sliderdata">{l s='Data package' mod='ets_multilayerslider'}</label>
<input id="image" type="file" name="sliderdata" id="sliderdata" />
</div>
<div class="mls_import_option_clean">
<input type="checkbox" value="1" id="importoverride" checked="checked" name="importoverride" />
<label for="importoverride">{l s='Clear all slides before importing' mod='ets_multilayerslider'}</label>
</div>
<div class="mls_import_option_button">
<input type="hidden" name="importslider" value="1" />
<div class="mls_import_slider_loading"><img src="{$url_base_img|escape:'html':'UTF-8'}../loader.gif" />{l s='Importing data' mod='ets_multilayerslider'}</div>
<div class="mls_import_slider_submit">
<i class="fa fa-compress" data-title="&#xE864;"></i>
<input type="submit" value="{l s='Import slider' mod='ets_multilayerslider'}" class="btn btn-default mls_import_slider"/>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,26 @@
{*
* 2007-2015 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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript" src="{$js_dir_path|escape:'quotes':'UTF-8'}mls_slider.pack.js"></script>
<script type="text/javascript" src="{$js_dir_path|escape:'quotes':'UTF-8'}multilayerslider-admin.js"></script>

View File

@@ -0,0 +1,38 @@
{*
* 2007-2021 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs, please contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2021 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
<style>
.ets_multilayerslider_wrapper{
min-height:800px;
}
</style>
<script type="text/javascript">
function phProductFeedResizeIframe(obj) {
$('iframe').css('height','auto');
setTimeout(function() {
$('iframe').css('opacity',1);
var pHeight = $(obj).parent().height();
$(obj).css('height','540px');
}, 300);
}
</script>
<div id="ph_preview_template_html">
<iframe src="{$url_iframe|escape:'html':'UTF-8'}" style="background: #ffffff ; border : 1px solid #ccc;width:100%;height:0;opacity:0;border-radius:5px" onload="phProductFeedResizeIframe(this)"></iframe>
</div>

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2014 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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,38 @@
{*
* 2007-2015 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-2017 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 isset($layer) && $layer}
<li data-id-layer="{$layer.id_layer|intval}" class="mls_layers_li item{$layer.id_layer|intval}" data-obj="layer">
{if $layer.layer_type=='image'}
<img src="{$layer.link_image|escape:'html':'UTF-8'}" width="40px" />
{elseif $layer.content_layer|strip_tags|trim|escape:'html':'UTF-8'}
{$layer.content_layer|strip_tags|truncate:25:"..."|escape:'html':'UTF-8'}
{else}
#{$layer.id_layer|intval}
{/if}
<span data-title="&#xE14D;" class="mls_layer_duplicate" title="{l s='Duplicate this layer' mod='ets_multilayerslider'}">{l s='Duplicate' mod='ets_multilayerslider'}</span>
<span data-title="&#xE872;" class="mls_layer_delete" title="{l s='Delete this layer' mod='ets_multilayerslider'}">{l s='Delete' mod='ets_multilayerslider'}</span>
<span data-title="&#xE150;" class="mls_layer_edit" title="{l s='Edit this layer' mod='ets_multilayerslider'}">{l s='Edit' mod='ets_multilayerslider'}</span>
</li>
{/if}

View File

@@ -0,0 +1,78 @@
{*
* 2007-2015 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-2017 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 isset($layer) && $layer && $layer.layer_type=='image' && $layer.image || $layer.layer_type!='image'&&$layer.content_layer}
<div class="msl_layer item{$layer.id_layer|intval} layer_layout_{$mls_layout|escape:'html':'UTF-8'} mls_layer_type_{$layer.layer_type|escape:'html':'UTF-8'}" style="position: absolute;
{if $mls_layout=='rtl' && $mls_multilayout}
right:{$layer.right|escape:'html':'UTF-8'}px; top:{$layer.top_right|escape:'html':'UTF-8'}px; left: auto;
{else}
left:{$layer.left|escape:'html':'UTF-8'}px; top:{$layer.top|escape:'html':'UTF-8'}px; right: auto;
{/if} float:left; bottom: auto; z-index: {$layer.sort_order|intval};" data-id-layer="{$layer.id_layer|intval}"
data-animation-in="{$layer.animation_in|escape:'html':'UTF-8'}"
data-animation-out="{$layer.animation_out|escape:'html':'UTF-8'}"
data-move-in="{$layer.move_in|escape:'html':'UTF-8'}"
data-move-out="{$layer.move_out|escape:'html':'UTF-8'}"
data-start-delay="{$layer.start_delay|escape:'html':'UTF-8'}"
data-stand-duration="{$layer.stand_duration|escape:'html':'UTF-8'}"
data-left="{$layer.left|floatval}"
data-right="{$layer.right|floatval}"
data-top="{$layer.top|floatval}"
data-top-rtl="{$layer.top_right|floatval}"
>
{if $layer.layer_type=='image'}
<img class="spot" src="{$layer.link_image|escape:'html':'UTF-8'}" style="{if $layer.width}width: {$layer.width|floatval}px;{/if}{if $layer.height}height: {$layer.height|floatval}px;{/if}" />
{elseif $layer.layer_type=='text' || $layer.layer_type=='link'}
<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:{$layer.font_family|escape:'html':'UTF-8'};{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.text_transform}text-transform:{$layer.text_transform|escape:'html':'UTF-8'};{/if}
">{$layer.content_layer nofilter}</span>
{elseif $layer.layer_type=='text_background'}
<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:'{$layer.font_family|escape:'html':'UTF-8'}';{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.background_color}background-color:{$layer.background_color|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.text_transform}text-transform:{$layer.text_transform|escape:'html':'UTF-8'};{/if}
{if $layer.padding}padding:{$layer.padding|escape:'html':'UTF-8'};{/if}
">{$layer.content_layer nofilter}</span>
{elseif $layer.layer_type=='button'}
<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:'{$layer.font_family|escape:'html':'UTF-8'}';{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.background_color}background-color:{$layer.background_color|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.padding}padding:{$layer.padding|escape:'html':'UTF-8'};{/if}
{if $layer.box_radius}border-radius:{$layer.box_radius|intval}px;{/if}
">{$layer.content_layer nofilter}</span>
{/if}
</div>
{/if}

View File

@@ -0,0 +1,36 @@
{*
* 2007-2015 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-2017 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="action">
<span data-title="&#xE14C;" class="mls_slide_delete" title="{l s='Delete this item' mod='ets_multilayerslider'}">{l s='Delete' mod='ets_multilayerslider'}</span>
<span data-title="&#xE14D;" class="mls_slide_duplicated" title="{l s='Duplicate this slide' mod='ets_multilayerslider'}">{l s='Duplicate' mod='ets_multilayerslider'}</span>
<span data-title="&#xE150;" class="mls_slide_edit">{l s='Edit' mod='ets_multilayerslider'}</span>
</div>
<div class="msl_layer_wrapper" data-width="{$sliderWidth|intval}" data-height="{$sliderHeight|intval}" style="position: relative;width:{$sliderWidth|intval}px;height:{$sliderHeight|intval}px;{if $slide.link_img} background-image: url('{$slide.link_img|escape:'html':'UTF-8'}');background-repeat: {if $slide.repeat_x&&$slide.repeat_y}repeat{elseif $slide.repeat_x}repeat-x{elseif $slide.repeat_y}repeat-y{else}no-repeat{/if};{/if}{if $slide.backgroud_color} background-color:{$slide.backgroud_color|escape:'html':'UTF-8'}; {/if}">
{if isset($slide.layers) && $slide.layers}
{foreach from=$slide.layers item='layer'}
{hook h='displayMLSLayer' layer=$layer layout=$mls_layout}
{/foreach}
{/if}
</div>

View File

@@ -0,0 +1,47 @@
{*
* 2007-2015 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-2017 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 isset($slide) && $slide}
<li class="mls_slides_li item{$slide.id_slide|intval} {if !$slide.enabled}mls_disabled{/if}" data-id-slide="{$slide.id_slide|intval}" data-obj="slide">
<span class="title-silde" ><span>{if $slide.title}{$slide.title|escape:'html':'UTF-8'}{else}{$slide.id_slide|intval}{/if}</span></span>
<div class="slide-content">
<div class="left-block col-lg-9" >
<div class="left-content">
{hook h='displayMLSSlideInner' slide=$slide layout=$mls_layout}
</div>
</div>
<div class="right-block col-lg-3">
<h2 data-title="&#xE3C4;">{l s='Layers' mod='ets_multilayerslider'}</h2>
<div data-title="&#xE145;" class="mls_add_layer btn btn-default" data-id-slide="{$slide.id_slide|intval}">{l s='Add new layer' mod='ets_multilayerslider'}</div>
<ul id="layers_slide{$slide.id_slide|intval}" class="mls_layers_ul">
{if isset($slide.layers) && $slide.layers}
{foreach from=$slide.layers item='layer'}
{hook h='displayMLSLayerSort' layer=$layer}
{/foreach}
{/if}
</ul>
</div>
</div>
</li>
{/if}

View File

@@ -0,0 +1,32 @@
{*
* 2007-2015 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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<ul class="mls_slides_ul">
{if isset($slides)&&$slides}
{foreach from=$slides item='slide'}
{hook h='displayMLSSlide' slide=$slide layout=$mls_layout}
{/foreach}
{/if}
</ul>
<div class="alert alert-warning msl_no_slides {if $slides}hidden{/if}">{l s='No slide available. Click "Add slide" to add new slides!' mod='ets_multilayerslider'}</div>

View File

@@ -0,0 +1,117 @@
{*
* 2007-2015 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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
var width_slider = {$mls_width|intval};
var height_slider = {$mls_height|intval};
</script>
{if isset($mls_slides) && $mls_slides}
<div class="ets_multilayerslider {if $mls_configs.ETS_MLS_SLIDER_TYPE=='full'}hidden{/if}">
<div class="mls_slides">
<div data-max-slide-time="{$mls_max_slide_time|intval}" class="mls_slider {if $mls_configs.ETS_MLS_ENABLE_LOADING_ICON}loading{/if} {if isset($mls_configs.ETS_MLS_SLIDER_TYPE)}mls_slider_type_{strtolower($mls_configs.ETS_MLS_SLIDER_TYPE)|escape:'html':'UTF-8'}{/if} mls_layout_{$mls_layout|escape:'html':'UTF-8'}" style="width: {$mls_width|intval}px; height: {$mls_height|intval}px; {if $mls_configs.ETS_MLS_SLIDER_BACKGROUND}background-color: {$mls_configs.ETS_MLS_SLIDER_BACKGROUND|escape:'html':'UTF-8'};{/if}" {hook h='displayMLSConfigs'}>
<div class="mls_slider_running" style="{if $mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR}background-color: {$mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR|escape:'html':'UTF-8'};{else}#000000;{/if}"></div>
<ul class="mls_slides_front">
{assign var='ik' value=0}
{foreach from=$mls_slides item='slide'}
{assign var='ik' value=$ik+1}
<li data-slide-background-image="{$slide.link_img|escape:'html':'UTF-8'}" data-slide-order="{$ik|intval}" data-max-layer-in="{$slide.max_layer_in|intval}" data-max-layer-out="{$slide.max_layer_out|intval}" data-animation-in="{$slide.animation_in|escape:'html':'UTF-8'}" data-animation-out="{$slide.animation_out|escape:'html':'UTF-8'}" data-id-slide="{$slide.id_slide|intval}" class="mls_slide_front {if isset($slide.custom_class) && $slide.custom_class}{$slide.custom_class|escape:'html':'UTF-8'}{/if} item_{$ik|intval} mls_slide_{$slide.id_slide|intval}" style="{if $slide.link_img|escape:'html':'UTF-8'} {if !$mls_configs.ETS_MLS_ENABLE_LOADING_ICON || $mls_configs.ETS_MLS_ENABLE_LOADING_ICON && $ik>1}background-image: url('{$slide.link_img|escape:'html':'UTF-8'}');{/if}background-repeat: {if $slide.repeat_x&&$slide.repeat_y}repeat{elseif $slide.repeat_x}repeat-x{elseif $slide.repeat_y}repeat-y{else}no-repeat{/if};{/if}{if $slide.backgroud_color} background-color:{$slide.backgroud_color|escape:'html':'UTF-8'}; {/if} position: relative;">
{if isset($slide.layers) && $slide.layers}
{foreach from=$slide.layers item='layer'}
{if $layer.layer_type=='image' && $layer.image || $layer.layer_type!='image'&&$layer.content_layer}
<div class="msl_layer_front {if isset($layer.custom_class) && $layer.custom_class}{$layer.custom_class|escape:'html':'UTF-8'}{/if} msl_layer_{$layer.id_layer|intval} layer_layout_{$mls_layout|escape:'html':'UTF-8'} mls_layer_type_front_{$layer.layer_type|escape:'html':'UTF-8'}" style="position: absolute; {if $mls_layout=='rtl' && $mls_multilayout}right:{$layer.right|escape:'html':'UTF-8'}px; top:{$layer.top_right|escape:'html':'UTF-8'}px; left: auto;{else}left:{$layer.left|escape:'html':'UTF-8'}px; top:{$layer.top|escape:'html':'UTF-8'}px; right: auto;{/if} float:left; bottom: auto; z-index: {$layer.sort_order|intval};" data-top="{$layer.top|escape:'html':'UTF-8'}" data-id-layer="{$layer.id_layer|intval}"
data-animation-in="{$layer.animation_in|escape:'html':'UTF-8'}"
data-animation-out="{$layer.animation_out|escape:'html':'UTF-8'}"
data-move-in="{$layer.move_in|escape:'html':'UTF-8'}"
data-move-out="{$layer.move_out|escape:'html':'UTF-8'}"
data-delay-in="{$layer.start_delay|escape:'html':'UTF-8'}"
data-delay-out="{$layer.stand_duration|escape:'html':'UTF-8'}">
{if $layer.layer_type=='image'}
{if $layer.link}<a href="{$layer.link|escape:'html':'UTF-8'}">{/if}<img class="spot" src="{$layer.link_image|escape:'html':'UTF-8'}" style="{if $layer.width}width: {$layer.width|floatval}px;{/if}{if $layer.height}height: {$layer.height|floatval}px;{/if}" alt="" />{if $layer.link}</a>{/if}
{elseif $layer.layer_type=='text' || $layer.layer_type=='link'}
{if $layer.link && $layer.layer_type=='link'}<a href="{$layer.link|escape:'html':'UTF-8'}">{/if}<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:{$layer.font_family|escape:'html':'UTF-8'};{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.text_transform}text-transform:{$layer.text_transform|escape:'html':'UTF-8'};{/if}
">{$layer.content_layer nofilter}</span>{if $layer.link && $layer.layer_type=='link'}</a>{/if}
{elseif $layer.layer_type=='text_background'}
<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:'{$layer.font_family|escape:'html':'UTF-8'}';{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.background_color}background-color:{$layer.background_color|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.text_transform}text-transform:{$layer.text_transform|escape:'html':'UTF-8'};{/if}
{if $layer.padding}padding:{$layer.padding|escape:'html':'UTF-8'};{/if}
">{$layer.content_layer nofilter}</span>
{elseif $layer.layer_type=='button'}
{if $layer.link}<a href="{$layer.link|escape:'html':'UTF-8'}">{/if}<span style="
{if $layer.font_size}font-size:{$layer.font_size|escape:'html':'UTF-8'}px{/if};
{if $layer.text_color}color:{$layer.text_color|escape:'html':'UTF-8'};{/if}
{if $layer.font_family}font-family:'{$layer.font_family|escape:'html':'UTF-8'}';{/if}
{if $layer.font_weight}font-weight:{$layer.font_weight|escape:'html':'UTF-8'};{/if}
{if $layer.background_color}background-color:{$layer.background_color|escape:'html':'UTF-8'};{/if}
{if $layer.text_decoration}text-decoration:{$layer.text_decoration|escape:'html':'UTF-8'};{/if}
{if $layer.text_transform}text-transform:{$layer.text_transform|escape:'html':'UTF-8'};{/if}
{if $layer.padding}padding:{$layer.padding|escape:'html':'UTF-8'};{/if}
{if $layer.box_radius}border-radius:{$layer.box_radius|intval}px;{/if}
">{$layer.content_layer nofilter}</span>{if $layer.link|escape:'html':'UTF-8'}</a>{/if}
{/if}
</div>
{/if}
{/foreach}
{/if}
</li>
{/foreach}
</ul>
{if $mls_configs.ETS_MLS_ENABLE_LOADING_ICON}
<div class="mls_loading_icon" style="{if $mls_configs.ETS_MLS_SLIDER_BACKGROUND}background-color: {$mls_configs.ETS_MLS_SLIDER_BACKGROUND|escape:'html':'UTF-8'};{else}#000000;{/if}"><img src="{$mls_img_base_dir|escape:'html':'UTF-8'}ajax-loader.gif" alt=""/></div>
{/if}
{if $mls_configs.ETS_MLS_ENABLE_NEXT_PREV}
<div class="mls_nav">
<div class="mls_prev" style="{if $mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR}background-color: {$mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR|escape:'html':'UTF-8'};{/if}">
{l s='Prev' mod='ets_multilayerslider'}</div>
<div class="mls_next" style="{if $mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR}background-color: {$mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR|escape:'html':'UTF-8'};{/if}">
{l s='Next' mod='ets_multilayerslider'}</div>
</div>
{/if}
{if $mls_configs.ETS_MLS_ENABLE_PAGINATION}
<div class="mls_pagination">
{assign var='ik' value=0}
{foreach from=$mls_slides item='slide'}
{assign var='ik' value=$ik+1}
<div class="mls_pag_button mls_pag_{$ik|intval}" style="background-color: {if isset($mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR) && $mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR}{$mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR|escape:'html':'UTF-8'};{/if} {if isset($mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR) && $mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR}border-color:{$mls_configs.ETS_MLS_SLIDER_BUTTON_COLOR|escape:'html':'UTF-8'};{/if}" data-slide-order="{$ik|intval}" data-id-slide="{$slide.id_slide|intval}">{$ik|intval}</div>
{/foreach}
</div>
{/if}
</div>
</div>
</div>
{/if}
{if !$mls_slides && $mls_backend_load}
<div class="alert alert-warning">{l s='No active slides available' mod='ets_multilayerslider'}</div>
{/if}