version 1.297, 2008/08/04 15:28:21
|
version 1.298, 2008/08/08 08:51:39
|
Line 2501 END
|
Line 2501 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 2556 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(&Apache::loncommon::start_data_table()); |
my $txt_remain = &mt('Time Remaining'); |
$r->print(&Apache::loncommon::start_data_table_header_row() |
my $txt_status = &mt('Status'); |
.'<th>'.&mt('Status').'</th>' |
$r->print(<<END); |
.'<th>'.&mt('Total Matches').'</th>' |
<table> |
.'<th>'.&mt('Time Remaining').'</th>' |
<tr><th>$txt_status</th><th>$txt_total</th><th>$txt_remain</th><th></th></tr> |
# .'<th> </th>' |
<tr> |
.&Apache::loncommon::end_data_table_header_row()); |
<td><input type="text" name="status" value="" size="50" /></td> |
$r->print(&Apache::loncommon::start_data_table_row() |
<td><input type="text" name="count" value="" size="10" /></td> |
.'<td><input type="text" name="status" value="" size="50" readonly="readonly" /></td>' |
<td><input type="text" name="seconds" value="" size="8" /></td> |
.'<td><input type="text" name="count" value="" size="10" readonly="readonly" /></td>' |
<td>$revise</td> |
.'<td><input type="text" name="seconds" value="" size="8" readonly="readonly" /></td>' |
</tr> |
# ."<td>$revise</td>" |
</table> |
.&Apache::loncommon::end_data_table_row()); |
</form> |
$r->print(&Apache::loncommon::start_data_table()); |
END |
$r->print($revise |
|
.'</form>'); |
$r->rflush(); |
$r->rflush(); |
&reset_timing(); |
&reset_timing(); |
&update_seconds($r); |
&update_seconds($r); |