--- loncom/interface/lonsearchcat.pm 2008/08/04 15:28:21 1.297 +++ loncom/interface/lonsearchcat.pm 2008/08/27 19:50:46 1.299 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.297 2008/08/04 15:28:21 bisitz Exp $ +# $Id: lonsearchcat.pm,v 1.299 2008/08/27 19:50:46 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2489,8 +2489,6 @@ sub run_search { $r->print(< - END # Remove leading and trailing
$pretty_string =~ s:^\s*
::i; @@ -2501,7 +2499,7 @@ END pop(@Lines); } if (@Lines > 2) { - $pretty_string = join '
',(@Lines[0..2],'....
'); + $pretty_string = join '
',(@Lines[0..2],'...
'); } $r->print(&mt("Search: [_1]",$pretty_string)); $r->rflush(); @@ -2556,21 +2554,22 @@ END my $server; my $status; my $revise = &revise_button(); - my $txt_total = &mt('Total Matches'); - my $txt_remain = &mt('Time Remaining'); - my $txt_status = &mt('Status'); - $r->print(< -$txt_status$txt_total$txt_remain - - - - -$revise - - - -END + $r->print('
'."\n". + ''."\n". + '' + .'' + .'' + .&Apache::loncommon::end_data_table_header_row() + .&Apache::loncommon::start_data_table_row() + .'' + .'' + .'' + .&Apache::loncommon::end_data_table_row() + .&Apache::loncommon::end_data_table() + .'
'."\n". + &Apache::loncommon::start_data_table()); + $r->print(&Apache::loncommon::start_data_table_header_row() + .''.&mt('Status').''.&mt('Total Matches').''.&mt('Time Remaining').' '.$revise.'
'); $r->rflush(); &reset_timing(); &update_seconds($r);