aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/menubar_links.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar_links.tpl15
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>
+