25 lines
769 B
Smarty
25 lines
769 B
Smarty
<script type="text/javascript" src="{$js_dir}tools/treeManagement.js"></script>
|
|
|
|
<!-- Block categories module -->
|
|
<div id="categories_block_left" class="block">
|
|
<h4>{l s='Categories' mod='blockcategories'}</h4>
|
|
<div class="block_content">
|
|
<ul class="tree {if $isDhtml}dhtml{/if}">
|
|
{foreach from=$blockCategTree.children item=child name=blockCategTree}
|
|
{if $smarty.foreach.blockCategTree.last}
|
|
{include file=$branche_tpl_path node=$child last='true'}
|
|
{else}
|
|
{include file=$branche_tpl_path node=$child}
|
|
{/if}
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
// <![CDATA[
|
|
// we hide the tree only if JavaScript is activated
|
|
$('div#categories_block_left ul.dhtml').hide();
|
|
// ]]>
|
|
</script>
|
|
<!-- /Block categories module -->
|