projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
appointment drag and drop, RT#34237
[freeside.git]
/
httemplate
/
elements
/
popup_link.html
diff --git
a/httemplate/elements/popup_link.html
b/httemplate/elements/popup_link.html
index
49b624c
..
2b6b187
100644
(file)
--- a/
httemplate/elements/popup_link.html
+++ b/
httemplate/elements/popup_link.html
@@
-2,16
+2,16
@@
Example:
Example:
- include('/elements/init_overlib.html')
+ <& /elements/init_overlib.html &>
-
include( '
/elements/popup_link.html', { #hashref or a list, either way is fine
+
<&
/elements/popup_link.html', { #hashref or a list, either way is fine
#required
'action' => 'content.html', # uri for content of popup
'label' => 'click me', # text of <A> tag
#strongly recommended
#required
'action' => 'content.html', # uri for content of popup
'label' => 'click me', # text of <A> tag
#strongly recommended
- 'actionlabel
=> 'You clicked', # popup title
+ 'actionlabel
'
=> 'You clicked', # popup title
#opt
'width' => 540,
#opt
'width' => 540,
@@
-23,7
+23,8
@@
Example:
'aname' => "target", # link NAME= value, useful for #targets
'target' => '_parent',
'style' => 'css-attribute:value',
'aname' => "target", # link NAME= value, useful for #targets
'target' => '_parent',
'style' => 'css-attribute:value',
- } )
+ }
+ &>
</%doc>
% if ($params->{'action'} && $label) {
</%doc>
% if ($params->{'action'} && $label) {
@@
-46,6
+47,7
@@
if (ref($_[0]) eq 'HASH') {
}
my $label = $params->{'label'};
}
my $label = $params->{'label'};
+$label =~ s/ / /g;
my $onclick = include('/elements/popup_link_onclick.html', $params);
</%init>
my $onclick = include('/elements/popup_link_onclick.html', $params);
</%init>