--- loncom/auth/lonlogin.pm 2002/05/23 20:00:11 1.16 +++ loncom/auth/lonlogin.pm 2002/09/17 20:05:39 1.19.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.16 2002/05/23 20:00:11 www Exp $ +# $Id: lonlogin.pm,v 1.19.2.1 2002/09/17 20:05:39 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -30,6 +30,8 @@ # 1/17/01 Gerd Kortemeyer # # 2/7/02,2/8,2/12,2/14,2/15,2/19 Josh Brunskole +# +# 7/10/02 Jeremy Bowers package Apache::lonlogin; @@ -50,6 +52,8 @@ sub handler { &Apache::loncommon::get_unprocessed_cgi ($ENV{'QUERY_STRING'},['interface']); + $ENV{'form.interface'}=~s/\W//g; + my $fullgraph=($ENV{'form.interface'} ne 'textual'); my $iconpath= $r->dir_config('lonIconsURL'); @@ -74,7 +78,7 @@ sub handler { my $firsturl=$ENV{'request.firsturl'}; # ---------------------------------------- Are we access server and overloaded? if (($role eq 'access') && ($loadpercent>100.0)) { - $otherserver=Apache::lonnet::spareserver(); + $otherserver=Apache::lonnet::spareserver($loadpercent); } # -------------------------------------------------------- Set login parameters @@ -136,6 +140,7 @@ ENDHEADER =crypted(this.document.client.elements.upass.value); this.document.server.submit(); + return false; } ENDSCRIPT @@ -149,6 +154,7 @@ ENDSCRIPT
+ @@ -159,7 +165,7 @@ ENDSERVERFORM - + The Learning Online Network with CAPA @@ -169,38 +175,38 @@ ENDSERVERFORM   - + - + - + - + Accessibility Options
- + About LON-CAPA - +
- +
- + @@ -210,13 +216,13 @@ ENDSERVERFORM ENDTOP } $r->print(< + - + @@ -232,7 +238,7 @@ ENDTOP
User Authentication

   User Name:


- +
@@ -244,10 +250,10 @@ ENDLOGIN - + - + @@ -285,18 +291,18 @@ ENDLOGIN    System Administration:
      $sysadm
   Server Administration:
-       $servadm +       $servadm
 
- + - + Laboratory for Instructional Technology in Education - + @@ -304,13 +310,13 @@ ENDLOGIN   - + - + - +