--- loncom/interface/lonsearchcat.pm 2008/03/18 22:51:57 1.292 +++ loncom/interface/lonsearchcat.pm 2008/08/08 08:51:39 1.298 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.292 2008/03/18 22:51:57 raeburn Exp $ +# $Id: lonsearchcat.pm,v 1.298 2008/08/08 08:51:39 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -281,8 +281,9 @@ sub handler { $closebutton .="onClick='self.close()'"; } $closebutton .= ">"; + my $txt_import = &mt('IMPORT'); $importbutton=< END } else { @@ -759,11 +760,6 @@ sub setup_basic_search { $r->dir_config('lonDefDomain')), $r->dir_config('lonDefDomain')). ''; - if ($area eq 'res') { - $inclext= ''; - } $adv_search_link = 'rflush(); @@ -2561,18 +2556,22 @@ END my $server; my $status; my $revise = &revise_button(); - $r->print(< -StatusTotal MatchesTime Remaining - - - - -$revise - - - -END + $r->print(&Apache::loncommon::start_data_table()); + $r->print(&Apache::loncommon::start_data_table_header_row() + .''.&mt('Status').'' + .''.&mt('Total Matches').'' + .''.&mt('Time Remaining').'' +# .' ' + .&Apache::loncommon::end_data_table_header_row()); + $r->print(&Apache::loncommon::start_data_table_row() + .'' + .'' + .'' +# ."$revise" + .&Apache::loncommon::end_data_table_row()); + $r->print(&Apache::loncommon::start_data_table()); + $r->print($revise + .''); $r->rflush(); &reset_timing(); &update_seconds($r); @@ -2644,8 +2643,6 @@ END my %Fields = &parse_raw_result($result,$server,$tabletype); $Fields{'hostname'} = $server; # - # Skip if external and we did not want that - next if ((! $env{'form.inclext'}) && ($Fields{'url'}=~/^\/ext\//)); # Skip based on copyright next if (! ©right_check(\%Fields));