--- loncom/auth/lonlogin.pm 2008/03/08 02:53:25 1.102 +++ loncom/auth/lonlogin.pm 2009/05/16 01:19:29 1.121 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.102 2008/03/08 02:53:25 raeburn Exp $ +# $Id: lonlogin.pm,v 1.121 2009/05/16 01:19:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -83,8 +83,8 @@ sub handler { &Apache::loncommon::end_page(); $r->print( $start_page - .'
'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].', + .'
'.&mt('Please either [_1]continue the current session[_2] or [_3]log out[_4].', '','','','').'
' .'' .$end_page @@ -102,16 +102,7 @@ sub handler { # ----------------------------------------------------------- Process Interface $env{'form.interface'}=~s/\W//g; - my $textbrowsers=$r->dir_config('lonTextBrowsers'); my $httpbrowser=$ENV{"HTTP_USER_AGENT"}; - - foreach (split(/\:/,$textbrowsers)) { - if ($httpbrowser=~/$_/i) { - $env{'form.interface'}='textual'; - } - } - - my $fullgraph=($env{'form.interface'} ne 'textual'); my $iconpath= &Apache::loncommon::lonhttpdurl($r->dir_config('lonIconsURL')); @@ -201,431 +192,289 @@ sub handler { $hostname. '/adm/login?domain='.$authdomain.'">'. $hostname.''. - ' (preferred)'.$/; - $last=$hostname; - } - $spares.= 'Please attempt to login to one of the following servers:
$spares - -