From 8d1db9572f26a06c9e9c4f4bceb50cbfbbde89b1 Mon Sep 17 00:00:00 2001 From: onli Date: Thu, 7 Feb 2013 19:24:22 +0100 Subject: [PATCH] output categories as nested lists, following https://gist.github.com/yellowled/4731544 --- include/admin/tpl/category.inc.tpl | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/include/admin/tpl/category.inc.tpl b/include/admin/tpl/category.inc.tpl index 5ed1b32a..16944c31 100644 --- a/include/admin/tpl/category.inc.tpl +++ b/include/admin/tpl/category.inc.tpl @@ -141,8 +141,25 @@ {if is_array($viewCats)} - {/foreach} + {for $i=1 to $priorDepth} + + {/for} {else} {$CONST.NO_CATEGORIES}