version 1.7, 2004/10/05 13:40:16
|
version 1.9, 2004/12/13 21:08:09
|
Line 56 sub get_data {
|
Line 56 sub get_data {
|
($r,$prog_state,&mt('Composing Query')); |
($r,$prog_state,&mt('Composing Query')); |
# |
# |
my $query = &build_query($mode); |
my $query = &build_query($mode); |
|
# Allow the other server to begin processing the data before we ask for it. |
|
sleep(5); |
&Apache::lonnet::logthis('sending query '.$query); |
&Apache::lonnet::logthis('sending query '.$query); |
## |
## |
## Send it along |
## Send it along |
Line 426 sub handler {
|
Line 428 sub handler {
|
$r->print('<h2>'. |
$r->print('<h2>'. |
&mt('Recent activity of [_1]@[_2]',$sname,$sdom). |
&mt('Recent activity of [_1]@[_2]',$sname,$sdom). |
'</h2>'); |
'</h2>'); |
|
$r->print('<p>'.&mt(<<END).'</p>'); |
|
Compiling student activity data can take a long time. |
|
It may be necessary to reload this page to get the most current information. |
|
END |
&get_data($r,\%prog_state,$navmap, |
&get_data($r,\%prog_state,$navmap, |
'student:'.$ENV{'form.selected_student'}); |
'student:'.$ENV{'form.selected_student'}); |
} else { |
} else { |