piwigo/template/yoga/menubar.tpl
rvelices abb2f22b2e - based on test_menu by grum (thanks to you) - integration of dynamic menu bar to pwg
- the menubar is composed now of dynamic blocks that can be ordered/hidden
- plugins can add their own blocks 


git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-28 00:32:39 +00:00

15 lines
No EOL
330 B
Smarty

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