source: extensions/stripped/template/menubar_tags.tpl

Last change on this file was 32996, checked in by plg, 4 months ago

compatibility PHP 8 and Piwigo 14, by Linty

File size: 719 bytes
Line 
1<dt>{'Related tags'|@translate}</dt>
2<dd>
3        <div id="menuTagCloud">
4                {foreach from=$block->data item=tag}
5                <span>{strip}
6                        <a class="tagLevel{if isset($tag.level)}{$tag.level}{/if}" href=
7                        {if isset($tag.U_ADD)}
8                                "{$tag.U_ADD}" title="{$tag.counter|translate_dec:'%d photo is also linked to current tags':'%d photos are also linked to current tags'}" rel="nofollow">+
9                        {else}
10                                "{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
11                        {/if}
12                                {$tag.name}</a></span>{/strip}
13{* 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 *}
14                {/foreach}
15        </div>
16</dd>
Note: See TracBrowser for help on using the repository browser.