first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

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
*}
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'checkbox'}
{if isset($input.values.query) && $input.values.query}
{foreach $input.values.query as $value}
{assign var=id_checkbox value=$input.name|cat:'_'|cat:$value[$input.values.id]|escape:'html':'UTF-8'}
<div class="checkbox{if isset($input.expand) && strtolower($input.expand.default) == 'show'} hidden{/if}">
{strip}
<label for="{$id_checkbox|escape:'html':'UTF-8'}">
<input type="checkbox" name="{$input.name|escape:'html':'UTF-8'}[]" id="{$id_checkbox|escape:'html':'UTF-8'}" {if isset($value.value)} value="{$value.value|escape:'html':'UTF-8'}"{/if}{if isset($fields_value[$input.name]) && is_array($fields_value[$input.name]) && $fields_value[$input.name] && in_array($value.value,$fields_value[$input.name])} checked="checked"{/if} />
{$value[$input.values.name]|escape:'html':'UTF-8'}
</label>
{/strip}
</div>
{/foreach}
{/if}
{else}
{$smarty.block.parent}
{if $input.name=='animation_in' || $input.name=='animation_out'}
<div class="mls_sample_effect">{l s='Sample animation effect' mod='ets_multilayerslider'}</div>
{/if}
{/if}
{/block}
{block name="field"}
{if $input.name}
{$smarty.block.parent}
{if $input.type == 'file' && isset($input.display_img) && $input.display_img}
<label class="control-label col-lg-3 uploaded_image_label" style="font-style: italic;">{l s='Uploaded image: ' mod='ets_multilayerslider'}</label>
<div class="col-lg-9 uploaded_img_wrapper">
<img title="{l s='Click to see full size image' mod='ets_multilayerslider'}" style="display: inline-block; max-width: 200px;" src="{$input.display_img|escape:'html':'UTF-8'}" />
{if (!isset($input.hide_delete) || isset($input.hide_delete) && !$input.hide_delete) && isset($input.img_del_link) && $input.img_del_link && !(isset($input.required) && $input.required)}
<a class="delete_url" style="display: inline-block; text-decoration: none!important;" href="{$input.img_del_link|escape:'html':'UTF-8'}"><span style="color: #666"><i style="font-size: 20px;" class="process-icon-delete" data-title="&#xE872;"></i></span></a>
{/if}
</div>
{/if}
{/if}
{/block}
{block name="footer"}
{capture name='form_submit_btn'}{counter name='form_submit_btn'}{/capture}
{if isset($fieldset['form']['submit']) || isset($fieldset['form']['buttons'])}
<div class="panel-footer">
{if isset($cancel_url) && $cancel_url}
<a class="btn btn-default" href="{$cancel_url|escape:'html':'UTF-8'}"><i class="process-icon-cancel"></i>{l s='Back' mod='ets_multilayerslider'}</a>
{/if}
{if isset($fieldset['form']['submit']) && !empty($fieldset['form']['submit'])}
<div class="img_loading_wrapper hidden">
<img src="{$image_baseurl|escape:'html':'UTF-8'}ajax-loader.gif" title="{l s='Loading' mod='ets_multilayerslider'}" class="ybc_blog_loading" />
</div>
<input type="hidden" name="mls_object" value="{$mls_object|escape:'html':'UTF-8'}" />
{if isset($list_item) && $list_item}
<input type="hidden" name="itemId" value="{$item_id|intval}" />
<input type="hidden" name="mls_form_submitted" value="1" />
{else}
<input type="hidden" name="mls_config_submitted" value="1" />
{/if}
<div class="mls_save_wrapper">
<button type="submit" value="1" class="{if isset($list_item) && $list_item}mls_save{else}mls_config_save{/if} {if isset($fieldset['form']['submit']['class'])}{$fieldset['form']['submit']['class']|escape:'html':'UTF-8'}{else}btn btn-default pull-right{/if}">
<i class="{if isset($fieldset['form']['submit']['icon'])}{$fieldset['form']['submit']['icon']|escape:'html':'UTF-8'}{else}process-icon-save{/if}"></i> {$fieldset['form']['submit']['title']|escape:'html':'UTF-8'}
</button>
<div class="mls_saving">
<img src="{$image_baseurl|escape:'html':'UTF-8'}loader.gif"/>
<span>{l s='Saving' mod='ets_multilayerslider'}</span>
</div>
</div>
{/if}
</div>
{/if}
{/block}
{block name="input_row"}
{if isset($mls_object) && $mls_object=='MLS_Layer' && $input.name=='layer_type'}
<div class="mls_layer_form_tab_div">
<ul class="mls_layer_form_tab">
<li class="layer_content active">{l s='Content' mod='ets_multilayerslider'}</li>
<li class="layer_position">{l s='Position' mod='ets_multilayerslider'}</li>
<li class="layer_transition">{l s='Transition' mod='ets_multilayerslider'}</li>
</ul>
</div>
<div class="mls_layer_edit_form">
<div class="layer_content_form">
{/if}
{if isset($mls_object) && $mls_object=='MLS_Layer' && $input.name=='top'}
</div><div class="layer_position_form active">
{/if}
{if isset($mls_object) && $mls_object=='MLS_Layer' && $input.name=='animation_in'}
</div><div class="layer_transition_form">
{/if}
<div class="form-group-wrapper row_{strtolower($input.name)|escape:'html':'UTF-8'}">{$smarty.block.parent}</div>
{if isset($mls_object) && $mls_object=='MLS_Layer' && $input.name=='move_out'}
</div></div>
{/if}
{/block}

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