source: trunk/themes/smartpocket/template/menubar.tpl @ 26362

Last change on this file since 26362 was 26362, checked in by flop25, 10 years ago

smartpocket :
fix logout/login msg
set menu elements as collapsible and as an accordion too
top menu elements blue
picture centered
"Thumbnails" text hidden (too big)

File size: 786 bytes
Line 
1<ul data-role="listview">
2  <li data-icon="delete"><a href="#menubar" data-rel="close">{'Close'|@translate}</a></li>
3</ul>
4{if !empty($blocks) }
5<div data-role="collapsible-set" data-inset="false">
6        {foreach from=$blocks key=id item=block}
7                <div data-role="collapsible" data-inset="false" data-icon="false">
8                {if not empty($block->template)}
9                {include file=$block->template assign=the_block|@get_extent:$id}
10    {$the_block|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
11                {else}
12                {$block->raw_content|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
13                {/if}
14    </div>
15        {/foreach}
16</div>
17{/if}
18<br>
19<ul data-role="listview">
20  <li data-role="list-divider">{'View in'|@translate}</li>
21  <li><a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a></li>
22</ul>
Note: See TracBrowser for help on using the repository browser.