piwigo/themes/default/template/menubar.tpl
Zaphod b1041fb217 feature 2588: template modification for v2.4
-> new class .switchBox for all boxes (sortOrder, derivative, etc...)
-> new classes to help layout in switchBoxes:
    - .switchCheck for the check character
    - .switchSelected for the selected option
    - .switchUnselected for all other options
-> new menubar.tpl with empty div #menuSwitcher

git-svn-id: http://piwigo.org/svn/trunk@13729 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-25 19:20:13 +00:00

13 lines
No EOL
287 B
Smarty

{if !empty($blocks) }
<div id="menubar">
{foreach from=$blocks key=id item=block}
<dl id="{$id}">
{if not empty($block->template)}
{include file=$block->template|@get_extent:$id }
{else}
{$block->raw_content}
{/if}
</dl>
{/foreach}
</div><div id="menuSwitcher"></div>
{/if}