Diff for /loncom/interface/coursecatalog.pm between versions 1.69 and 1.71

version 1.69, 2011/11/21 15:42:59 version 1.71, 2012/10/04 13:41:10
Line 662  sub print_course_listing { Line 662  sub print_course_listing {
         }          }
         if (keys(%courses) == 0) {          if (keys(%courses) == 0) {
             if ($env{'form.currcat_0'} eq 'communities::0') {              if ($env{'form.currcat_0'} eq 'communities::0') {
                 $output = &mt('No communities match the criteria you selected.');                  $output =
                       '<p class="LC_info">'
                      .&mt('No communities match the criteria you selected.')
                      .'</p>';
             } else {              } else {
                 $output = &mt('No courses match the criteria you selected.');                  $output =
                       '<p class="LC_info">'
                      .&mt('No courses match the criteria you selected.')
                      .'</p>';
             }              }
             return $output;              return $output;
         }          }
Line 693  sub construct_data_table { Line 699  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 709  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.69  
changed lines
  Added in v.1.71


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