1 <% include('tr-td-label.html', @_ ) %>
3 <TD <% $style %> <% $colspan %>><% $value %></TD>
7 <% include('hidden.html', %opt ) %>
13 my $style = $opt{'cell_style'}
14 ? ' STYLE="'. $opt{'cell_style'}. '" '
15 : ' STYLE="color:#666666" ';
17 my $colspan = $opt{'colspan'} ? ' COLSPAN="'. $opt{'colspan'}. '" ' : '';
19 my $value = $opt{'formatted_value'} || $opt{'curr_value'} || $opt{'value'};
20 $value = $opt{'prefix'} . $value if defined($opt{'prefix'});
22 unless ( $opt{'noescape'} ) {
23 #compatibility with select-table and friends
24 if ( $opt{'multiple'} ) {
25 $value = [ split(/\s*,\s*/, $value) ] if !ref $value;
26 $value = join('<BR>', map {encode_entities($_)} @$value);
28 $value = encode_entities($value)