aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/menubar_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/menubar_categories.tpl')
-rw-r--r--template/yoga/menubar_categories.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/yoga/menubar_categories.tpl b/template/yoga/menubar_categories.tpl
index d650c49b9..0dbb22b77 100644
--- a/template/yoga/menubar_categories.tpl
+++ b/template/yoga/menubar_categories.tpl
@@ -21,7 +21,9 @@
{if $cat.count_images > 0}
<span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
{/if}
- {$cat.ICON_TS}
+ {if !empty($cat.icon_ts)}
+ <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)" />
+ {/if}
{assign var='ref_level' value=$cat.LEVEL}
{/foreach}
{'</li></ul>'|@str_repeat:$ref_level}