aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/test_menu/menu_templates/menubar_links.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/test_menu/menu_templates/menubar_links.tpl')
-rw-r--r--plugins/test_menu/menu_templates/menubar_links.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/test_menu/menu_templates/menubar_links.tpl b/plugins/test_menu/menu_templates/menubar_links.tpl
new file mode 100644
index 000000000..87862f1d6
--- /dev/null
+++ b/plugins/test_menu/menu_templates/menubar_links.tpl
@@ -0,0 +1,17 @@
+
+<!-- links menu bar -->
+
+<dt>{$section.NAME|@translate}</dt>
+<dd>
+ <ul>
+ {foreach from=$section.ITEMS 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> \ No newline at end of file