aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/menubar_tags.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/menubar_tags.tpl')
-rw-r--r--themes/default/template/menubar_tags.tpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/themes/default/template/menubar_tags.tpl b/themes/default/template/menubar_tags.tpl
index ad1d752da..f357efba4 100644
--- a/themes/default/template/menubar_tags.tpl
+++ b/themes/default/template/menubar_tags.tpl
@@ -3,10 +3,16 @@
<div id="menuTagCloud">
{foreach from=$block->data item=tag}
<span>
- <a class="tagLevel{$tag.level}" href="{$tag.U_ADD}"
+ <a class="tagLevel{$tag.level}"
+ {if isset($tag.U_ADD)}
+ href="{$tag.U_ADD}"
title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}"
- rel="nofollow">
- +{$tag.name}</a></span>
+ rel="nofollow">+
+ {else}
+ href="{$tag.URL}"
+ title="{'See elements linked to this tag only'|@translate}">
+ {/if}
+ {$tag.name}</a></span>
{* ABOVE there should be no space between text, </a> and </span> elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}
{/foreach}
</div>