piwigo/themes/smartpocket/template/menubar_categories.tpl
flop25 3e9d3ab686 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

git-svn-id: http://piwigo.org/svn/trunk@23713 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-30 14:24:42 +00:00

8 lines
320 B
Smarty

<h3>{'Albums'|@translate}</h3>
<ul data-role="listview">
{foreach from=$block->data.MENU_CATEGORIES item=cat}
<li><a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
{if $cat.count_images > 0}<span class="ui-li-count">{$cat.count_images}</span>{/if}
</li>
{/foreach}
</ul>