aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/menubar.tpl
blob: dded4611f9ad9d983f9234d2c7755340f852829c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<ul data-role="listview">
  <li data-icon="delete"><a href="#menubar" data-rel="close">{'Close'|@translate}</a></li>
</ul>
{if !empty($blocks) }
<div data-role="collapsible-set" data-inset="false">
	{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}
</div>
{/if}
<br>
<ul data-role="listview">
  <li data-role="list-divider">{'View in'|@translate}</li>
  <li><a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a></li>
</ul>