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

Last change on this file since 23713 was 23713, checked in by flop25, 11 years ago

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

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