aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-22 22:06:17 +0000
committerrub <rub@piwigo.org>2007-01-22 22:06:17 +0000
commit767064c9fe94e28acb77a1123c2853281d13f2d1 (patch)
treeb55e77f45d947323d7e05f9efa5d865ba78eccf1 /template
parentee5dbaefbbf1d3d42e33bf429b39450ca9d91a34 (diff)
Issue 0000624: Enhanced Links Menu
Add name and features options when new_window is true. (To display a popup for example) git-svn-id: http://piwigo.org/svn/trunk@1743 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl
index 37dcd6995..85b77cefe 100644
--- a/template/yoga/menubar.tpl
+++ b/template/yoga/menubar.tpl
@@ -9,7 +9,10 @@
<li>
<a href="{links.link.URL}"
<!-- BEGIN new_window -->
- onclick="window.open(this.href, ''); return false;"
+ onclick="window.open(this.href,
+ '{links.link.new_window.name}',
+ '{links.link.new_window.features}'
+ ); return false;"
<!-- END new_window -->
>{links.link.LABEL}
</a>