Diff for /loncom/interface/lonsearchcat.pm between versions 1.297 and 1.299

version 1.297, 2008/08/04 15:28:21 version 1.299, 2008/08/27 19:50:46
Line 2489  sub run_search { Line 2489  sub run_search {
     $r->print(<<END);      $r->print(<<END);
 $start_page  $start_page
 $breadcrumbs  $breadcrumbs
 <form name="statusform" action="" method="post">  
 <input type="hidden" name="acts" value="" />  
 END  END
     # Remove leading and trailing <br />      # Remove leading and trailing <br />
     $pretty_string =~ s:^\s*<br />::i;      $pretty_string =~ s:^\s*<br />::i;
Line 2501  END Line 2499  END
         pop(@Lines);          pop(@Lines);
     }      }
     if (@Lines > 2) {      if (@Lines > 2) {
         $pretty_string = join '<br />',(@Lines[0..2],'....<br />');          $pretty_string = join '<br />',(@Lines[0..2],'...<br />');
     }      }
     $r->print(&mt("Search: [_1]",$pretty_string));      $r->print(&mt("Search: [_1]",$pretty_string));
     $r->rflush();      $r->rflush();
Line 2556  END Line 2554  END
     my $server;       my $server; 
     my $status;      my $status;
     my $revise = &revise_button();      my $revise = &revise_button();
     my $txt_total = &mt('Total Matches');      $r->print('<form name="statusform" action="" method="post">'."\n".
     my $txt_remain = &mt('Time Remaining');                '<input type="hidden" name="acts" value="" />'."\n".
     my $txt_status = &mt('Status');                '<table border="0"><tr><td>'."\n".
     $r->print(<<END);                &Apache::loncommon::start_data_table());
 <table>      $r->print(&Apache::loncommon::start_data_table_header_row()
 <tr><th>$txt_status</th><th>$txt_total</th><th>$txt_remain</th><th></th></tr>               .'<th>'.&mt('Status').'</th>'
 <tr>               .'<th>'.&mt('Total Matches').'</th>'
 <td><input type="text" name="status"  value="" size="50" /></td>               .'<th>'.&mt('Time Remaining').'</th>'
 <td><input type="text" name="count"   value="" size="10" /></td>               .&Apache::loncommon::end_data_table_header_row()
 <td><input type="text" name="seconds" value="" size="8" /></td>               .&Apache::loncommon::start_data_table_row()
 <td>$revise</td>               .'<td><input type="text" name="status"  value="" size="50" readonly="readonly" /></td>'
 </tr>               .'<td><input type="text" name="count"   value="" size="10" readonly="readonly" /></td>'
 </table>               .'<td><input type="text" name="seconds" value="" size="8" readonly="readonly" /></td>'
 </form>               .&Apache::loncommon::end_data_table_row()
 END               .&Apache::loncommon::end_data_table()
                .'</td><td>&nbsp;</td><td>'.$revise.'</td></tr></table></form>');
     $r->rflush();      $r->rflush();
     &reset_timing();      &reset_timing();
     &update_seconds($r);      &update_seconds($r);

Removed from v.1.297  
changed lines
  Added in v.1.299


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