diff options
author | ivan <ivan> | 2008-07-18 22:30:46 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-07-18 22:30:46 +0000 |
commit | 79301d5f8db771871df2c679ff8da0e8ed4a5252 (patch) | |
tree | 8201dd3024b136aaaae950b3dba35d7fe90b24f9 /httemplate/elements | |
parent | 3f9734601a69a1e868d9b02598eb22c8b10929fa (diff) |
add target param, i thought this was needed for something...
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 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> |