// 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
+6
View File
@@ -44,6 +44,12 @@
line-height: 11px;
border-left:1px solid #000
}
#header_user_info a.account {
border: none;
display: inline;
margin: 0;
padding: 0;
}
*:first-child+html #header_user_info a {line-height:14px;}
#header_user_info a.login {background: url('img/icon/login.gif') no-repeat 10px 0}
#header_user_info a.logout {background: url('img/icon/logout.png') no-repeat 10px -1px}
+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>