summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link.html
diff options
context:
space:
mode:
authorivan <ivan>2009-07-08 11:12:46 +0000
committerivan <ivan>2009-07-08 11:12:46 +0000
commit70569273833d91085c6c562865a78a08ddde49a1 (patch)
treeef853bbd0cf52b644d124df7286582d8a2bda3d9 /httemplate/elements/popup_link.html
parent0cc20c3d66e50d640422c2d587d97ddf7768493b (diff)
borg RT menus, RT#1169
Diffstat (limited to 'httemplate/elements/popup_link.html')
-rw-r--r--httemplate/elements/popup_link.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/elements/popup_link.html b/httemplate/elements/popup_link.html
index 20193873f..49b624c84 100644
--- a/httemplate/elements/popup_link.html
+++ b/httemplate/elements/popup_link.html
@@ -22,14 +22,16 @@ Example:
#uncommon opt
'aname' => "target", # link NAME= value, useful for #targets
'target' => '_parent',
+ 'style' => 'css-attribute:value',
} )
</%doc>
% if ($params->{'action'} && $label) {
<A HREF="javascript:void(0);"
- onClick="<% $onclick %>"
- <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
- <% $params->{'target'} ? 'TARGET="'. $params->{'target'}. '"' : '' %>
+ onClick="<% $onclick |n %>"
+ <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' |n %>
+ <% $params->{'target'} ? 'TARGET="'. $params->{'target'}. '"' : '' |n %>
+ <% $params->{'style'} ? 'STYLE="'. $params->{'style'}. '"' : '' |n %>
><% $label %></A>\
% }
<%init>