From 79301d5f8db771871df2c679ff8da0e8ed4a5252 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 18 Jul 2008 22:30:46 +0000 Subject: [PATCH] add target param, i thought this was needed for something... --- httemplate/elements/popup_link.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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', } ) % if ($params->{'action'} && $label) { {'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %> + <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %> + <% $params->{'target'} ? 'TARGET="'. $params->{'target'}. '"' : '' %> ><% $label %>\ % } <%init> -- 2.11.0