--- loncom/interface/coursecatalog.pm 2011/11/21 15:42:59 1.69 +++ loncom/interface/coursecatalog.pm 2012/10/04 13:41:10 1.71 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for displaying the course catalog interface # -# $Id: coursecatalog.pm,v 1.69 2011/11/21 15:42:59 raeburn Exp $ +# $Id: coursecatalog.pm,v 1.71 2012/10/04 13:41:10 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -662,9 +662,15 @@ sub print_course_listing { } if (keys(%courses) == 0) { if ($env{'form.currcat_0'} eq 'communities::0') { - $output = &mt('No communities match the criteria you selected.'); + $output = + '

' + .&mt('No communities match the criteria you selected.') + .'

'; } else { - $output = &mt('No courses match the criteria you selected.'); + $output = + '

' + .&mt('No courses match the criteria you selected.') + .'

'; } return $output; } @@ -693,7 +699,7 @@ sub construct_data_table { $sortname{'Code'} = 'code'; $sortname{'Categories'} = 'cats'; $sortname{'Title'} = 'title'; - $sortname{'Owner(s)'} = 'owner'; + $sortname{'Owner & Co-owner(s)'} = 'owner'; } my $output = &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_header_row(); @@ -703,7 +709,7 @@ sub construct_data_table { } else { push(@coltitles,'Categories'); } - push(@coltitles,('Sections','Crosslisted','Title','Owner(s)')); + push(@coltitles,('Sections','Crosslisted','Title','Owner & Co-owner(s)')); if (ref($usersections) eq 'HASH') { $coltitles[1] = 'Your Section'; }