Diff for /loncom/interface/courseprefs.pm between versions 1.8.2.5 and 1.13

version 1.8.2.5, 2010/01/18 20:18:11 version 1.13, 2009/11/24 13:49:28
Line 1298  sub print_courseinfo { Line 1298  sub print_courseinfo {
         }          }
     }      }
     if (!defined($categoriesform)) {      if (!defined($categoriesform)) {
         $categoriesform = &mt('No categories defined in this domain.');          $categoriesform = &mt('No categories defined for this domain');
     }      }
   
     my ($can_toggle_cat,$can_categorize) = &can_modify_catsettings($cdom,$crstype);      my ($can_toggle_cat,$can_categorize) = &can_modify_catsettings($cdom,$crstype);
Line 1756  sub print_feedback { Line 1756  sub print_feedback {
     my %sections = &Apache::loncommon::get_sections($cdom,$cnum);      my %sections = &Apache::loncommon::get_sections($cdom,$cnum);
     my @sections = sort( { $a <=> $b } keys(%sections));      my @sections = sort( { $a <=> $b } keys(%sections));
     my %lt = &Apache::lonlocal::texthash (      my %lt = &Apache::lonlocal::texthash (
                                            currone  => 'Current recipient:',                                             currone => 'Current recipient:',
                                            currmult => 'Current recipients:',                                             curmult => 'Current recipients:',
                                            add      => 'Additional recipient:',                                             add     => 'Additional recipient:',
                                            del      => 'Delete?',                                             del     => 'Delete?',
                                            sec      => 'Sections:',                                             sec     => 'Sections:',
                                          );                                           );
   
     foreach my $item (@{$ordered}) {      foreach my $item (@{$ordered}) {
Line 1821  sub user_table { Line 1821  sub user_table {
         if ($num) {          if ($num) {
             $output .= '<tr>'.              $output .= '<tr>'.
                        '<td align="left"><i>';                         '<td align="left"><i>';
             if ($num == 1) {              if ($num > 1) {
                 $output .= $lt->{'currone'};                  $output .= $lt->{'currone'};
             } else {              } else {
                 $output .= $lt->{'currmult'};                  $output .= $lt->{'currmult'};
Line 1941  sub print_discussion { Line 1941  sub print_discussion {
     my %sections = &Apache::loncommon::get_sections($cdom,$cnum);      my %sections = &Apache::loncommon::get_sections($cdom,$cnum);
     my @sections = sort( { $a <=> $b } keys(%sections));      my @sections = sort( { $a <=> $b } keys(%sections));
     my %lt = &Apache::lonlocal::texthash (      my %lt = &Apache::lonlocal::texthash (
                                           currone  => 'Disallowed:',                                            currone => 'Disallowed:',
                                           currmult => 'Disallowed:',                                            curmult => 'Disallowed:',
                                           add      => 'Disallow more:',                                            add     => 'Disallow more:',
                                           del      => 'Delete?',                                            del     => 'Delete?',
                                           sec      => 'Sections:',                                            sec     => 'Sections:',
                                          );                                           );
   
     foreach my $item (@{$ordered}) {      foreach my $item (@{$ordered}) {

Removed from v.1.8.2.5  
changed lines
  Added in v.1.13


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