summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link.html
diff options
context:
space:
mode:
authorivan <ivan>2008-03-31 21:45:00 +0000
committerivan <ivan>2008-03-31 21:45:00 +0000
commit4026c3c89e0c73b261e071508b863479aaf12628 (patch)
treee33b3d59d56074d5eda4f0e410300beffc751f46 /httemplate/elements/popup_link.html
parentbf59eef2c56025c005c17afd73fc8b23ea68d7ec (diff)
move config edit popup to elements/popup_link.html
Diffstat (limited to 'httemplate/elements/popup_link.html')
-rw-r--r--httemplate/elements/popup_link.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/elements/popup_link.html b/httemplate/elements/popup_link.html
index 0915bfa68..a444ad125 100644
--- a/httemplate/elements/popup_link.html
+++ b/httemplate/elements/popup_link.html
@@ -18,11 +18,15 @@ Example:
'width' => '540',
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
+ 'aname' => "target", # link NAME= value, useful for #targets
} )
</%doc>
% if ($params->{'action'} && $label) {
-<A HREF="javascript:void(0);" onClick="<% $onclick %>"><% $label %></A>\
+<A HREF="javascript:void(0);"
+ onClick="<% $onclick %>"
+ <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
+><% $label %></A>\
% }
<%init>