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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12095 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-04 08:21:37 +00:00
parent f33d42c0e5
commit 995522c3d0
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}