Ignore:
Timestamp:
Apr 10, 2010, 11:47:19 AM (14 years ago)
Author:
rvelices
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/menubar_tags.tpl

    r5722 r5752  
    44                {foreach from=$block->data item=tag}
    55                <span>
    6                         <a class="tagLevel{$tag.level}" href="{$tag.U_ADD}"
     6                        <a class="tagLevel{$tag.level}"
     7                        {if isset($tag.U_ADD)}
     8                                href="{$tag.U_ADD}"
    79                                title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}"
    8                                 rel="nofollow">
    9                                 +{$tag.name}</a></span>
     10                                rel="nofollow">+
     11                        {else}
     12                                href="{$tag.URL}"
     13                                title="{'See elements linked to this tag only'|@translate}">
     14                        {/if}
     15                                {$tag.name}</a></span>
    1016{* 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 *}
    1117                {/foreach}
Note: See TracChangeset for help on using the changeset viewer.