mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
Move get_icon function.
git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
<div class="description">
|
||||
<h3>
|
||||
<a href="{$cat.URL}">{$cat.NAME}</a>
|
||||
{$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}
|
||||
</h3>
|
||||
<div class="text">
|
||||
{if isset($cat.INFO_DATES) }
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user