Diff for /loncom/interface/lontemplate.pm between versions 1.50 and 1.51

version 1.50, 2013/05/10 23:46:05 version 1.51, 2013/09/22 15:56:24
Line 170  sub print_template_fields { Line 170  sub print_template_fields {
                 unless ($allowed) {                  unless ($allowed) {
                     next if ($noshow{$field});                      next if ($noshow{$field});
                 }                  }
  my $gateway = Apache::lonhtmlgateway->new($target);                  my $gateway = Apache::lonhtmlgateway->new($target);
         $message = &Encode::decode('utf8', $message);                  $message = &Encode::decode('utf8', $message);
         $message = $gateway->process_outgoing_html($message, $legacy);                  $message = $gateway->process_outgoing_html($message, $legacy);
         if ((%custom_handlers) && ($custom_handlers{$field})) {                  if ((%custom_handlers) && ($custom_handlers{$field})) {
  $custom_handlers{$field}->($r, $field, $message, $group, $data_ref, $fields_ref, $target, $allowed, $display);                      $custom_handlers{$field}->($r, $field, $message, $group, $data_ref, $fields_ref, $target, $allowed, $display);
  } else {   } else {
  if (($data{$field}=~/\w/) || ($allowed)) {   if (($data{$field}=~/\w/) || ($allowed)) {
  if ($target ne 'tex') {   if ($target ne 'tex') {

Removed from v.1.50  
changed lines
  Added in v.1.51


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>