first commit
This commit is contained in:
57
themes/at_movic/templates/_partials/BK-javascript.tpl
Normal file
57
themes/at_movic/templates/_partials/BK-javascript.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{foreach $javascript.external as $js}
|
||||
<script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script type="text/javascript">
|
||||
{$js.content nofilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if isset($vars) && $vars|@count}
|
||||
<script type="text/javascript">
|
||||
{foreach from=$vars key=var_name item=var_value}
|
||||
var {$var_name} = {$var_value|json_encode nofilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
var choosefile_text = "{l s='Choose file' d='Shop.Theme.Actions'}";
|
||||
var turnoff_popup_text = "{l s='Do not show this popup again' d='Shop.Theme.Actions'}";
|
||||
|
||||
var size_item_quickview = 82;
|
||||
var style_scroll_quickview = 'vertical';
|
||||
|
||||
var size_item_page = 113;
|
||||
var style_scroll_page = 'horizontal';
|
||||
|
||||
var size_item_quickview_attr = 101;
|
||||
var style_scroll_quickview_attr = 'vertical';
|
||||
|
||||
var size_item_popup = 160;
|
||||
var style_scroll_popup = 'vertical';
|
||||
</script>
|
||||
80
themes/at_movic/templates/_partials/breadcrumb.tpl
Normal file
80
themes/at_movic/templates/_partials/breadcrumb.tpl
Normal file
@@ -0,0 +1,80 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{assign var="leobrbg" value={hook h="pagebuilderConfig" configName="leobrbg"}}
|
||||
{assign var="leobrcolor" value={hook h="pagebuilderConfig" configName="leobrcolor"}}
|
||||
{assign var="leobgfull" value={hook h="pagebuilderConfig" configName="leobgfull"}}
|
||||
{assign var="leobgheight" value={hook h="pagebuilderConfig" configName="leobgheight"}}
|
||||
{assign var="leobrtext" value={hook h="pagebuilderConfig" configName="leobrtext"}}
|
||||
|
||||
{if $leobrbg || $leobrcolor}
|
||||
<div class="breadcrumb-bg {$leobrtext} {if $leobgfull}breadcrumb-full{/if}" style="{if $leobrbg}background-image: {if $leobrbg}url({if $page.page_name == 'category' && $leobrbg == 'catimg' && $category.image.large.url != ''}{$category.image.large.url}{else}{$leobrbg}{/if}){/if};{/if}{if $leobrcolor} background-color:{$leobrcolor};{/if}{if $leobgheight} min-height:{$leobgheight};{/if} ">
|
||||
{if isset($leobgfull) && $leobgfull}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
{if isset($leobgfull) && $leobgfull}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{else}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
{if $smarty.foreach.breadcrumb.iteration == "1"}
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<img src="/themes/at_movic/assets/img/modules/appagebuilder/images/home_icon.svg" alt="name">
|
||||
</a>
|
||||
{else}
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
{/if}
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
{/if}
|
||||
40
themes/at_movic/templates/_partials/breadcrumb_old.tpl
Normal file
40
themes/at_movic/templates/_partials/breadcrumb_old.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
60
themes/at_movic/templates/_partials/footer.tpl
Normal file
60
themes/at_movic/templates/_partials/footer.tpl
Normal file
@@ -0,0 +1,60 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{block name='hook_footer_before'}
|
||||
<div class="footer-top">
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterBefore'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterBefore) AND $fullwidth_hook.displayFooterBefore == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer'}
|
||||
<div class="footer-center">
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooter) AND $fullwidth_hook.displayFooter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='hook_footer_after'}
|
||||
<div class="footer-bottom">
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayFooterAfter'}</div>
|
||||
{if isset($fullwidth_hook.displayFooterAfter) AND $fullwidth_hook.displayFooterAfter == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<script src="/themes/at_movic/assets/plugins/splide/splide.js"></script>
|
||||
<script src="/themes/at_movic/assets/plugins/splide/splide-auto-scroll.js"></script>
|
||||
35
themes/at_movic/templates/_partials/form-errors.tpl
Normal file
35
themes/at_movic/templates/_partials/form-errors.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $errors|count}
|
||||
<div class="help-block">
|
||||
{block name='form_errors'}
|
||||
<ul>
|
||||
{foreach $errors as $error}
|
||||
<li class="alert alert-danger">{$error|nl2br nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
</div>
|
||||
{/if}
|
||||
192
themes/at_movic/templates/_partials/form-fields.tpl
Normal file
192
themes/at_movic/templates/_partials/form-fields.tpl
Normal file
@@ -0,0 +1,192 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $field.type == 'hidden'}
|
||||
|
||||
{block name='form_field_item_hidden'}
|
||||
<input type="hidden" name="{$field.name}" value="{$field.value}">
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
<div class="form-group row {$field.type} {if !empty($field.errors)}has-error{/if}">
|
||||
<label
|
||||
class="col-md-12 form-control-label {if $field.required and $field.type !== 'checkbox'} required{/if}"
|
||||
{if isset($field.availableValues.comment)}title="{$field.availableValues.comment} "{/if}
|
||||
>
|
||||
|
||||
{if $field.type !== 'checkbox'}
|
||||
{$field.label}
|
||||
|
||||
{block name='form_field_comment'}
|
||||
{if (!$field.required && !in_array($field.type, ['radio-buttons', 'checkbox']))}
|
||||
<p class="form-control-comment">({l s='Optional' d='Shop.Forms.Labels'})</p>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
</label>
|
||||
<div class="col-md-12{if ($field.type === 'radio-buttons')} form-control-valign{/if}">
|
||||
|
||||
{if $field.type === 'select'}
|
||||
|
||||
{block name='form_field_item_select'}
|
||||
<select class="form-control form-control-select" name="{$field.name}" {if $field.required}required{/if}>
|
||||
<option value disabled selected>{l s='-- please choose --' d='Shop.Forms.Labels'}</option>
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<option value="{$value}" {if $value eq $field.value} selected {/if}>{$label}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'countrySelect'}
|
||||
|
||||
{block name='form_field_item_country'}
|
||||
<select
|
||||
class="form-control form-control-select js-country"
|
||||
name="{$field.name}"
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
<option value disabled selected>{l s='-- please choose --' d='Shop.Forms.Labels'}</option>
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<option value="{$value}" {if $value eq $field.value} selected {/if}>{$label}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'radio-buttons'}
|
||||
|
||||
{block name='form_field_item_radio'}
|
||||
{foreach from=$field.availableValues item="label" key="value"}
|
||||
<label class="radio-inline">
|
||||
<span class="custom-radio">
|
||||
<input
|
||||
name="{$field.name}"
|
||||
type="radio"
|
||||
value="{$value}"
|
||||
{if $field.required}required{/if}
|
||||
{if $value eq $field.value} checked {/if}
|
||||
>
|
||||
<span></span>
|
||||
</span>
|
||||
{$label}
|
||||
</label>
|
||||
{/foreach}
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'checkbox'}
|
||||
|
||||
{block name='form_field_item_checkbox'}
|
||||
<span class="custom-checkbox">
|
||||
<label>
|
||||
<input name="{$field.name}" type="checkbox" value="1" {if $field.value}checked="checked"{/if} {if $field.required}required{/if}>
|
||||
<span><i class="material-icons rtl-no-flip checkbox-checked"></i></span>
|
||||
{$field.label nofilter}
|
||||
</label>
|
||||
</span>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'date'}
|
||||
|
||||
{block name='form_field_item_date'}
|
||||
<input name="{$field.name}" class="form-control" type="date" value="{$field.value}" placeholder="{if isset($field.availableValues.placeholder)}{$field.availableValues.placeholder}{/if}">
|
||||
{if isset($field.availableValues.comment)}
|
||||
<span class="form-control-comment">
|
||||
{$field.availableValues.comment}
|
||||
</span>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'birthday'}
|
||||
|
||||
{block name='form_field_item_birthday'}
|
||||
<div class="js-parent-focus">
|
||||
{html_select_date
|
||||
field_order=DMY
|
||||
time={$field.value}
|
||||
field_array={$field.name}
|
||||
prefix=false
|
||||
reverse_years=true
|
||||
field_separator='<br>'
|
||||
day_extra='class="form-control form-control-select"'
|
||||
month_extra='class="form-control form-control-select"'
|
||||
year_extra='class="form-control form-control-select"'
|
||||
day_empty={l s='-- day --' d='Shop.Forms.Labels'}
|
||||
month_empty={l s='-- month --' d='Shop.Forms.Labels'}
|
||||
year_empty={l s='-- year --' d='Shop.Forms.Labels'}
|
||||
start_year={'Y'|date}-100 end_year={'Y'|date}
|
||||
}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'password'}
|
||||
|
||||
{block name='form_field_item_password'}
|
||||
<div class="input-group js-parent-focus {if $field.type === 'password'}form-group-password{/if}">
|
||||
<input
|
||||
class="form-control js-child-focus js-visible-password form-group-password"
|
||||
name="{$field.name}"
|
||||
title="{l s='At least 5 characters long' d='Shop.Forms.Help'}"
|
||||
type="password"
|
||||
value=""
|
||||
pattern=".{literal}{{/literal}5,{literal}}{/literal}"
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
{* <span class="input-group-btn">
|
||||
<button
|
||||
class="btn btn-outline"
|
||||
type="button"
|
||||
data-action="show-password"
|
||||
data-text-show="{l s='Show' d='Shop.Theme.Actions'}"
|
||||
data-text-hide="{l s='Hide' d='Shop.Theme.Actions'}"
|
||||
>
|
||||
{l s='Show' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</span> *}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
{block name='form_field_item_other'}
|
||||
<input
|
||||
class="form-control"
|
||||
name="{$field.name}"
|
||||
type="{$field.type}"
|
||||
value="{$field.value}"
|
||||
{if isset($field.availableValues.placeholder)}placeholder="{$field.availableValues.placeholder}"{/if}
|
||||
{if $field.maxLength}maxlength="{$field.maxLength}"{/if}
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
|
||||
{block name='form_field_errors'}
|
||||
{include file='_partials/form-errors.tpl' errors=$field.errors}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
117
themes/at_movic/templates/_partials/head.tpl
Normal file
117
themes/at_movic/templates/_partials/head.tpl
Normal file
@@ -0,0 +1,117 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{block name='head_charset'}
|
||||
<meta charset="utf-8">
|
||||
{/block}
|
||||
{block name='head_ie_compatibility'}
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
{/block}
|
||||
|
||||
{block name='head_seo'}
|
||||
<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>
|
||||
<meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}">
|
||||
<meta name="keywords" content="{block name='head_seo_keywords'}{$page.meta.keywords}{/block}">
|
||||
{if $page.meta.robots !== 'index'}
|
||||
<meta name="robots" content="{$page.meta.robots}">
|
||||
{/if}
|
||||
{if $page.canonical}
|
||||
<link rel="canonical" href="{$page.canonical}">
|
||||
{/if}
|
||||
{block name='head_hreflang'}
|
||||
{foreach from=$urls.alternative_langs item=pageUrl key=code}
|
||||
<link rel="alternate" href="{$pageUrl}" hreflang="{$code}">
|
||||
{/foreach}
|
||||
{/block}
|
||||
{/block}
|
||||
|
||||
{block name='head_viewport'}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{/block}
|
||||
|
||||
{block name='head_icons'}
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$shop.favicon}?{$shop.favicon_update_time}">
|
||||
{/block}
|
||||
{block name="setting"}
|
||||
{include file="layouts/setting.tpl"}
|
||||
{/block}
|
||||
{block name='stylesheets'}
|
||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||
{/block}
|
||||
|
||||
{* LEO - Load Css With Prestashop Standard *}
|
||||
{if isset($LOAD_CSS_TYPE) && !$LOAD_CSS_TYPE}
|
||||
|
||||
{if isset($LEO_CSS)}
|
||||
{foreach from=$LEO_CSS key=css_uri item=media}
|
||||
<link rel="stylesheet" href="{$css_uri}" type="text/css" media="{$media}" />
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if isset($LEO_SKIN_CSS)}
|
||||
{foreach from=$LEO_SKIN_CSS item=linkCss}
|
||||
{$linkCss nofilter}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
{* LEO LAYOUT *}
|
||||
{if isset($LAYOUT_WIDTH)}
|
||||
{$LAYOUT_WIDTH nofilter}
|
||||
{/if}
|
||||
|
||||
{block name='javascript_head'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
||||
{/block}
|
||||
|
||||
{block name='hook_header'}
|
||||
{$HOOK_HEADER nofilter}
|
||||
{/block}
|
||||
|
||||
{block name='hook_extra'}{/block}
|
||||
<link href="/themes/at_movic/assets/plugins/splide/splide.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://kalsport.pl/themes/at_movic/modules/appagebuilder/views/css/styles.css?cache={php}echo time();{/php}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="https://kalsport.pl/themes/at_movic/assets/css/custom.css?cache={php}echo time();{/php}" type="text/css" media="all">
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
(function(c,l,a,r,i,t,y){
|
||||
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
|
||||
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
|
||||
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
||||
})(window, document, "clarity", "script", "gxumjuwioh");
|
||||
</script>
|
||||
{/literal}
|
||||
{literal}
|
||||
<!-- Hotjar Tracking Code for https://kalsport.pl/ -->
|
||||
<script>
|
||||
(function(h,o,t,j,a,r){
|
||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||
h._hjSettings={hjid:3571793,hjsv:6};
|
||||
a=o.getElementsByTagName('head')[0];
|
||||
r=o.createElement('script');r.async=1;
|
||||
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||
a.appendChild(r);
|
||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||
</script>
|
||||
{/literal}
|
||||
71
themes/at_movic/templates/_partials/header.tpl
Normal file
71
themes/at_movic/templates/_partials/header.tpl
Normal file
@@ -0,0 +1,71 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{block name='header_banner'}
|
||||
<div class="header-banner">
|
||||
{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayBanner'}</div>
|
||||
{if isset($fullwidth_hook.displayBanner) AND $fullwidth_hook.displayBanner == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='header_nav'}
|
||||
<nav class="header-nav">
|
||||
<div class="topnav">
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav1'}</div>
|
||||
{if isset($fullwidth_hook.displayNav1) AND $fullwidth_hook.displayNav1 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="bottomnav">
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayNav2'}</div>
|
||||
{if isset($fullwidth_hook.displayNav2) AND $fullwidth_hook.displayNav2 == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</nav>
|
||||
{/block}
|
||||
|
||||
{block name='header_top'}
|
||||
<div class="header-top">
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
<div class="container">
|
||||
{/if}
|
||||
<div class="inner">{hook h='displayTop'}</div>
|
||||
{if isset($fullwidth_hook.displayTop) AND $fullwidth_hook.displayTop == 0}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h='displayNavFullWidth'}
|
||||
{/block}
|
||||
35
themes/at_movic/templates/_partials/index.php
Normal file
35
themes/at_movic/templates/_partials/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (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;
|
||||
64
themes/at_movic/templates/_partials/javascript.tpl
Normal file
64
themes/at_movic/templates/_partials/javascript.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $javascript.external|@count == 1}
|
||||
{foreach $javascript.external as $js}
|
||||
<script async type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
{else}
|
||||
{foreach $javascript.external as $js}
|
||||
<script type="text/javascript" src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script type="text/javascript">
|
||||
{$js.content nofilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if isset($vars) && $vars|@count}
|
||||
<script type="text/javascript">
|
||||
{foreach from=$vars key=var_name item=var_value}
|
||||
var {$var_name} = {$var_value|json_encode nofilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
<script type="text/javascript">
|
||||
var choosefile_text = "{l s='Choose file' d='Shop.Theme.Actions'}";
|
||||
var turnoff_popup_text = "{l s='Do not show this popup again' d='Shop.Theme.Actions'}";
|
||||
|
||||
var size_item_quickview = 82;
|
||||
var style_scroll_quickview = 'vertical';
|
||||
|
||||
var size_item_page = 113;
|
||||
var style_scroll_page = 'horizontal';
|
||||
|
||||
var size_item_quickview_attr = 101;
|
||||
var style_scroll_quickview_attr = 'vertical';
|
||||
|
||||
var size_item_popup = 160;
|
||||
var style_scroll_popup = 'vertical';
|
||||
</script>
|
||||
78
themes/at_movic/templates/_partials/notifications.tpl
Normal file
78
themes/at_movic/templates/_partials/notifications.tpl
Normal file
@@ -0,0 +1,78 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{if isset($notifications)}
|
||||
<aside id="notifications">
|
||||
<div class="container">
|
||||
{if $notifications.error}
|
||||
{block name='notifications_error'}
|
||||
<article class="alert alert-danger" role="alert" data-alert="danger">
|
||||
<ul>
|
||||
{foreach $notifications.error as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.warning}
|
||||
{block name='notifications_warning'}
|
||||
<article class="alert alert-warning" role="alert" data-alert="warning">
|
||||
<ul>
|
||||
{foreach $notifications.warning as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.success}
|
||||
{block name='notifications_success'}
|
||||
<article class="alert alert-success" role="alert" data-alert="success">
|
||||
<ul>
|
||||
{foreach $notifications.success as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
{if $notifications.info}
|
||||
{block name='notifications_info'}
|
||||
<article class="alert alert-info" role="alert" data-alert="info">
|
||||
<ul>
|
||||
{foreach $notifications.info as $notif}
|
||||
<li>{$notif nofilter}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</article>
|
||||
{/block}
|
||||
{/if}
|
||||
</div>
|
||||
</aside>
|
||||
{/if}
|
||||
62
themes/at_movic/templates/_partials/pagination.tpl
Normal file
62
themes/at_movic/templates/_partials/pagination.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<nav class="pagination">
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 text-md-left text-xs-center">
|
||||
{block name='pagination_summary'}
|
||||
{l s='Showing %from%-%to% of %total% item(s)' d='Shop.Theme.Catalog' sprintf=['%from%' => $pagination.items_shown_from ,'%to%' => $pagination.items_shown_to, '%total%' => $pagination.total_items]}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6 col-lg-8">
|
||||
{block name='pagination_page_list'}
|
||||
{if $pagination.should_be_displayed}
|
||||
<ul class="page-list clearfix text-md-right text-xs-center">
|
||||
{foreach from=$pagination.pages item="page"}
|
||||
<li {if $page.current} class="current" {/if}>
|
||||
{if $page.type === 'spacer'}
|
||||
<span class="spacer">…</span>
|
||||
{else}
|
||||
<a
|
||||
rel="{if $page.type === 'previous'}prev{elseif $page.type === 'next'}next{else}nofollow{/if}"
|
||||
href="{$page.url}"
|
||||
class="{if $page.type === 'previous'}previous {elseif $page.type === 'next'}next {/if}{['disabled' => !$page.clickable, 'js-search-link' => true]|classnames}"
|
||||
>
|
||||
{if $page.type === 'previous'}
|
||||
<i class="fa fa-long-arrow-left"></i><span>{l s='Previous' d='Shop.Theme.Actions'}</span>
|
||||
{elseif $page.type === 'next'}
|
||||
<span>{l s='Next' d='Shop.Theme.Actions'}</span><i class="fa fa-long-arrow-right"></i>
|
||||
{else}
|
||||
{$page.page}
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
33
themes/at_movic/templates/_partials/stylesheets.tpl
Normal file
33
themes/at_movic/templates/_partials/stylesheets.tpl
Normal file
@@ -0,0 +1,33 @@
|
||||
{**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (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:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* 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 PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{foreach $stylesheets.external as $stylesheet}
|
||||
<link rel="stylesheet" href="{$stylesheet.uri}" type="text/css" media="{$stylesheet.media}">
|
||||
{/foreach}
|
||||
|
||||
{foreach $stylesheets.inline as $stylesheet}
|
||||
<style>
|
||||
{$stylesheet.content}
|
||||
</style>
|
||||
{/foreach}
|
||||
Reference in New Issue
Block a user