// Add link to customer account
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user