Diff for /loncom/interface/lonsyllabus.pm between versions 1.68 and 1.69

version 1.68, 2008/10/22 08:56:35 version 1.69, 2008/11/07 18:06:19
Line 183  ENDSCRIPT Line 183  ENDSCRIPT
     } else {      } else {
  $r->print('\begin{tabular}{|p{0.45\textwidth}|p{0.45\textwidth}|}\hline');   $r->print('\begin{tabular}{|p{0.45\textwidth}|p{0.45\textwidth}|}\hline');
     }      }
     foreach my $element (sort keys %coursepersonnel) {      my @personnel=sort keys %coursepersonnel;
       my $lastpers=$personnel[$#personnel];
       foreach my $element (@personnel) {
  if ($target ne 'tex') {   if ($target ne 'tex') {
     $r->print(&Apache::lonhtmlcommon::row_title($element));      $r->print(&Apache::lonhtmlcommon::row_title($element));
  } else {   } else {
Line 206  ENDSCRIPT Line 208  ENDSCRIPT
     }      }
  }   }
  if ($target ne 'tex') {   if ($target ne 'tex') {
     $r->print(&Apache::lonhtmlcommon::row_closure());              my $lastclose=$element eq $lastpers?1:0;
               $r->print(&Apache::lonhtmlcommon::row_closure($lastclose));
  } else {   } else {
     $r->print('\\\\ \hline');      $r->print('\\\\ \hline');
  }   }

Removed from v.1.68  
changed lines
  Added in v.1.69


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