feqture 1583 : show related tags block also when browsing non tag sections

git-svn-id: http://piwigo.org/svn/trunk@5752 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2010-04-10 09:47:19 +00:00
commit b7e2107181
2 changed files with 51 additions and 23 deletions

View file

@ -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>