projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix field order in docs for new import formats, RT#77747, RT#76992
[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
77c0484
..
1d96cf3
100644
(file)
--- a/
httemplate/elements/tr-td-label.html
+++ b/
httemplate/elements/tr-td-label.html
@@
-1,10
+1,18
@@
-<TR>
+<%doc>
+
+Actually <TR> <TH> $label </TH>
- <TD ALIGN="right" VALIGN="top" STYLE="<% $style %>" ID="<% $opt{label_id} || $opt{id}. '_label0' %>">
+Note that this puts the 'label' argument into the document verbatim, with no
+escaping or localization.
- <% $opt{label} %>
+</%doc>
+<TR>
- </TD>
+ <TH ALIGN = "right"
+ VALIGN = "<% $opt{'valign'} || 'top' %>"
+ STYLE = "<% $style %>"
+ ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"
+ ><% $required %><% $opt{label} %></TH>
<%init>
<%init>
@@
-14,4
+22,6
@@
my $style = 'padding-top: 3px';
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
$style .= '; '. $opt{'cell_style'}
if $opt{'cell_style'};
+my $required = $opt{'required'} ? '<font color="#ff0000">*</font> ' : '';
+
</%init>
</%init>