diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/popup_link.html | 6 |
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> |