[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/News/templates/ -> browsecat.tpl (source)

   1  {if $count > 0}
   2  <ul class="list1">
   3  {foreach from=$cats item=node}
   4  {if $node.depth > $node.prevdepth}
   5  {repeat string="<ul>" times=$node.depth-$node.prevdepth}
   6  {elseif $node.depth < $node.prevdepth}
   7  {repeat string="</li></ul>" times=$node.prevdepth-$node.depth}
   8  </li>
   9  {elseif $node.index > 0}</li>
  10  {/if}
  11  <li class="newscategory">
  12  {if $node.count > 0}
  13      <a href="{$node.url}">{$node.news_category_name}</a> ({$node.count}){else}<span>{$node.news_category_name} (0)</span>{/if}
  14  {/foreach}
  15  {repeat string="</li></ul>" times=$node.depth-1}</li>
  16  </ul>
  17  {/if}


Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7