version 1.298, 2008/08/08 08:51:39
|
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 2556 END
|
Line 2554 END
|
my $server; |
my $server; |
my $status; |
my $status; |
my $revise = &revise_button(); |
my $revise = &revise_button(); |
$r->print(&Apache::loncommon::start_data_table()); |
$r->print('<form name="statusform" action="" method="post">'."\n". |
|
'<input type="hidden" name="acts" value="" />'."\n". |
|
'<table border="0"><tr><td>'."\n". |
|
&Apache::loncommon::start_data_table()); |
$r->print(&Apache::loncommon::start_data_table_header_row() |
$r->print(&Apache::loncommon::start_data_table_header_row() |
.'<th>'.&mt('Status').'</th>' |
.'<th>'.&mt('Status').'</th>' |
.'<th>'.&mt('Total Matches').'</th>' |
.'<th>'.&mt('Total Matches').'</th>' |
.'<th>'.&mt('Time Remaining').'</th>' |
.'<th>'.&mt('Time Remaining').'</th>' |
# .'<th> </th>' |
.&Apache::loncommon::end_data_table_header_row() |
.&Apache::loncommon::end_data_table_header_row()); |
.&Apache::loncommon::start_data_table_row() |
$r->print(&Apache::loncommon::start_data_table_row() |
|
.'<td><input type="text" name="status" value="" size="50" readonly="readonly" /></td>' |
.'<td><input type="text" name="status" value="" size="50" readonly="readonly" /></td>' |
.'<td><input type="text" name="count" value="" size="10" readonly="readonly" /></td>' |
.'<td><input type="text" name="count" value="" size="10" readonly="readonly" /></td>' |
.'<td><input type="text" name="seconds" value="" size="8" readonly="readonly" /></td>' |
.'<td><input type="text" name="seconds" value="" size="8" readonly="readonly" /></td>' |
# ."<td>$revise</td>" |
.&Apache::loncommon::end_data_table_row() |
.&Apache::loncommon::end_data_table_row()); |
.&Apache::loncommon::end_data_table() |
$r->print(&Apache::loncommon::start_data_table()); |
.'</td><td> </td><td>'.$revise.'</td></tr></table></form>'); |
$r->print($revise |
|
.'</form>'); |
|
$r->rflush(); |
$r->rflush(); |
&reset_timing(); |
&reset_timing(); |
&update_seconds($r); |
&update_seconds($r); |