// Adding non integrated feature from the old theme to the new theme for the module blocklayered

This commit is contained in:
mDeflotte
2012-01-04 08:21:37 +00:00
parent 1aa0b99804
commit 6be0e52074
2 changed files with 12 additions and 12 deletions
+4 -3
View File
@@ -23,9 +23,10 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'}
{if $category->id == 1 OR $nb_products == 0}
{l s='There are no products.'}
{else}
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if}
{$nb_products}
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
{$nb_products} 
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
{/if}
+8 -9
View File
@@ -29,16 +29,15 @@
{if isset($category)}
{if $category->id AND $category->active}
<h1>{strip}{$category->name|escape:'htmlall':'UTF-8'}{/strip}</h1>
<h1>
{strip}
{$category->name|escape:'htmlall':'UTF-8'}
{$categoryNameComplement|escape:'htmlall':'UTF-8'}
{/strip}
</h1>
<div class="resumecat">
{if $category->id == 1 OR $nb_products == 0}
{l s='There are no products.'}
{else}
{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if}&#160;
{$nb_products}&#160;
{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
{/if}
<div class="resumecat category-product-count">
{include file="$tpl_dir./category-count.tpl"}
</div>
{if $scenes || $category->description}