--- loncom/homework/bridgetask.pm 2017/06/13 16:20:40 1.264.2.1 +++ loncom/homework/bridgetask.pm 2023/01/23 20:34:54 1.264.8.1.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.264.2.1 2017/06/13 16:20:40 raeburn Exp $ +# $Id: bridgetask.pm,v 1.264.8.1.2.2 2023/01/23 20:34:54 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -65,8 +65,9 @@ sub initialize_bridgetask { sub proctor_check_auth { my ($slot_name,$slot,$type)=@_; my $user=$env{'form.proctorname'}; + $user =~ s/^\s+|\s+$//g; my $domain=$env{'form.proctordomain'}; - + my @allowed=split(",",$slot->{'proctor'}); foreach my $possible (@allowed) { my ($puser,$pdom)=(split(':',$possible)); @@ -682,7 +683,7 @@ sub start_Task { if ($env{'form.markaccess'}) { my @interval=&Apache::lonnet::EXT("resource.0.interval"); my ($timelimit) = ($interval[0] =~ /^(\d+)/); - &Apache::lonnet::set_first_access($interval[1],$timelimit); + &Apache::lonnet::set_first_access($interval[1],$timelimit); } } @@ -3286,9 +3287,9 @@ sub proctor_validation_screen { - - - + + +
$lt{'prus'}
$lt{'pasw'}
$lt{'prdo'}
$lt{'prus'}
$lt{'pasw'}
$lt{'prdo'}