// Add link to customer account
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12739 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -44,6 +44,12 @@
|
|||||||
line-height: 11px;
|
line-height: 11px;
|
||||||
border-left:1px solid #000
|
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;}
|
*: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.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}
|
#header_user_info a.logout {background: url('img/icon/logout.png') no-repeat 10px -1px}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
<p id="header_user_info">
|
<p id="header_user_info">
|
||||||
{l s='Welcome' mod='blockuserinfo'}
|
{l s='Welcome' mod='blockuserinfo'}
|
||||||
{if $logged}
|
{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>
|
<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}
|
{else}
|
||||||
<a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>
|
<a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user