// Add link to customer account

This commit is contained in:
jBreux
2012-01-26 18:07:15 +00:00
parent 723083d94c
commit 957fc4fda2
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
<p id="header_user_info">
{l s='Welcome' mod='blockuserinfo'}
{if $logged}
<span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
<a href="{$link->getPageLink('my-account', true)}" class="account"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
<a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a>
{else}
<a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>