mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
abb2f22b2e
- 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
16 lines
486 B
Smarty
16 lines
486 B
Smarty
|
|
<!-- links menu bar -->
|
|
{if $block->get_title() !="" }
|
|
<dt>{$block->get_title()}</dt>
|
|
{/if}
|
|
<dd>
|
|
<ul {if $block->data.icons=='y'}style="padding-left:4px;list-style:none;"{/if}>
|
|
{foreach from=$block->data.LINKS item=link}
|
|
<li>
|
|
{if $block->data.icons=='y'}<img src='{$link.icon}' style="position:relative;top:3px;"/>{/if}
|
|
<a href="{$link.url}"
|
|
{if $link.mode == 0} target = '_blank' {/if}>{$link.label}</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
</dd> |