--- loncom/auth/lonlogin.pm 2003/05/08 21:50:54 1.41 +++ loncom/auth/lonlogin.pm 2003/08/12 19:46:04 1.45 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.41 2003/05/08 21:50:54 albertel Exp $ +# $Id: lonlogin.pm,v 1.45 2003/08/12 19:46:04 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -51,7 +51,7 @@ sub handler { &Apache::loncommon::get_unprocessed_cgi ($ENV{'QUERY_STRING'}.'&'.$ENV{'request.querystring'}, - ['interface','username','domain','firsturl']); + ['interface','username','domain','firsturl','localpath','localres']); # ----------------------------------------------------------- Process Interface $ENV{'form.interface'}=~s/\W//g; @@ -81,6 +81,7 @@ sub handler { my $tabdir = $r->dir_config('lonTabDir'); my $include = $r->dir_config('lonIncludes'); my $expire = $r->dir_config('lonExpire'); + my $version = $r->dir_config('lonVersion'); # --------------------------------------------- Default values for login fields @@ -107,6 +108,8 @@ sub handler { $otherserver=Apache::lonnet::spareserver($loadpercent,$userloadpercent); } +# ----------------------------------------------------------- Get announcements + my $announcements=&Apache::lonnet::getannounce(); # -------------------------------------------------------- Set login parameters my @hexstr=('0','1','2','3','4','5','6','7', @@ -263,6 +266,8 @@ ENDSCRIPT + + ENDSERVERFORM if ($fullgraph) { $r->print(< - +
@@ -320,7 +325,7 @@ ENDSERVERFORM ENDTOP } else { - $r->print('

The LearningOnline Network with CAPA

Text-based Interface Login

'); + $r->print('

The LearningOnline Network with CAPA

Text-based Interface Login

'.$announcements); } $r->print('
'); unless ($fullgraph) { @@ -383,6 +388,9 @@ ENDLOGIN + +$announcements + @@ -416,13 +424,22 @@ ENDLOGIN  $loadpercent percent + + +    User Load:  + + +  $userloadpercent percent + +
   System Administration:
      $sysadm
   Server Administration:
-       $servadm
 
+       $servadm
 
+    $version