From 36d0da30d307cd821413ccb8ea1ccc68de1d8538 Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 11 Mar 2009 17:25:26 +0000 Subject: Move get_icon function. git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/mainpage_categories.tpl | 4 +++- template/yoga/menubar_categories.tpl | 4 +++- template/yoga/thumbnails.tpl | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl index e1cc953ff..6b96167e5 100644 --- a/template/yoga/mainpage_categories.tpl +++ b/template/yoga/mainpage_categories.tpl @@ -12,7 +12,9 @@

{$cat.NAME} - {$cat.ICON_TS} + {if !empty($cat.icon_ts)} + (!) + {/if}

{if isset($cat.INFO_DATES) } 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} [{$cat.count_images}] {/if} - {$cat.ICON_TS} + {if !empty($cat.icon_ts)} + (!) + {/if} {assign var='ref_level' value=$cat.LEVEL} {/foreach} {''|@str_repeat:$ref_level} diff --git a/template/yoga/thumbnails.tpl b/template/yoga/thumbnails.tpl index 01068dee8..31d6cb890 100644 --- a/template/yoga/thumbnails.tpl +++ b/template/yoga/thumbnails.tpl @@ -12,7 +12,9 @@ {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} - {$thumbnail.ICON_TS} + {if !empty($thumbnail.icon_ts)} + (!) + {/if} {if isset($thumbnail.NB_COMMENTS)}
-- cgit v1.2.3