piwigo/themes/smartpocket/template/menubar.tpl
flop25 e6806fd13a 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)

git-svn-id: http://piwigo.org/svn/trunk@26362 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-30 19:18:13 +00:00

22 lines
786 B
Smarty

<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>