From 695aaa73fb7e39dbe5b04d46ea93eec0c2a1c2e3 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 25 Nov 2013 19:03:15 +0100 Subject: [PATCH] [-] FO : Merge of https://github.com/PrestaShop/PrestaShop/pull/696 --- themes/default-bootstrap/header.tpl | 1 + themes/default/header.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/themes/default-bootstrap/header.tpl b/themes/default-bootstrap/header.tpl index 6fc22eade..534b39605 100644 --- a/themes/default-bootstrap/header.tpl +++ b/themes/default-bootstrap/header.tpl @@ -61,6 +61,7 @@ var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; + var isUserLogged = {if $logged}true{else}false{/if}; diff --git a/themes/default/header.tpl b/themes/default/header.tpl index db8b2c8eb..1a2712f58 100644 --- a/themes/default/header.tpl +++ b/themes/default/header.tpl @@ -50,6 +50,7 @@ var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; + var isUserLogged = {if $logged}true{else}false{/if}; {if isset($css_files)} {foreach from=$css_files key=css_uri item=media}