aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar_tags.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/smartpocket/template/menubar_tags.tpl')
-rw-r--r--themes/smartpocket/template/menubar_tags.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/smartpocket/template/menubar_tags.tpl b/themes/smartpocket/template/menubar_tags.tpl
new file mode 100644
index 000000000..3f9680054
--- /dev/null
+++ b/themes/smartpocket/template/menubar_tags.tpl
@@ -0,0 +1,12 @@
+<h3>{'Related tags'|@translate}</h3>
+<ul data-role="listview">
+ {foreach from=$block->data item=tag}
+ <li><a class="tagLevel{$tag.level}" href=
+ {if isset($tag.U_ADD)}
+ "{$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">+
+ {else}
+ "{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
+ {/if}
+ {$tag.name}</a></li>
+ {/foreach}
+</ul>