aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/smartpocket/template/menubar_categories.tpl')
-rw-r--r--themes/smartpocket/template/menubar_categories.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/smartpocket/template/menubar_categories.tpl b/themes/smartpocket/template/menubar_categories.tpl
new file mode 100644
index 000000000..1fc4332f6
--- /dev/null
+++ b/themes/smartpocket/template/menubar_categories.tpl
@@ -0,0 +1,8 @@
+<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>