projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move config edit popup to elements/popup_link.html
[freeside.git]
/
httemplate
/
elements
/
popup_link.html
diff --git
a/httemplate/elements/popup_link.html
b/httemplate/elements/popup_link.html
index
0915bfa
..
a444ad1
100644
(file)
--- a/
httemplate/elements/popup_link.html
+++ b/
httemplate/elements/popup_link.html
@@
-18,11
+18,15
@@
Example:
'width' => '540',
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
'width' => '540',
'color' => '#ff0000',
'closetext' => 'Go Away', # the value '' removes the link
+ 'aname' => "target", # link NAME= value, useful for #targets
} )
</%doc>
% if ($params->{'action'} && $label) {
} )
</%doc>
% if ($params->{'action'} && $label) {
-<A HREF="javascript:void(0);" onClick="<% $onclick %>"><% $label %></A>\
+<A HREF="javascript:void(0);"
+ onClick="<% $onclick %>"
+ <% $params->{'aname'} ? 'NAME="'. $params->{'aname'}. '"' : '' %>
+><% $label %></A>\
% }
<%init>
% }
<%init>