aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-17 22:27:10 +0000
committerrub <rub@piwigo.org>2007-01-17 22:27:10 +0000
commit94755e7bd764e2e4ccfa6cbc146b324ac27dc116 (patch)
treedd0844ccd0eaaf4cd1a50327f7abfb4d9daadd4a /template/yoga
parent5d9a865fe1931869d3d9edb19f64d66783a0f4f4 (diff)
Issue 0000624: Enhanced Links Menu
Add optional parameter values: o Allow to open url of links menu on new window. o Dynamic visibility of links menu It's a proposition. git-svn-id: http://piwigo.org/svn/trunk@1728 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl
index 4a2425ecd..37dcd6995 100644
--- a/template/yoga/menubar.tpl
+++ b/template/yoga/menubar.tpl
@@ -6,7 +6,14 @@
<dd>
<ul>
<!-- BEGIN link -->
- <li><a href="{links.link.URL}">{links.link.LABEL}</a></li>
+ <li>
+ <a href="{links.link.URL}"
+ <!-- BEGIN new_window -->
+ onclick="window.open(this.href, ''); return false;"
+ <!-- END new_window -->
+ >{links.link.LABEL}
+ </a>
+ </li>
<!-- END link -->
</ul>
</dd>