source: trunk/themes/smartpocket/template/tags.tpl @ 23713

Last change on this file since 23713 was 23713, checked in by flop25, 11 years ago

bug:2848
jquery.mobile updated
photoswipe updated
menubar is now a right panel, with almost all the usual links
added comment, search, picture, about and tags pages

ToDo:
*bug correction of the link added to the photoswipe toolbar (link doesn't triggered)
*display the calculated size on the picture page
limitations: no calendar view

File size: 794 bytes
Line 
1{include file='infos_errors.tpl'}
2<div data-role="content">{if isset($tags)}
3<ul data-role="listview" data-inset="true">
4        <li data-role="list-divider">{'Tags'|@translate}</li>
5  {foreach from=$tags item=tag}
6        <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>
7        {/foreach}
8</ul>
9{elseif isset($letters)}
10<ul data-role="listview" data-inset="true">
11        {foreach from=$letters item=letter}{foreach from=$letter.tags item=tag}
12        <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>
13        {/foreach}{/foreach}
14</ul>{/if}
15</div>
Note: See TracBrowser for help on using the repository browser.