Diff for /loncom/interface/coursecatalog.pm between versions 1.68 and 1.70

version 1.68, 2011/02/25 05:52:03 version 1.70, 2012/04/18 19:47:36
Line 522  sub additional_filters { Line 522  sub additional_filters {
     }      }
     my $selfenroll_text;      my $selfenroll_text;
     if ($env{'form.currcat_0'} eq 'communities::0') {      if ($env{'form.currcat_0'} eq 'communities::0') {
         $selfenroll_text = &mt('Only show communities which allow self-enrollment');          $selfenroll_text = &mt('Only show communities which currently allow self-enrollment (or will allow it in the future)');
     } else {      } else {
         $selfenroll_text = &mt('Only show courses which allow self-enrollment');          $selfenroll_text = &mt('Only show courses which currently allow self-enrollment (or will allow it in the future)');
     }      }
     $output .= '<tr><td>'.      $output .= '<tr><td>'.
                '<label><input type="checkbox" name="showselfenroll" value="1" '.                 '<label><input type="checkbox" name="showselfenroll" value="1" '.
Line 693  sub construct_data_table { Line 693  sub construct_data_table {
         $sortname{'Code'} = 'code';          $sortname{'Code'} = 'code';
         $sortname{'Categories'} = 'cats';          $sortname{'Categories'} = 'cats';
         $sortname{'Title'} = 'title';          $sortname{'Title'} = 'title';
         $sortname{'Owner(s)'} = 'owner';          $sortname{'Owner & Co-owner(s)'} = 'owner';
     }      }
     my $output = &Apache::loncommon::start_data_table().      my $output = &Apache::loncommon::start_data_table().
                  &Apache::loncommon::start_data_table_header_row();                   &Apache::loncommon::start_data_table_header_row();
Line 703  sub construct_data_table { Line 703  sub construct_data_table {
     } else {      } else {
         push(@coltitles,'Categories');          push(@coltitles,'Categories');
     }      }
     push(@coltitles,('Sections','Crosslisted','Title','Owner(s)'));      push(@coltitles,('Sections','Crosslisted','Title','Owner & Co-owner(s)'));
     if (ref($usersections) eq 'HASH') {      if (ref($usersections) eq 'HASH') {
        $coltitles[1] = 'Your Section';         $coltitles[1] = 'Your Section';
     }      }

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


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