aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/tags.tpl
blob: c0c9f6e5a0466c90fc38deb1adf4778d72382358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{include file='infos_errors.tpl'}
<div data-role="content">{if isset($tags)}
<ul data-role="listview" data-inset="true" data-filter="true">
	<li data-role="list-divider">{'Tags'|@translate}</li>
  {foreach from=$tags item=tag}
	<li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
	{/foreach}
</ul>
{elseif isset($letters)}
<ul data-role="listview" data-inset="true">
	{foreach from=$letters item=letter}{foreach from=$letter.tags item=tag}
	<li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
	{/foreach}{/foreach}
</ul>{/if}
</div>