1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/smartpocket/template/menubar.tpl

23 lines
786 B
Smarty
Raw Normal View History

2014-07-06 13:21:10 +02:00
<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>