aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/menubar_tags.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-09 20:17:00 +0000
committerplegall <plg@piwigo.org>2010-03-09 20:17:00 +0000
commitc9dfb3a41f0341531594de215a25d7cb0091ca56 (patch)
tree3d7ca60026e80650cb47aaadabb38646d5213438 /template/default/menubar_tags.tpl
parentd63e90c5d022d5b88b66c33972533bab20edcec5 (diff)
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives) git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/menubar_tags.tpl')
-rw-r--r--template/default/menubar_tags.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/template/default/menubar_tags.tpl b/template/default/menubar_tags.tpl
new file mode 100644
index 000000000..220175008
--- /dev/null
+++ b/template/default/menubar_tags.tpl
@@ -0,0 +1,17 @@
+<dt>{'Related tags'|@translate}</dt>
+<dd>
+ <div id="menuTagCloud">
+ {foreach from=$block->data item=tag}
+ <span>
+ {if !empty($tag.U_ADD) }
+ <a href="{$tag.U_ADD}"
+ title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
+ rel="nofollow">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+">
+ </a>
+ {/if}
+ <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>
+ {/foreach}
+ </div>
+</dd>
+