[Webbinder-commits] root/templates tiki-browse_categories.tpl, 1.3, 1.4
Brought to you by:
jasondiceman,
sylvieg
|
From: Sylvie G. <sy...@us...> - 2006-06-14 21:08:26
|
Update of /cvsroot/webbinder/root/templates In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5549/templates Modified Files: tiki-browse_categories.tpl Log Message: can give a list of parentIds to category browse: parentId[]=1&parentId[]=2 Index: tiki-browse_categories.tpl =================================================================== RCS file: /cvsroot/webbinder/root/templates/tiki-browse_categories.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tiki-browse_categories.tpl 13 Oct 2005 05:56:49 -0000 1.3 --- tiki-browse_categories.tpl 14 Jun 2006 21:08:19 -0000 1.4 *************** *** 95,98 **** --- 95,99 ---- <div class="category_path"> + {if $path} <a href="tiki-browse_categories.php?parentId=0&deep={$deep}&type={$type|escape}" class="categpath">{tr}Top{/tr}</a> {section name=x loop=$path} *************** *** 100,103 **** --- 101,113 ---- <a class="categpath" href="tiki-browse_categories.php?parentId={$path[x].categId}&deep={$deep}&type={$type|escape}">{$path[x].name}</a> {/section} + {elseif $paths} + {section name=x loop=$paths} + {section name=y loop=$paths[x]} + :: + <a class="categpath" href="tiki-browse_categories.php?parentId={$paths[x][y].categId}&deep={$deep}&type={$type|escape}">{$paths[x][y].name}</a> + {/section} + <br /> + {/section} + {/if} </div> {* hide .. |