// update code on footer and header
This commit is contained in:
@@ -23,16 +23,16 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
{if !$content_only}
|
{if !$content_only}
|
||||||
</div>
|
</div> <!-- #center_column -->
|
||||||
{if isset($right_column_size) && !empty($right_column_size)}
|
{if isset($right_column_size) && !empty($right_column_size)}
|
||||||
<!-- Right -->
|
<!-- Right -->
|
||||||
<div id="right_column" class="col-xs-12 col-sm-3 column">
|
<div id="right_column" class="col-xs-12 col-sm-3 column">
|
||||||
{$HOOK_RIGHT_COLUMN}
|
{$HOOK_RIGHT_COLUMN}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div> <!-- .row -->
|
||||||
</div>
|
</div> <!-- #columns -->
|
||||||
</div>
|
</div> <!-- .columns-container -->
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<div class="footer-container">
|
<div class="footer-container">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
{$HOOK_FOOTER}
|
{$HOOK_FOOTER}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- .footer-container -->
|
||||||
</div>
|
</div> <!-- #page -->
|
||||||
{/if}
|
{/if}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"> <![endif]-->
|
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"> <![endif]-->
|
||||||
<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"> <![endif]-->
|
<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"> <![endif]-->
|
||||||
<!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"> <![endif]-->
|
<!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"> <![endif]-->
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
|
<html lang="{$lang_iso}">
|
||||||
<head>
|
<head>
|
||||||
<title>{$meta_title|escape:'html':'UTF-8'}</title>
|
<title>{$meta_title|escape:'html':'UTF-8'}</title>
|
||||||
{if isset($meta_description) AND $meta_description}
|
{if isset($meta_description) AND $meta_description}
|
||||||
@@ -36,33 +36,14 @@
|
|||||||
{if isset($meta_keywords) AND $meta_keywords}
|
{if isset($meta_keywords) AND $meta_keywords}
|
||||||
<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
|
<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
|
||||||
{/if}
|
{/if}
|
||||||
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="content-language" content="{$meta_language}" />
|
|
||||||
<meta name="generator" content="PrestaShop" />
|
<meta name="generator" content="PrestaShop" />
|
||||||
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
|
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
|
||||||
<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<script>
|
|
||||||
if (navigator.userAgent.match(/Android/i)) {
|
|
||||||
var viewport = document.querySelector("meta[name=viewport]");
|
|
||||||
viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height');
|
|
||||||
}
|
|
||||||
if(navigator.userAgent.match(/Android/i)){
|
|
||||||
window.scrollTo(0,1);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
|
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
|
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
|
||||||
<script type="text/javascript">
|
|
||||||
var baseDir = '{$content_dir|addslashes}';
|
|
||||||
var baseUri = '{$base_uri|addslashes}';
|
|
||||||
var static_token = '{$static_token|addslashes}';
|
|
||||||
var token = '{$token|addslashes}';
|
|
||||||
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
|
|
||||||
var priceDisplayMethod = {$priceDisplay};
|
|
||||||
var roundMode = {$roundMode};
|
|
||||||
var isUserLogged = {if $logged}true{else}false{/if};
|
|
||||||
</script>
|
|
||||||
<link href="{$css_dir}bootstrap_lib/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
|
<link href="{$css_dir}bootstrap_lib/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
|
||||||
<link href="{$css_dir}font-awesome.css" rel="stylesheet" type="text/css" media="all" />
|
<link href="{$css_dir}font-awesome.css" rel="stylesheet" type="text/css" media="all" />
|
||||||
<link href="{$css_dir}jquery/uniform.default.css" rel="stylesheet" type="text/css" media="all" />
|
<link href="{$css_dir}jquery/uniform.default.css" rel="stylesheet" type="text/css" media="all" />
|
||||||
@@ -75,6 +56,26 @@
|
|||||||
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
|
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<script>
|
||||||
|
if (navigator.userAgent.match(/Android/i)) {
|
||||||
|
var viewport = document.querySelector("meta[name=viewport]");
|
||||||
|
viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height');
|
||||||
|
}
|
||||||
|
if(navigator.userAgent.match(/Android/i)){
|
||||||
|
window.scrollTo(0,1);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var baseDir = '{$content_dir|addslashes}';
|
||||||
|
var baseUri = '{$base_uri|addslashes}';
|
||||||
|
var static_token = '{$static_token|addslashes}';
|
||||||
|
var token = '{$token|addslashes}';
|
||||||
|
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
|
||||||
|
var priceDisplayMethod = {$priceDisplay};
|
||||||
|
var roundMode = {$roundMode};
|
||||||
|
var isUserLogged = {if $logged}true{else}false{/if};
|
||||||
|
</script>
|
||||||
{if isset($js_files)}
|
{if isset($js_files)}
|
||||||
{foreach from=$js_files item=js_uri}
|
{foreach from=$js_files item=js_uri}
|
||||||
<script type="text/javascript" src="{$js_uri}"></script>
|
<script type="text/javascript" src="{$js_uri}"></script>
|
||||||
@@ -106,17 +107,16 @@
|
|||||||
<div class="header-container">
|
<div class="header-container">
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<div class="header-row">
|
<div class="header-row">
|
||||||
<div class="container clearfix">
|
<nav class="container clearfix">
|
||||||
<!-- User info -->
|
|
||||||
<div id="header_user_info">
|
<div id="header_user_info">
|
||||||
{if $logged}
|
{if $logged}
|
||||||
<a href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" title="{l s='Log me out'}" class="logout" rel="nofollow">{l s='Sign out'}</a>
|
<a href="{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}" title="{l s='Log me out'}" class="logout" rel="nofollow">{l s='Sign out'}</a>
|
||||||
{else}
|
{else}
|
||||||
<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='Login to your customer account'}" class="login" rel="nofollow">{l s='Sign in'}</a>
|
<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="{l s='Login to your customer account'}" class="login" rel="nofollow">{l s='Sign in'}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div> <!-- #header_user_info -->
|
||||||
<!-- /User info -->
|
|
||||||
<!-- languages -->
|
|
||||||
{if count($languages) > 1}
|
{if count($languages) > 1}
|
||||||
<div id="languages-block-top">
|
<div id="languages-block-top">
|
||||||
<div id="countries">
|
<div id="countries">
|
||||||
@@ -147,7 +147,8 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- #languages-block-top -->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#countries .current span, #countries .countries_ul li span').each(function() {
|
$('#countries .current span, #countries .countries_ul li span').each(function() {
|
||||||
@@ -161,8 +162,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- /languages -->
|
|
||||||
<!-- Currencies -->
|
|
||||||
{if count($currencies) > 1}
|
{if count($currencies) > 1}
|
||||||
<div id="currencies-block-top">
|
<div id="currencies-block-top">
|
||||||
<form id="setCurrency" action="{$request_uri}" method="post">
|
<form id="setCurrency" action="{$request_uri}" method="post">
|
||||||
@@ -182,16 +182,22 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div> <!-- #currencies-block-top -->
|
||||||
{/if}
|
{/if}
|
||||||
<!-- /Currencies -->
|
|
||||||
<!--Contact link-->
|
|
||||||
<div id="contact-link">
|
<div id="contact-link">
|
||||||
<a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='contact'}">{l s='Contact Us'}</a>
|
<a href="{$link->getPageLink('contact', true)|escape:'html'}" title="{l s='contact'}">{l s='Contact Us'}</a>
|
||||||
</div>
|
</div> <!-- #contact-link -->
|
||||||
{if $shop_phone}<span class="shop-phone"><i class="icon-phone"></i>{l s='Call us now toll free:'} <strong>{$shop_phone}</strong></span>{/if}
|
|
||||||
</div>
|
{if $shop_phone}
|
||||||
</div>
|
<span class="shop-phone">
|
||||||
|
<i class="icon-phone"></i>{l s='Call us now toll free:'} <strong>{$shop_phone}</strong>
|
||||||
|
</span>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
</nav><!-- .container-row -->
|
||||||
|
</div> <!-- .header-row -->
|
||||||
|
|
||||||
<div class="container header-row-2">
|
<div class="container header-row-2">
|
||||||
<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
|
<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
|
||||||
<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if}/>
|
<img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if}/>
|
||||||
@@ -199,9 +205,11 @@
|
|||||||
<div id="header_right">
|
<div id="header_right">
|
||||||
{$HOOK_TOP}
|
{$HOOK_TOP}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- .header-row-2 -->
|
||||||
</header>
|
|
||||||
</div>
|
</header> <!-- #header -->
|
||||||
|
</div> <!-- .header-container -->
|
||||||
|
|
||||||
<div class="columns-container">
|
<div class="columns-container">
|
||||||
<div id="columns" class="container">
|
<div id="columns" class="container">
|
||||||
{if $page_name !='index' && $page_name !='pagenotfound'}
|
{if $page_name !='index' && $page_name !='pagenotfound'}
|
||||||
|
|||||||
Reference in New Issue
Block a user