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