version 1.66, 2005/10/04 19:32:08
|
version 1.68, 2005/10/05 20:24:59
|
Line 395 sub start_Task {
|
Line 395 sub start_Task {
|
$msg.='<h1>'.&mt('Your submission is in the grading queue.').'</h1>'; |
$msg.='<h1>'.&mt('Your submission is in the grading queue.').'</h1>'; |
} elsif ($env{'form.donescreen'}) { |
} elsif ($env{'form.donescreen'}) { |
my $title=&Apache::lonnet::gettitle(); |
my $title=&Apache::lonnet::gettitle(); |
my $files=$Apache::lonhomework::history{'resource.'.$version.'.0.bridgetask.portfiles'}; |
my @files=split(',',$Apache::lonhomework::history{'resource.'.$version.'.0.bridgetask.portfiles'}); |
$result.= $head_tag_start.'</head>'.$body_tag_start; |
my $files='<ul><li>'.join('</li><li>',@files).'</li></ul>'; |
$result.=<<DONESCREEN; |
$result.=<<DONESCREEN; |
<h2>$title</h2> |
<h2>$title</h2> |
<p> Files submitted: $files </p> |
<p> Files submitted: $files </p> |
<p> You are now done with the Bridge Task </p> |
<p> You are now done with this Bridge Task </p> |
<hr /> |
<hr /> |
<p> <a href="/adm/logout">Logout</a> </p> |
<p> <a href="/adm/logout">Logout</a> </p> |
<p> <a href="/adm/roles">Change to a different course</a> </p> |
<p> <a href="/adm/roles">Change to a different course</a> </p> |
Line 1089 sub queue_key_locked {
|
Line 1089 sub queue_key_locked {
|
sub pick_from_queue_data { |
sub pick_from_queue_data { |
my ($queue,$check_section,$queuedata,$cdom,$cnum)=@_; |
my ($queue,$check_section,$queuedata,$cdom,$cnum)=@_; |
foreach my $key (keys(%$queuedata)) { |
foreach my $key (keys(%$queuedata)) { |
|
if ($key =~ /\0locked$/) { next; } |
|
if ($key =~ /\0timestamp$/) { next; } |
my ($symb,$uname,$udom)=&decode_queue_key($key); |
my ($symb,$uname,$udom)=&decode_queue_key($key); |
if ($check_section) { |
if ($check_section) { |
my $section=&Apache::lonnet::getsection($uname,$udom); |
my $section=&Apache::lonnet::getsection($uname,$udom); |