Diff for /loncom/publisher/londiff.pm between versions 1.34 and 1.35

version 1.34, 2011/12/23 14:54:26 version 1.35, 2012/04/18 20:14:35
Line 141  sub handler { Line 141  sub handler {
       ' <span class="LC_filename">'.$efn.'</span>');        ' <span class="LC_filename">'.$efn.'</span>');
         
     if (($cuname ne $env{'user.name'}) || ($cudom ne $env{'user.domain'})) {      if (($cuname ne $env{'user.name'}) || ($cudom ne $env{'user.domain'})) {
         $r->print('<p><span class="LC_info">'          my $nameshown = &Apache::loncommon::plainname($cuname,$cudom).
                  .&mt('Co-Author [_1]'                          ' ('.$cuname.':'.$cudom.')';
                      ,&Apache::loncommon::plainname($cuname,$cudom)          $r->print('<p><span class="LC_info">');
                      .' ('.$cuname.':'.$cudom.')')          if ($env{'request.role'} =~ /^ca\./) {
                 .'</span></p>'              $r->print(&mt('Co-Author in Construction Space for: [_1]',$nameshown));
         );          } elsif ($env{'request.role'} =~ /^aa\./) {
               $r->print(&mt('Assistant Author in Construction Space for: [_1]',$nameshown));
           } else {
               $r->print(&mt('Resource Author is: [_1]',$nameshown));
           }
           $r->print('</span></p>');
     }      }
   
   
     if (&Apache::loncommon::fileembstyle(($efn=~/\.(\w+)$/)) eq 'ssi'      if (&Apache::loncommon::fileembstyle(($efn=~/\.(\w+)$/)) eq 'ssi'
  || $efn =~ /\.meta$/) {   || $efn =~ /\.meta$/) {
  $r->print('<p><span class="LC_diff_removed">');   $r->print('<p><span class="LC_diff_removed">');

Removed from v.1.34  
changed lines
  Added in v.1.35


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