source: trunk/template/yoga/menubar_tags.tpl @ 5021

Last change on this file since 5021 was 5021, checked in by nikrou, 14 years ago

Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

  • Property svn:eol-style set to LF
File size: 733 bytes
Line 
1<dt>{'Related tags'|@translate}</dt>
2<dd>
3        <div id="menuTagCloud">
4                {foreach from=$block->data item=tag}
5                <span>
6                        {if !empty($tag.U_ADD) }
7                        <a href="{$tag.U_ADD}"
8                                title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
9                                rel="nofollow">
10                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+">
11                        </a>
12                        {/if}
13                        <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See images linked to this tag only'|@translate}">{$tag.name}</a>{* there should be no space between end of a and span elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}</span>
14                {/foreach}
15        </div>
16</dd>
17
Note: See TracBrowser for help on using the repository browser.