first commit
This commit is contained in:
25
themes/ayon_/templates/_partials/acc.tpl
Normal file
25
themes/ayon_/templates/_partials/acc.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="acc_top tip_inside {if isset($roythemes.click_lay_a) && ($roythemes.click_lay_a !== "3")}box-acc{/if} {if isset($roythemes.click_lay_a) && ($roythemes.click_lay_a == "3")}tip_inside{/if}">
|
||||
{if isset($roythemes.click_lay_a) && ($roythemes.click_lay_a == "3")}
|
||||
<a href="{$urls.pages.my_account}" rel="nofollow">
|
||||
{/if}
|
||||
<i class="rts" data-size="28" data-color="#000000">{if isset($roythemes.acc_icon)}{$roythemes.acc_icon}{else}acc1{/if}</i>
|
||||
{if $customer.is_logged && !$customer.is_guest}
|
||||
<span class="acc_check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polyline points="17 3 19 5 23 1" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></svg></span>
|
||||
{if isset($roythemes.acc_name) && ($roythemes.acc_name == "1")}
|
||||
<span class="acc_name">{$customer.firstname} {$customer.lastname}</span>
|
||||
{else}
|
||||
<span class="text">{l s='Account'}</span>
|
||||
{/if}
|
||||
{else}
|
||||
<span class="text">{l s='Account'}</span>
|
||||
{/if}
|
||||
{if isset($roythemes.click_lay_a) && ($roythemes.click_lay_a == "3")}
|
||||
</a>
|
||||
{if $customer.is_logged && !$customer.is_guest}
|
||||
<span class="tip">{l s='Open My Account'}</span>
|
||||
{else}
|
||||
<span class="tip">{l s='Login / Sign up'}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
<span class="tip">Konto</span>
|
||||
</div>
|
||||
29
themes/ayon_/templates/_partials/breadcrumb.tpl
Normal file
29
themes/ayon_/templates/_partials/breadcrumb.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<div class="bread_wrapper">
|
||||
<div class="container">
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb">
|
||||
<span class="bread_name">
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{if $smarty.foreach.breadcrumb.last}
|
||||
{$path.title}
|
||||
{/if}
|
||||
{/foreach}</span>
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
{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.last}
|
||||
<a itemprop="item" href="{$path.url}">
|
||||
{/if}
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
<a itemprop="item" href="#"></a>
|
||||
{if !$smarty.foreach.breadcrumb.last}
|
||||
</a>
|
||||
{/if}
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
{/foreach}
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
182
themes/ayon_/templates/_partials/footer.tpl
Normal file
182
themes/ayon_/templates/_partials/footer.tpl
Normal file
@@ -0,0 +1,182 @@
|
||||
{**
|
||||
* ayon.footer | roythemes.2018
|
||||
*}
|
||||
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
||||
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
if (!sessionStorage.messengerTip){
|
||||
setTimeout(function(){$('.messenger-contact-tip').fadeIn(500); sessionStorage.setItem("messengerTip", "true");}, 500);
|
||||
setTimeout(function(){$('.messenger-contact-tip').fadeOut(1000);}, 5000);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<div class="messenger-contact-container">
|
||||
<a href="http://m.me/reklama.mcdesign" target="_blank">
|
||||
<div tabindex="0" role="button" style="cursor: pointer; outline: none;">
|
||||
<svg width="60px" height="60px" viewBox="0 0 60 60"><svg x="0" y="0" width="60px" height="60px"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><circle fill="#0084FF" cx="30" cy="30" r="30"></circle><svg x="10" y="10"><g transform="translate(0.000000, -10.000000)" fill="#FFFFFF"><g id="logo" transform="translate(0.000000, 10.000000)"><path d="M20,0 C31.2666,0 40,8.2528 40,19.4 C40,30.5472 31.2666,38.8 20,38.8 C17.9763,38.8 16.0348,38.5327 14.2106,38.0311 C13.856,37.9335 13.4789,37.9612 13.1424,38.1098 L9.1727,39.8621 C8.1343,40.3205 6.9621,39.5819 6.9273,38.4474 L6.8184,34.8894 C6.805,34.4513 6.6078,34.0414 6.2811,33.7492 C2.3896,30.2691 0,25.2307 0,19.4 C0,8.2528 8.7334,0 20,0 Z M7.99009,25.07344 C7.42629,25.96794 8.52579,26.97594 9.36809,26.33674 L15.67879,21.54734 C16.10569,21.22334 16.69559,21.22164 17.12429,21.54314 L21.79709,25.04774 C23.19919,26.09944 25.20039,25.73014 26.13499,24.24744 L32.00999,14.92654 C32.57369,14.03204 31.47419,13.02404 30.63189,13.66324 L24.32119,18.45264 C23.89429,18.77664 23.30439,18.77834 22.87569,18.45674 L18.20299,14.95224 C16.80079,13.90064 14.79959,14.26984 13.86509,15.75264 L7.99009,25.07344 Z"></path></g></g></svg></g></g></svg></svg>
|
||||
</div>
|
||||
<div class="messenger-contact-tip" style="display: none;">
|
||||
Jak możemy Ci pomóc?
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="footer-container">
|
||||
<div class="container">
|
||||
|
||||
{if isset($roythemes.footer_lay)}
|
||||
|
||||
{if $roythemes.footer_lay == "1"}
|
||||
<div class="row">
|
||||
<div class="col-md-12 wrapper foot-links">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "2"}
|
||||
<div class="row">
|
||||
<div class="col-md-4 wrapper foot-social">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-8 wrapper foot-mail">
|
||||
{widget name='ps_emailsubscription'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "3"}
|
||||
<div class="row">
|
||||
<div class="col-md-2 wrapper foot-logo">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
</div>
|
||||
|
||||
<div class="col-md-8 wrapper foot-text">
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 wrapper foot-social">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "4"}
|
||||
<div class="row top">
|
||||
<div class="col-md-9 wrapper foot-links">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper foot-logo">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottom">
|
||||
<div class="col-md-9 wrapper foot-text">
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper foot-social">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "5"}
|
||||
<div class="row top">
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-9 wrapper foot-links">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bottom">
|
||||
<div class="col-md-9 wrapper foot-text">
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper foot-logo">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "6"}
|
||||
<div class="row">
|
||||
<div class="col-md-5 wrapper text">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 wrapper">
|
||||
{widget name='ps_emailsubscription'}
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "7"}
|
||||
<div class="row">
|
||||
<div class="col-md-3 wrapper text">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_emailsubscription'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $roythemes.footer_lay == "8"}
|
||||
<div class="row">
|
||||
<div class="col-md-3 wrapper text">
|
||||
<img class="logo_footer img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-footer-{Context::getContext()->shop->id}.{if isset($roythemes.logo_footer_ext)}{$roythemes.logo_footer_ext}{else}png{/if}" alt="{$shop.name}" />
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 wrapper">
|
||||
{widget name='ps_linklist' hook='displayFooter'}
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 wrapper">
|
||||
{widget name='ps_socialfollow'}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{hook h='displayFooter' mod='roy_content'}
|
||||
|
||||
{/if}
|
||||
|
||||
<div class="row">
|
||||
{block name='hook_footer_after'}
|
||||
{hook h='displayFooterAfter'}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="is_media"></div>
|
||||
35
themes/ayon_/templates/_partials/form-errors.tpl
Normal file
35
themes/ayon_/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 2007-2017 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}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
</div>
|
||||
{/if}
|
||||
192
themes/ayon_/templates/_partials/form-fields.tpl
Normal file
192
themes/ayon_/templates/_partials/form-fields.tpl
Normal file
@@ -0,0 +1,192 @@
|
||||
{**
|
||||
* 2007-2019 PrestaShop and Contributors
|
||||
*
|
||||
* 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 https://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2019 PrestaShop SA and Contributors
|
||||
* @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 {if !empty($field.errors)}has-error{/if}">
|
||||
<div class="col-md-12{if ($field.type === 'radio-buttons')} form-control-valign{/if}">
|
||||
{if isset($roythemes.g_form) && $roythemes.g_form == "1"}<label>{if $field.type !== 'checkbox'}{$field.label}{/if}</label>{/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-item">
|
||||
<span class="custom-radio">
|
||||
<input
|
||||
name="{$field.name}"
|
||||
type="radio"
|
||||
value="{$value}"
|
||||
{if $field.required}required{/if}
|
||||
{if $value eq $field.value} checked {/if}
|
||||
>
|
||||
<label class="switchColor"></label>
|
||||
<span></span>
|
||||
</span>
|
||||
{$label}
|
||||
</label>
|
||||
{/foreach}
|
||||
{/block}
|
||||
|
||||
{elseif $field.type === 'checkbox'}
|
||||
|
||||
{block name='form_field_item_checkbox'}
|
||||
<span class="custom-checkbox">
|
||||
<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>
|
||||
<label>{$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">
|
||||
<input
|
||||
class="form-control js-child-focus js-visible-password"
|
||||
name="{$field.name}"
|
||||
type="password"
|
||||
{if isset($roythemes.g_form) && $roythemes.g_form == "2"}placeholder="{if $field.type !== 'checkbox'}{$field.label}{/if}"{/if}
|
||||
value=""
|
||||
pattern=".{literal}{{/literal}5,{literal}}{/literal}"
|
||||
{if $field.required}required{/if}
|
||||
>
|
||||
<span class="input-group-btn">
|
||||
<button
|
||||
class="btn material-icons"
|
||||
type="button"
|
||||
data-action="show-password"
|
||||
data-text-show=""
|
||||
data-text-hide=""
|
||||
>
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>
|
||||
</i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
|
||||
{block name='form_field_item_other'}
|
||||
<input
|
||||
class="form-control"
|
||||
name="{$field.name}"
|
||||
type="{$field.type}"
|
||||
{if isset($roythemes.g_form) && $roythemes.g_form == "2"}placeholder="{if $field.type !== 'checkbox'}{$field.label}{/if}"{/if}
|
||||
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}
|
||||
>
|
||||
{if isset($field.availableValues.comment)}
|
||||
<span class="form-control-comment">
|
||||
{$field.availableValues.comment}
|
||||
</span>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{/if}
|
||||
|
||||
{block name='form_field_errors'}
|
||||
{include file='_partials/form-errors.tpl' errors=$field.errors}
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 form-control-comment">
|
||||
{block name='form_field_comment'}
|
||||
{if ($field.required && !in_array($field.type, ['radio-buttons', 'checkbox']))}
|
||||
<span class="req">{l s='*' d='Shop.Forms.Labels'}</span>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
78
themes/ayon_/templates/_partials/head.tpl
Normal file
78
themes/ayon_/templates/_partials/head.tpl
Normal file
@@ -0,0 +1,78 @@
|
||||
{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='stylesheets'}
|
||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||
{/block}
|
||||
|
||||
{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'}
|
||||
|
||||
{literal}
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-211026622-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-211026622-1');
|
||||
</script>
|
||||
<!-- Facebook Pixel Code -->
|
||||
<script>
|
||||
!function(f,b,e,v,n,t,s)
|
||||
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
||||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
||||
n.queue=[];t=b.createElement(e);t.async=!0;
|
||||
t.src=v;s=b.getElementsByTagName(e)[0];
|
||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
||||
'https://connect.facebook.net/en_US/fbevents.js');
|
||||
fbq('init', '417303443235764');
|
||||
fbq('track', 'PageView');
|
||||
</script>
|
||||
<noscript><img height="1" width="1" style="display:none"
|
||||
src="https://www.facebook.com/tr?id=417303443235764&ev=PageView&noscript=1"
|
||||
/></noscript>
|
||||
<!-- End Facebook Pixel Code -->
|
||||
|
||||
{/literal}
|
||||
|
||||
{/block}
|
||||
176
themes/ayon_/templates/_partials/header.tpl
Normal file
176
themes/ayon_/templates/_partials/header.tpl
Normal file
@@ -0,0 +1,176 @@
|
||||
{**
|
||||
* 2018 RoyThemes
|
||||
*}
|
||||
|
||||
{if isset($roythemes.header_ns) && ($roythemes.header_ns == "1")}
|
||||
{block name='header_nav'}
|
||||
<nav class="header-nav hidden-md-down">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{if isset($roythemes.nc_toppanel_lay)}
|
||||
{if $roythemes.nc_toppanel_lay !== "1"}
|
||||
<div class="col-md-3 col-xs-3 curlan">
|
||||
{hook h='displayNav1'}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="col-md-{if $roythemes.nc_toppanel_lay == "1"}12{else}9{/if} roycon">
|
||||
{hook h='displayHeaderContent'}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{/block}
|
||||
{/if}
|
||||
|
||||
|
||||
{block name='header_top'}
|
||||
<div class="header-top">
|
||||
<div class="container">
|
||||
|
||||
<div class="row action header_lay{if isset($roythemes.header_lay)}{$roythemes.header_lay}{/if}">
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay !== "4" && $roythemes.header_lay !== "6")}
|
||||
<div class="head_logo" id="_desktop_logo">
|
||||
<a href="{$urls.base_url}">
|
||||
<img class="logo logo-normal img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-normal-{Context::getContext()->shop->id}.{if isset($roythemes.nc_logo_normal_ext)}{$roythemes.nc_logo_normal_ext}{else}png{/if}" alt="{$shop.name}">
|
||||
<img class="logo logo-trans img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-trans-{Context::getContext()->shop->id}.{if isset($roythemes.nc_logo_trans_ext)}{$roythemes.nc_logo_trans_ext}{else}png{/if}" alt="{$shop.name}">
|
||||
</a>
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "3")}
|
||||
{widget name="ps_searchbar"}
|
||||
{/if}
|
||||
</div>
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay !== "5")}
|
||||
<div class="head_menu">
|
||||
{hook h='displayMegaMenu'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="flag-eu tip_inside"><a href="/content/7-projekty-ue"><img src="/img/eu.png"/><span class="tip">EU</span></a></div>
|
||||
|
||||
<div class="head_action">
|
||||
<ul>
|
||||
{if isset($roythemes.nc_cl) && $roythemes.nc_cl == "2"}
|
||||
<li class="curlan">
|
||||
{widget name="ps_languageselector"}
|
||||
</li>
|
||||
<li class="curlan">
|
||||
{widget name="ps_currencyselector"}
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
<li id="buttons-size-wcag">
|
||||
<div class="button-wcag-size-up tip_inside">
|
||||
+
|
||||
<span class="tip">Powiększ Czcionke</span>
|
||||
</div>
|
||||
|
||||
<div class="button-wcag-size-down tip_inside">
|
||||
−
|
||||
<span class="tip">Pomniejsz Czcionke</span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li id="button-wcag" class='tip_inside'><i class="rts" data-size="28" data-color="#000000" style="width: 28px; height: 28px;"><svg id="Layer_1" enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m454.997 460.123-44.264-132.791c-10.806-32.418-41.024-54.199-75.195-54.199h-5.951c8.47-8.526 13.713-20.261 13.713-33.2 0-25.989-21.144-47.133-47.133-47.133h-33.2v-33.216c0-15.474-5.541-30.089-15.661-41.613 18.941-10.927 31.727-31.377 31.727-54.771 0-34.849-28.352-63.2-63.2-63.2s-63.199 28.352-63.199 63.2c0 15.91 5.922 30.455 15.662 41.577-15.384 8.864-26.742 23.974-30.433 42.018-13.729-11.398-31.35-18.262-50.546-18.262h-.017c-8.284 0-14.992 6.716-14.992 15s6.725 15 15.009 15c27.156 0 49.25 22.094 49.25 49.25v31.808c-31.997 15.697-80.333 57.515-80.333 128.875-.001 79.145 64.388 143.534 143.532 143.534 58.903 0 109.624-35.67 131.72-86.539l14.717 44.15c2.042 6.125 7.774 10.256 14.23 10.256h80.333c4.821 0 9.35-2.318 12.169-6.229s3.586-8.941 2.062-13.515zm-239.164-430.123c18.307 0 33.2 14.894 33.2 33.2s-14.894 33.2-33.2 33.2-33.199-14.893-33.199-33.2 14.893-33.2 33.199-33.2zm-16.067 452c-62.603 0-113.533-50.931-113.533-113.533 0-48.443 29.225-83.641 59.908-100.091 8.746 11.483 22.563 18.691 37.559 18.691h95.176c21.943 21.345 34.424 50.705 34.424 81.4 0 62.602-50.931 113.533-113.534 113.533zm96.401-224.933h-112.467c-9.447 0-17.134-7.686-17.134-17.134v-80.349c0-18.107 14.616-33.184 33.217-33.184 18.325 0 33.184 14.837 33.184 33.184v33.216h-17.134c-8.284 0-15 6.716-15 15s6.716 15 15 15h80.334c9.447 0 17.133 7.686 17.133 17.133 0 9.448-7.686 17.134-17.133 17.134zm75.078 192.8-27.979-83.937c-.391-22.062-5.867-43.513-15.734-62.796h8.007c21.237 0 40.019 13.537 46.734 33.686l37.683 113.048h-48.711z"/></svg>
|
||||
</i>
|
||||
<span class="tip">Wysoki Kontrast</span>
|
||||
</li>
|
||||
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "5")}
|
||||
{block name='menu_top'}
|
||||
{include file="_partials/menu.tpl"}
|
||||
{/block}
|
||||
{/if}
|
||||
<li>
|
||||
{block name='acc_top'}
|
||||
{include file="_partials/acc.tpl"}
|
||||
{/block}
|
||||
</li>
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay !== "3")}
|
||||
<li class='tip_inside'>{widget name="ps_searchbar"}<span class="tip">Wyszukaj</span></li>
|
||||
{/if}
|
||||
<li>{widget name="ps_shoppingcart"}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "4" || $roythemes.header_lay == "6")}
|
||||
<div class="head_action">
|
||||
<ul>
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "6")}
|
||||
{block name='menu_top'}
|
||||
{include file="_partials/menu.tpl"}
|
||||
{/block}
|
||||
{/if}
|
||||
<li>{widget name="ps_searchbar"}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="head_logo" id="_desktop_logo">
|
||||
<a href="{$urls.base_url}">
|
||||
<img class="logo logo-normal img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-normal-{Context::getContext()->shop->id}.{if isset($roythemes.nc_logo_normal_ext)}{$roythemes.nc_logo_normal_ext}{else}png{/if}" alt="{$shop.name}">
|
||||
<img class="logo logo-trans img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-trans-{Context::getContext()->shop->id}.{if isset($roythemes.nc_logo_trans_ext)}{$roythemes.nc_logo_trans_ext}{else}png{/if}" alt="{$shop.name}">
|
||||
</a>
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "3")}
|
||||
{block name='acc_top'}
|
||||
{include file="_partials/acc.tpl"}
|
||||
{/block}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="head_action">
|
||||
<ul>
|
||||
{if isset($roythemes.nc_cl) && $roythemes.nc_cl == "2"}
|
||||
<li class="curlan">
|
||||
{widget name="ps_languageselector"}
|
||||
</li>
|
||||
<li class="curlan">
|
||||
{widget name="ps_currencyselector"}
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
{block name='acc_top'}
|
||||
{include file="_partials/acc.tpl"}
|
||||
{/block}
|
||||
</li>
|
||||
<li>{widget name="ps_shoppingcart"}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{if isset($roythemes.header_lay) && ($roythemes.header_lay == "4")}
|
||||
<div class="head_menu">
|
||||
{hook h='displayMegaMenu'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
<div id="mobile_top_menu_wrapper" class="row hidden-md-up" style="display:none;">
|
||||
<div class="js-top-menu mobile" id="_mobile_top_menu"></div>
|
||||
<div class="js-top-menu-bottom">
|
||||
<div id="_mobile_currency_selector"></div>
|
||||
<div id="_mobile_language_selector"></div>
|
||||
<div id="_mobile_contact_link"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{hook h='displayNavFullWidth'}
|
||||
<div class="header-mobile hidden-lg-up">
|
||||
<div class="header-mobile-wrap">
|
||||
<div class="logo-mobile">
|
||||
<a href="{$urls.base_url}">
|
||||
<img class="logo img-responsive" src="{$urls.base_url}modules/roy_customizer/upload/logo-mobile-{Context::getContext()->shop->id}.{if isset($roythemes.nc_mobile_logo_ext)}{$roythemes.nc_mobile_logo_ext}{else}png{/if}" alt="{$shop.name}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="head_action">
|
||||
<ul>
|
||||
<li><i class="box-search rts" data-size="26" data-color="#000000">{if isset($roythemes.nc_i_search)}{$roythemes.nc_i_search}{else}search1{/if}</i></li>
|
||||
<li><i class="box-cart rts" data-size="26" data-color="#000000">{if isset($roythemes.cart_icon)}{$roythemes.cart_icon}{else}cart1{/if}</i><span class="box-cart cart-products-count">{$cart.products_count}</span></li>
|
||||
<li class="menu_top"><i class="box-menu"><span></span><span></span>{if isset($roythemes.nc_m_icon) && ($roythemes.nc_m_icon !== "menu4") && ($roythemes.nc_m_icon !== "menu5")}<span></span>{/if}</i></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/block}
|
||||
41
themes/ayon_/templates/_partials/javascript.tpl
Normal file
41
themes/ayon_/templates/_partials/javascript.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
{**
|
||||
* 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 2007-2017 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}
|
||||
12
themes/ayon_/templates/_partials/menu.tpl
Normal file
12
themes/ayon_/templates/_partials/menu.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
<li>
|
||||
<div class="menu_top box-menu">
|
||||
<i>
|
||||
<span></span>
|
||||
<span></span>
|
||||
{if isset($roythemes.nc_m_icon) && ($roythemes.nc_m_icon !== "menu4") && ($roythemes.nc_m_icon !== "menu5")}
|
||||
<span></span>
|
||||
{/if}
|
||||
</i>
|
||||
<span class="text">{l s='Menu'}</span>
|
||||
</div>
|
||||
</li>
|
||||
78
themes/ayon_/templates/_partials/notifications.tpl
Normal file
78
themes/ayon_/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 2007-2017 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}
|
||||
38
themes/ayon_/templates/_partials/pagination.tpl
Normal file
38
themes/ayon_/templates/_partials/pagination.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<nav class="pagination">
|
||||
<div class="col-md-12 pr-0 pl-0">
|
||||
{block name='pagination_page_list'}
|
||||
{if $pagination.should_be_displayed}
|
||||
<ul class="page-list clearfix">
|
||||
{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><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><polyline points="15 18 9 12 15 6"></polyline></svg></i>{l s='Previous' d='Shop.Theme.Actions'}
|
||||
{elseif $page.type === 'next'}
|
||||
{l s='Next' d='Shop.Theme.Actions'}<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg></i>
|
||||
{else}
|
||||
{$page.page}
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
<div class="col-md-12 showing">
|
||||
{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>
|
||||
|
||||
</nav>
|
||||
28
themes/ayon_/templates/_partials/side.tpl
Normal file
28
themes/ayon_/templates/_partials/side.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="side_menu"
|
||||
data-menu="{if isset($roythemes.click_lay_m)}{$roythemes.click_lay_m}{/if}"
|
||||
data-search="{if isset($roythemes.click_lay_s)}{$roythemes.click_lay_s}{/if}"
|
||||
data-cart="{if isset($roythemes.click_lay_c)}{$roythemes.click_lay_c}{/if}"
|
||||
data-acc="{if isset($roythemes.click_lay_a)}{$roythemes.click_lay_a}{/if}"
|
||||
>
|
||||
<div class="side_menu_rel">
|
||||
<div id="side_cart_wrap">
|
||||
{widget name='ps_shoppingcart'}
|
||||
</div>
|
||||
<div id="side_search_wrap">
|
||||
{include file='_partials/side/side_search.tpl'}
|
||||
{hook h="displaySideSearch"}
|
||||
</div>
|
||||
<div id="side_menu_wrap">
|
||||
{include file='_partials/side/side_menu.tpl'}
|
||||
{hook h="displaySideMenu"}
|
||||
</div>
|
||||
<div id="side_acc_wrap">
|
||||
{include file='_partials/side/side_acc.tpl'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side_close">
|
||||
<i>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><path d="M19.78,17,14.83,12l4.95-4.95a1,1,0,0,0,0-1.41L18.36,4.24a1,1,0,0,0-1.41,0L12,9.19,7.05,4.24a1,1,0,0,0-1.41,0L4.22,5.65a1,1,0,0,0,0,1.41L9.17,12,4.22,17a1,1,0,0,0,0,1.41L5.64,19.8a1,1,0,0,0,1.41,0L12,14.85l4.95,4.95a1,1,0,0,0,1.41,0l1.41-1.41A1,1,0,0,0,19.78,17Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>
|
||||
</i>
|
||||
</div>
|
||||
85
themes/ayon_/templates/_partials/side/side_acc.tpl
Normal file
85
themes/ayon_/templates/_partials/side/side_acc.tpl
Normal file
@@ -0,0 +1,85 @@
|
||||
<h4 class="side_title">{l s='Account' d='Shop.Theme.Customeraccount'}</h4>
|
||||
<span class="close_cross"><i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></i></span>
|
||||
|
||||
{if isset($roythemes.nc_cl) && $roythemes.nc_cl == "1"}
|
||||
<div class="menu_selectors">
|
||||
{widget name='ps_languageselector'}
|
||||
{widget name='ps_currencyselector'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $customer.is_logged && !$customer.is_guest}
|
||||
<div class="acc_ul links">
|
||||
|
||||
<span class="name"><a href="{$urls.pages.my_account}" title="{l s='View my customer account' d='Shop.Theme.Customeraccount'}" rel="nofollow"><span>{$customer.firstname} {$customer.lastname}</span></a></span>
|
||||
|
||||
<a href="{$urls.pages.my_account}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-monitor"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line></svg></i>
|
||||
{l s='Dashboard' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
|
||||
{if !$configuration.is_catalog}
|
||||
<a id="history-link" href="{$urls.pages.history}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><path d="M15,2.28l8.8,4.43a2.22,2.22,0,0,1,1.22,2V19.24a2.22,2.22,0,0,1-1.22,2L15,25.66a2.19,2.19,0,0,1-2,0l-8.8-4.43a2.22,2.22,0,0,1-1.21-2V8.69a2.22,2.22,0,0,1,1.22-2L13,2.28A2.19,2.19,0,0,1,15,2.28Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><polyline points="3.45 7.51 14.08 12.86 24.7 7.51" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><line x1="14" y1="26" x2="14" y2="13" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><line x1="8.59" y1="4.57" x2="19.57" y2="10.09" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></svg></i>
|
||||
{l s='Orders' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
<a id="identity-link" href="{$urls.pages.identity}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><path d="M16.26,15.7A4,4,0,0,0,14,15H7a4,4,0,0,0-4,4v2l1,2h7" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><circle cx="10.5" cy="7" r="4" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><polygon points="22.96 14.85 26.15 18.04 18.18 26 15 26 15 22.82 22.96 14.85" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></svg></i>
|
||||
{l s='Information' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
|
||||
{if $customer.addresses|count}
|
||||
<a id="addresses-link" href="{$urls.pages.addresses}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg></i>
|
||||
{l s='Addresses' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{else}
|
||||
<a id="address-link" href="{$urls.pages.address}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map-pin"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg></i>
|
||||
{l s='Add first address' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if !$configuration.is_catalog}
|
||||
<a id="order-slips-link" href="{$urls.pages.order_slip}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline></svg></i>
|
||||
{l s='Credit slips' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $configuration.voucher_enabled && !$configuration.is_catalog}
|
||||
<a id="discounts-link" href="{$urls.pages.discount}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg></i>
|
||||
{l s='Coupons' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $configuration.return_enabled && !$configuration.is_catalog}
|
||||
<a id="returns-link" href="{$urls.pages.order_follow}">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clipboard"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect></svg></i>
|
||||
{l s='Merchandise returns' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
<a class="logout" href="{$urls.actions.logout}" rel="nofollow">
|
||||
<i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-power"><path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line></svg></i>
|
||||
{l s='Sign out' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
{else}
|
||||
<div class="acc_nolog acc_ul">
|
||||
<div class="acc_text_login">
|
||||
{l s='You should login to your account:' d='Shop.Theme.Customeraccount'}
|
||||
</div>
|
||||
<a class="btn btn-primary login wide" href="{$urls.pages.my_account}" rel="nofollow" title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}">{l s='Sign in' d='Shop.Theme.Customeraccount'}</a>
|
||||
<div class="acc_text_create">
|
||||
{l s='No account?' d='Shop.Theme.Customeraccount'}
|
||||
</div>
|
||||
<a class="create btn btn-primary wide" href="{$urls.pages.register}" data-link-action="display-register-form">
|
||||
{l s='Create an Account' d='Shop.Theme.Customeraccount'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
12
themes/ayon_/templates/_partials/side/side_menu.tpl
Normal file
12
themes/ayon_/templates/_partials/side/side_menu.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
<h4 class="side_title"><a class="menu_acc" href="{$urls.pages.my_account}">{l s='Account' d='Shop.Theme.Customeraccount'}</a></h4>
|
||||
<span class="close_cross"><i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></i></span>
|
||||
|
||||
<div class="menu_selectors">
|
||||
{widget name='ps_languageselector'}
|
||||
{widget name='ps_currencyselector'}
|
||||
</div>
|
||||
<div class="menu_mob_wrapper">
|
||||
{hook h='displayMegaMenu'}
|
||||
</div>
|
||||
|
||||
{hook h="displaySideMobileMenu"}
|
||||
6
themes/ayon_/templates/_partials/side/side_search.tpl
Normal file
6
themes/ayon_/templates/_partials/side/side_search.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<h4 class="side_title"> </h4>
|
||||
<span class="close_cross"><i><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></i></span>
|
||||
|
||||
{widget name='ps_searchbar'}
|
||||
|
||||
<div id="search_results"></div>
|
||||
33
themes/ayon_/templates/_partials/stylesheets.tpl
Normal file
33
themes/ayon_/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 2007-2017 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