projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f97346
)
add target param, i thought this was needed for something...
author
ivan
<ivan>
Fri, 18 Jul 2008 22:30:46 +0000
(22:30 +0000)
committer
ivan
<ivan>
Fri, 18 Jul 2008 22:30:46 +0000
(22:30 +0000)
httemplate/elements/popup_link.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/popup_link.html
b/httemplate/elements/popup_link.html
index
72073e3
..
2019387
100644
(file)
--- 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
'height' => 336,
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
+
+ #uncommon opt
'aname' => "target", # link NAME= value, useful for #targets
'aname' => "target", # link NAME= value, useful for #targets
+ 'target' => '_parent',
} )
</%doc>
% if ($params->{'action'} && $label) {
<A HREF="javascript:void(0);"
onClick="<% $onclick %>"
} )
</%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>
><% $label %></A>\
% }
<%init>