projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix initial employee add w/password, RT#32456
[freeside.git]
/
httemplate
/
elements
/
tr-td-label.html
diff --git
a/httemplate/elements/tr-td-label.html
b/httemplate/elements/tr-td-label.html
index
78690f1
..
80dddaa
100644
(file)
--- a/
httemplate/elements/tr-td-label.html
+++ b/
httemplate/elements/tr-td-label.html
@@
-2,14
+2,17
@@
Actually <TR> <TH> $label </TH>
Actually <TR> <TH> $label </TH>
+Note that this puts the 'label' argument into the document verbatim, with no
+escaping or localization.
+
</%doc>
</%doc>
-<TR>
+<TR
id="<% $opt{'id'} %>_row" <% $row_style %>
>
<TH ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
<TH ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
- ><% $required %><% $opt{label} %></T
D
>
+ ><% $required %><% $opt{label} %></T
H
>
<%init>
<%init>
@@
-19,9
+22,8
@@
my $style = 'padding-top: 3px';
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $row_style = 'style="visibility:collapse;"' if $opt{'hide_onload'};
+
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
-if ($required) {
- $style .= ';font-weight: bold';
-}
</%init>
</%init>