diff options
-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 72073e348..20193873f 100644 --- a/httemplate/elements/popup_link.html +++ b/httemplate/elements/popup_link.html @@ -18,14 +18,18 @@ Example: 'height' => 336, 'color' => '#ff0000', 'closetext' => 'Go Away', # the value '' removes the link + + #uncommon opt 'aname' => "target", # link NAME= value, useful for #targets + 'target' => '_parent', } ) </%doc> % if ($params->{'action'} && $label) { <A HREF="javascript:void(0);" onClick="<% $onclick %>" - <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %> + <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %> + <% $params->{'target'} ? 'TARGET="'. $params->{'target'}. '"' : '' %> ><% $label %></A>\ % } <%init> |