--- loncom/auth/lonlogin.pm 2003/02/17 23:25:59 1.32 +++ loncom/auth/lonlogin.pm 2003/04/02 14:57:32 1.39 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.32 2003/02/17 23:25:59 www Exp $ +# $Id: lonlogin.pm,v 1.39 2003/04/02 14:57:32 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -50,8 +50,9 @@ sub handler { &Apache::loncommon::get_unprocessed_cgi - ($ENV{'QUERY_STRING'},['interface','username','domain','firsturl']); - + ($ENV{'QUERY_STRING'}.'&'.$ENV{'request.querystring'}, + ['interface','username','domain','firsturl']); + # ----------------------------------------------------------- Process Interface $ENV{'form.interface'}=~s/\W//g; @@ -76,6 +77,7 @@ sub handler { my $lonhost = $r->dir_config('lonHostID'); my $tabdir = $r->dir_config('lonTabDir'); my $include = $r->dir_config('lonIncludes'); + my $expire = $r->dir_config('lonExpire'); # --------------------------------------------- Default values for login fields @@ -156,10 +158,14 @@ ENDTROUBLE # ----------------------------------------------- Apparently we are in business my $domainlogo=&Apache::loncommon::domainlogo(); + $servadm=~s/\,/\
/g; + $sysadm=~s/\,/\
/g; + # --------------------------------------------------- Print login screen header $r->print(< + The LearningOnline Network with CAPA Login ENDHEADER @@ -170,13 +176,19 @@ ENDHEADER } # ----------------------------------------------------------- Front page design - my $pgbg=&Apache::loncommon::designparm('login.pgbg'); - my $font=&Apache::loncommon::designparm('login.font'); - my $link=&Apache::loncommon::designparm('login.link'); - my $vlink=&Apache::loncommon::designparm('login.vlink'); + my $pgbg= + ($fullgraph?&Apache::loncommon::designparm('login.pgbg'):'#FFFFFF'); + my $font= + ($fullgraph?&Apache::loncommon::designparm('login.font'):'#000000'); + my $link= + ($fullgraph?&Apache::loncommon::designparm('login.link'):'#0000FF'); + my $vlink= + ($fullgraph?&Apache::loncommon::designparm('login.vlink'):'#0000FF'); my $alink=&Apache::loncommon::designparm('login.alink'); - my $mainbg=&Apache::loncommon::designparm('login.mainbg'); - my $sidebg=&Apache::loncommon::designparm('login.sidebg'); + my $mainbg= + ($fullgraph?&Apache::loncommon::designparm('login.mainbg'):'#FFFFFF'); + my $sidebg= + ($fullgraph?&Apache::loncommon::designparm('login.sidebg'):'#FFFFFF'); my $logo=&Apache::loncommon::designparm('login.logo'); my $img=&Apache::loncommon::designparm('login.img'); @@ -196,6 +208,24 @@ ENDHEADER this.document.server.elements.udom.value =this.document.client.elements.udom.value; + this.document.server.elements.imagesuppress.value + =this.document.client.elements.imagesuppress.checked; + + this.document.server.elements.embedsuppress.value + =this.document.client.elements.embedsuppress.checked; + + this.document.server.elements.appletsuppress.value + =this.document.client.elements.appletsuppress.checked; + + this.document.server.elements.fontenhance.value + =this.document.client.elements.fontenhance.checked; + + this.document.server.elements.blackwhite.value + =this.document.client.elements.blackwhite.checked; + + this.document.server.elements.remember.value + =this.document.client.elements.remember.checked; + uextkey=this.document.client.elements.uextkey.value; lextkey=this.document.client.elements.lextkey.value; initkeys(); @@ -216,12 +246,18 @@ ENDSCRIPT $r->print(< - - - - - - + + + + + + + + + + + + ENDSERVERFORM if ($fullgraph) { $r->print(< ENDTOP } else { - $r->print('

The LearningOnline Network with CAPA

Text-based Interface Login

'); + $r->print('

The LearningOnline Network with CAPA

Text-based Interface Login

'); +} + $r->print('
'); + unless ($fullgraph) { + $r->print(<Select Accessibility Options + Suppress rendering of images
+ Suppress Java applets
+ Suppress rendering of embedded multimedia
+ Increase font size
+ Switch to black and white mode
+

If you have accessibility needs that are not addressed by this interface, +please +contact the system administrator at $sysadm.


+ Remember these settings for next login
+ENDACCESSOPTIONS +} else { + $r->print(< + + + + + +ENDNOOPT } $r->print(< 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.