[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework bridgetask.pm
raeburn
raeburn at source.lon-capa.org
Tue Sep 1 13:07:59 EDT 2020
raeburn Tue Sep 1 17:07:59 2020 EDT
Modified files: (Branch: version_2_11_X)
/loncom/homework bridgetask.pm
Log:
- For 2.11
Backport 1.271
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.264 loncom/homework/bridgetask.pm:1.264.8.1
--- loncom/homework/bridgetask.pm:1.264 Sun May 18 09:59:57 2014
+++ loncom/homework/bridgetask.pm Tue Sep 1 17:07:59 2020
@@ -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 2014/05/18 09:59:57 raeburn Exp $
+# $Id: bridgetask.pm,v 1.264.8.1 2020/09/01 17:07:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -65,8 +65,9 @@
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));
@@ -3285,9 +3286,9 @@
<input type="hidden" name="validate" value="yes" />
<input type="hidden" name="submitted" value="yes" />
<table>
- <tr><td>$lt{'prus'}</td><td><input type="string" name="proctorname" value="$env{'form.proctorname'}" /></td></tr>
- <tr><td>$lt{'pasw'}</td><td><input type="password" name="proctorpassword" value="" /></td></tr>
- <tr><td>$lt{'prdo'}</td><td><input type="string" name="proctordomain" value="$env{'form.proctordomain'}" /></td></tr>
+ <tr><td>$lt{'prus'}</td><td><input type="string" name="proctorname" value="$env{'form.proctorname'}" autocomplete="off" /></td></tr>
+ <tr><td>$lt{'pasw'}</td><td><input type="password" name="proctorpassword" value="" autocomplete="off" /></td></tr>
+ <tr><td>$lt{'prdo'}</td><td><input type="string" name="proctordomain" value="$env{'form.proctordomain'}" autocomplete="off" /></td></tr>
</table>
<input type="submit" name="checkoutbutton" value="$lt{'vali'}" /><br />
<table border="1">
More information about the LON-CAPA-cvs
mailing list