diff options
author | patdenice <patdenice@piwigo.org> | 2009-03-11 17:25:26 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2009-03-11 17:25:26 +0000 |
commit | 36d0da30d307cd821413ccb8ea1ccc68de1d8538 (patch) | |
tree | e94b6f52d4657cecc5f7340526a467f095b684a3 /template/yoga/thumbnails.tpl | |
parent | 1516e8833f3a73b1dc4b73e7fa7d3c36bc25c0b4 (diff) |
Move get_icon function.
git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/thumbnails.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ </span> <span class="thumbLegend"> {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} - {$thumbnail.ICON_TS} + {if !empty($thumbnail.icon_ts)} + <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)" /> + {/if} {if isset($thumbnail.NB_COMMENTS)} <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> <br> |