[*] FO : Changed category block behavior inside categories

This commit is contained in:
Damien Metzger
2013-10-31 12:20:59 +01:00
parent 534421fb6b
commit ff2954b1d2
4 changed files with 66 additions and 61 deletions
@@ -24,8 +24,9 @@
*}
<!-- Block categories module -->
{if $blockCategTree && $blockCategTree.children|@count}
<div id="categories_block_left" class="block">
<p class="title_block">{l s='Categories' mod='blockcategories'}</p>
<h4 class="title_block">{if isset($currentCategory)}{$currentCategory->name|escape}{else}{l s='Categories' mod='blockcategories'}{/if}</h4>
<div class="block_content">
<ul class="tree {if $isDhtml}dhtml{/if}">
{foreach from=$blockCategTree.children item=child name=blockCategTree}
@@ -45,4 +46,5 @@
</script>
</div>
</div>
{/if}
<!-- /Block categories module -->