[+] Project : default theme added
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
/* Block new products */
|
||||
#new-products_block_right ul {list-style-type:none;}
|
||||
#new-products_block_right li {
|
||||
float:left;
|
||||
margin-right:20px;
|
||||
padding:10px 0;
|
||||
}
|
||||
#new-products_block_right li.first {margin-left:30px;}
|
||||
|
||||
#new-products_block_right dl {
|
||||
list-style-type:none;
|
||||
}
|
||||
#new-products_block_right dt {
|
||||
padding:10px 0 0 0;
|
||||
font-weight:bold;
|
||||
font-size:12px;
|
||||
color:#333;
|
||||
}
|
||||
#new-products_block_right dd,
|
||||
#new-products_block_right dd a {
|
||||
color:#666;
|
||||
}
|
||||
#new-products_block_right dd {
|
||||
padding:0 0 10px 0;
|
||||
border-bottom:1px dotted #ccc;
|
||||
|
||||
}
|
||||
#new-products_block_right dd.last_item {border:none;}
|
||||
#new-products_block_right dd a.lnk_more {
|
||||
padding-right: 10px;
|
||||
font-weight:bold;
|
||||
color:#0088cc;
|
||||
background:url(img/arrow_right_1.png) no-repeat 100% 4px;
|
||||
}
|
||||
|
||||
#new-products_block_right p {
|
||||
padding:0;
|
||||
text-align:right;
|
||||
}
|
||||
#new-products_block_right .button_large {
|
||||
padding:0;
|
||||
border:none;
|
||||
background:none;
|
||||
color:#333;
|
||||
}
|
||||
#new-products_block_right .button_large:hover {text-decoration:underline}
|
||||
@@ -1,5 +1,5 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7077 $
|
||||
* @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
|
||||
*}
|
||||
@@ -39,13 +39,13 @@
|
||||
<dl class="products">
|
||||
{foreach from=$blocknewproducts_new_products item=newproduct name=myLoop}
|
||||
<dt class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}" title="{$newproduct.name|escape:html:'UTF-8'}">{$newproduct.name|strip_tags|escape:html:'UTF-8'}</a></dt>
|
||||
{if $newproduct.description_short}<dd class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}">{$newproduct.description_short|strip_tags:'UTF-8'|truncate:50:'...'}</a> <a href="{$newproduct.link}"><img src="{$img_dir}bullet.gif" alt=">>" width="10" height="7" /></a></dd>{/if}
|
||||
{if $newproduct.description_short}<dd class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}">{$newproduct.description_short|strip_tags:'UTF-8'|truncate:75:'...'}</a><br /><a href="{$newproduct.link}" class="lnk_more">{l s='Read more'}</a></dd>{/if}
|
||||
{/foreach}
|
||||
</dl>
|
||||
<p><a href="{$link->getPageLink('new-products')}" title="{l s='All new products' mod='blocknewproducts'}" class="button_large">{l s='All new products' mod='blocknewproducts'}</a></p>
|
||||
<p><a href="{$link->getPageLink('new-products')}" title="{l s='All new products' mod='blocknewproducts'}" class="button_large">» {l s='All new products' mod='blocknewproducts'}</a></p>
|
||||
{else}
|
||||
<p>{l s='No new products at this time' mod='blocknewproducts'}</p>
|
||||
<p>» {l s='No new products at this time' mod='blocknewproducts'}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<!-- /MODULE Block new products -->
|
||||
<!-- /MODULE Block new products -->
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 155 B |
Reference in New Issue
Block a user