summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-07-18 22:30:46 +0000
committerivan <ivan>2008-07-18 22:30:46 +0000
commit79301d5f8db771871df2c679ff8da0e8ed4a5252 (patch)
tree8201dd3024b136aaaae950b3dba35d7fe90b24f9 /httemplate
parent3f9734601a69a1e868d9b02598eb22c8b10929fa (diff)
add target param, i thought this was needed for something...
Diffstat (limited to 'httemplate')
-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 72073e3..2019387 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>