first commit
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
{**
|
||||
* Leo Prestashop Theme Framework for Prestashop 1.5.x
|
||||
*
|
||||
* @package leotempcp
|
||||
* @version 3.0
|
||||
* @author http://www.leotheme.com
|
||||
* @copyright Copyright (C) October 2013 LeoThemes.com <@emai:leotheme@gmail.com>
|
||||
* <info@leotheme.com>.All rights reserved.
|
||||
* @license GNU General Public License version 2
|
||||
*
|
||||
**}
|
||||
|
||||
<!-- Block languages module -->
|
||||
<div id="leo_block_top" class="popup-over dropdown js-dropdown">
|
||||
<a href="javascript:void(0)" data-toggle="dropdown" class="popup-title" title="{l s='Setting' d='Shop.Theme.Global'}">
|
||||
<i class="ti-settings icons"></i>
|
||||
</a>
|
||||
<div class="popup-content dropdown-menu">
|
||||
<div class="language-selector">
|
||||
<span>{l s='Language:' d='Shop.Theme.Global'}</span>
|
||||
<ul class="link">
|
||||
{foreach from=$languages item=language}
|
||||
<li {if $language.id_lang == $current_language.id_lang} class="current" {/if}>
|
||||
<a href="{url entity='language' id=$language.id_lang}" class="dropdown-item">
|
||||
<span class="lang-img"><img class="lazy" data-src="{$img_lang_url|escape:'html':'UTF-8'}{$language.id_lang|escape:'html':'UTF-8'}.jpg" alt="{$language.iso_code|escape:'html':'UTF-8'}" width="16" height="11" /></span>
|
||||
<span class="lang-name">{$language.name_simple}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="currency-selector">
|
||||
<span>{l s='Currency:' d='Shop.Theme.Global'}</span>
|
||||
<ul class="link">
|
||||
{foreach from=$currencies item=currency}
|
||||
<li {if $currency.current} class="current" {/if}>
|
||||
<a title="{$currency.name}" rel="nofollow" href="{$currency.url}" class="dropdown-item">
|
||||
<span class="cur-code">{$currency.iso_code}</span>
|
||||
<span class="cur-name">{$currency.sign}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{if $enable_userinfo == 1}
|
||||
<ul class="user-info">
|
||||
{if $logged}
|
||||
<li>
|
||||
<a
|
||||
class="account"
|
||||
href="{$my_account_url}"
|
||||
title="{l s='View my customer account' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Hello' d='Shop.Theme.Global'} {$customerName}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="logout"
|
||||
href="{$logout_url}"
|
||||
rel="nofollow"
|
||||
>
|
||||
{l s='Sign out' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
</li>
|
||||
{else}
|
||||
{if Configuration::get('LEOQUICKLOGIN_ENABLE')}
|
||||
<li>
|
||||
<a
|
||||
class="signin leo-quicklogin"
|
||||
data-enable-sociallogin="enable"
|
||||
data-type="popup"
|
||||
data-layout="login"
|
||||
href="javascript:void(0)"
|
||||
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Sign in' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="register leo-quicklogin"
|
||||
data-enable-sociallogin="enable"
|
||||
data-type="popup"
|
||||
data-layout="register"
|
||||
href="javascript:void(0)"
|
||||
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Register' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
</li>
|
||||
{else}
|
||||
<li>
|
||||
<a
|
||||
class="signin"
|
||||
href="{$my_account_url}"
|
||||
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Sign in' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="{$urls.pages.register}"
|
||||
title="{l s='Register' d='Shop.Theme.Customeraccount'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Register' d='Shop.Theme.Actions'}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
{if Configuration::get('LEOFEATURE_ENABLE_PRODUCTWISHLIST')}
|
||||
<li>
|
||||
<a
|
||||
class="ap-btn-wishlist dropdown-item"
|
||||
href="{url entity='module' name='leofeature' controller='mywishlist'}"
|
||||
title="{l s='Wishlist' d='Shop.Theme.Global'}"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>{l s='Wishlist' d='Shop.Theme.Global'}</span>
|
||||
<span class="ap-total-wishlist ap-total"></span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{if Configuration::get('LEOFEATURE_ENABLE_PRODUCTCOMPARE')}
|
||||
<li>
|
||||
<a
|
||||
class="ap-btn-compare dropdown-item"
|
||||
href="{url entity='module' name='leofeature' controller='productscompare'}"
|
||||
title="Porównaj"
|
||||
rel="nofollow"
|
||||
>
|
||||
<span>Porównaj</span>
|
||||
<span class="ap-total-compare ap-total"></span>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /Block languages module -->
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user