aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar.tpl
blob: 19b6b5481eff206fd3814ee0f8f1b4975b54642f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{if !empty($blocks) }
<ul data-role="listview">
  <li data-icon="delete"><a href="#menubar" data-rel="close">Close</a></li>
</ul>
	{foreach from=$blocks key=id item=block}
		<div data-role="collapsible" data-inset="false" data-icon="false">
		{if not empty($block->template)}
		{include file=$block->template assign=the_block|@get_extent:$id}
    {$the_block|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
		{else}
		{$block->raw_content|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
		{/if}
    </div>
	{/foreach}
{/if}