diff options
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/month_calendar.tpl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl index c3af37818..9fbd8a1fa 100644 --- a/themes/default/template/month_calendar.tpl +++ b/themes/default/template/month_calendar.tpl @@ -11,13 +11,11 @@ {else} {foreach from=$bar.items item=item} - <span class="calItem{if !isset($item.URL)}Empty{/if}"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if}> - {if isset($item.URL)} - <a href="{$item.URL}">{$item.LABEL}</a> + {if !isset($item.URL)} + <span class="calItem">{$item.LABEL}</span> {else} - {$item.LABEL} + <a class="calItem"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if} href="{$item.URL}">{$item.LABEL}</a> {/if} - </span> {/foreach} {/if} </div> |