Diff for /loncom/interface/lonmsgdisplay.pm between versions 1.138 and 1.139.2.1

version 1.138, 2009/11/04 18:30:17 version 1.139.2.1, 2010/01/06 18:25:38
Line 1845  sub disfacetoface { Line 1845  sub disfacetoface {
     foreach my $key (sort(keys(%records))) {      foreach my $key (sort(keys(%records))) {
         my %content=&Apache::lonmsg::unpackagemsg($records{$key});          my %content=&Apache::lonmsg::unpackagemsg($records{$key});
         next if ($content{'senderdomain'} eq '');          next if ($content{'senderdomain'} eq '');
  &Apache::lonfeedback::newline_to_br(\$content{'message'});      if (!&Apache::lonfeedback::contains_block_html($content{'message'})) {
    &Apache::lonfeedback::newline_to_br(\$content{'message'});
    }
         if ($content{'subject'}=~/^Record/) {          if ($content{'subject'}=~/^Record/) {
     $result.='<h3>'.&mt('Record').'</h3>';      $result.='<h3>'.&mt('Record').'</h3>';
         } elsif ($content{'subject'}=~/^Broadcast/) {          } elsif ($content{'subject'}=~/^Broadcast/) {
Line 2840  ENDJS Line 2842  ENDJS
 # =========================================================== Show the citation  # =========================================================== Show the citation
   
 sub displayresource {  sub displayresource {
       if (&Apache::loncommon::needs_gci_custom()) {
           return '';
       }
     my %content=@_;      my %content=@_;
 #  #
 # If the recipient is in the same course that the message was sent from and  # If the recipient is in the same course that the message was sent from and

Removed from v.1.138  
changed lines
  Added in v.1.139.2.1


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