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

version 1.67, 2011/01/25 02:49:42 version 1.70, 2012/04/18 19:47:36
Line 283  sub instcode_course_selector { Line 283  sub instcode_course_selector {
         $r->print('<input type="hidden" name="coursenum" value="" />'."\n".          $r->print('<input type="hidden" name="coursenum" value="" />'."\n".
                   '<input type="hidden" name="sortby" value="" />'."\n".                    '<input type="hidden" name="sortby" value="" />'."\n".
                   '<input type="hidden" name="state" value="listing" />'."\n".                    '<input type="hidden" name="state" value="listing" />'."\n".
                   '<input type="hidden" name="form.currcat_0" value="instcode::0" />'."\n".  
                   '<input type="submit" name="catalogfilter" value="'.                    '<input type="submit" name="catalogfilter" value="'.
                   &mt('Display courses').'" />'.                    &mt('Display courses').'" />'.
                   '<input type="hidden" name="numtitles" value="'.$numtitles.                    '<input type="hidden" name="numtitles" value="'.$numtitles.
Line 523  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 694  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 704  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.67  
changed lines
  Added in v.1.70


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