[+] Project : default theme added
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
/* block top user information */
|
||||
|
||||
#header_right #header_user {
|
||||
clear:both;
|
||||
float: right;
|
||||
margin-top:8px;
|
||||
width: 535px;
|
||||
}
|
||||
|
||||
#header_user #header_nav {
|
||||
list-style-type:none;
|
||||
float:right;
|
||||
}
|
||||
|
||||
/* cart */
|
||||
#header_user #shopping_cart {
|
||||
padding:15px 27px 10px 43px;
|
||||
width: 130px;/* 200 */
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background: url('img/icon/cart.gif') no-repeat 10px 9px #eee
|
||||
}
|
||||
#header_user #shopping_cart .ajax_cart_quantity { font-weight:bold; font-size:18px }
|
||||
#header_user #shopping_cart .ajax_cart_total { display:none !important; }
|
||||
|
||||
|
||||
/* account */
|
||||
#header_user #your_account {display:none;}
|
||||
#header_user #your_account a { background-image: url('img/icon/my-account.gif') }
|
||||
|
||||
/* user infos */
|
||||
#header_user_info {
|
||||
clear:both;
|
||||
float:right;
|
||||
margin-top:10px;
|
||||
padding:0;
|
||||
font-size:12px
|
||||
}
|
||||
#header_user_info a {
|
||||
display:inline-block;
|
||||
margin:0 0 0 10px;
|
||||
padding:3px 0 0 34px;
|
||||
line-height: 11px;
|
||||
border-left:1px solid #000
|
||||
}
|
||||
*: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,5 +1,5 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -19,22 +19,13 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7465 $
|
||||
* @version Release: $Revision: 6594 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<!-- Block user information module HEADER -->
|
||||
<div id="header_user">
|
||||
<p id="header_user_info">
|
||||
{l s='Welcome' mod='blockuserinfo'},
|
||||
{if $blockuserinfo_logged}
|
||||
<span>{$blockuserinfo_firstName} {$blockuserinfo_lastName}</span>
|
||||
(<a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
|
||||
{else}
|
||||
<a href="{$link->getPageLink('my-account', true)}">{l s='Log in' mod='blockuserinfo'}</a>
|
||||
{/if}
|
||||
</p>
|
||||
<ul id="header_nav">
|
||||
{if !$PS_CATALOG_MODE}
|
||||
<li id="shopping_cart">
|
||||
@@ -58,5 +49,14 @@
|
||||
{/if}
|
||||
<li id="your_account"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li>
|
||||
</ul>
|
||||
<p id="header_user_info">
|
||||
{l s='Welcome' mod='blockuserinfo'}
|
||||
{if $logged}
|
||||
<span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span>
|
||||
<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>
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
<!-- /Block user information module HEADER -->
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 236 B |
Binary file not shown.
|
After Width: | Height: | Size: 142 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 161 B |
Reference in New Issue
Block a user