Diff for /loncom/interface/loncreatecourse.pm between versions 1.128 and 1.130

version 1.128, 2009/10/02 18:31:36 version 1.130, 2009/10/29 16:18:02
Line 787  sub create_course { Line 787  sub create_course {
  # Make the requested user a course coordinator or group coordinator   # Make the requested user a course coordinator or group coordinator
         #          #
  if (($ccdomain) && ($ccuname)) {   if (($ccdomain) && ($ccuname)) {
               my $ccrole = 'cc';
               if ($crstype eq 'Community') {
                   $ccrole = 'co';
               }    
     $r->print(&mt('Assigning role of '.$crstype.' Coordinator to [_1]:',      $r->print(&mt('Assigning role of '.$crstype.' Coordinator to [_1]:',
  ,'<i>'.$ccuname.':'.$ccdomain.'</i>')   ,'<i>'.$ccuname.':'.$ccdomain.'</i>')
       .&Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,        .&Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
   'cc','','','','','createcourse').'<p>');    $ccrole,'','','','','createcourse').'<p>');
  }   }
  if ($env{'form.setkeys'}) {   if ($env{'form.setkeys'}) {
     $r->print(      $r->print(
Line 986  sub print_creation_logs { Line 990  sub print_creation_logs {
     if ($curr{'type'} eq 'any') {       if ($curr{'type'} eq 'any') { 
         $tablehdr .= '<th>'.&mt('Course Type').'</th>';          $tablehdr .= '<th>'.&mt('Course Type').'</th>';
     }      }
     if ($curr{'context'} eq 'any')      if ($curr{'context'} eq 'any') {
         $tablehdr .= '<th>'.&mt('Creation Context').'</th>';          $tablehdr .= '<th>'.&mt('Creation Context').'</th>';
     }      }
     $tablehdr .= &Apache::loncommon::end_data_table_header_row();      $tablehdr .= &Apache::loncommon::end_data_table_header_row();

Removed from v.1.128  
changed lines
  Added in v.1.130


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