diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-08-28 00:32:39 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-08-28 00:32:39 +0000 |
commit | abb2f22b2e96a89a44ad9d36db3bf612c6f88b9f (patch) | |
tree | ca36d7b1bd7035f9952c4f564406eaa87c954cdb /template/yoga/menubar_links.tpl | |
parent | 7f956e71b91f32ff6ca87ea6a0f56cc0f02c7005 (diff) |
- 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
Diffstat (limited to 'template/yoga/menubar_links.tpl')
-rw-r--r-- | template/yoga/menubar_links.tpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/template/yoga/menubar_links.tpl b/template/yoga/menubar_links.tpl new file mode 100644 index 000000000..9de94ff7d --- /dev/null +++ b/template/yoga/menubar_links.tpl @@ -0,0 +1,15 @@ +<dt>{$block->get_title()|@translate}</dt> +<dd> + <ul> + {foreach from=$block->data item=link} + <li> + <a href="{$link.URL}" + {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if} + > + {$link.LABEL} + </a> + </li> + {/foreach} + </ul> +</dd> + |