--- loncom/auth/lonlogin.pm 2009/05/18 12:59:47 1.106.4.1 +++ loncom/auth/lonlogin.pm 2008/12/10 15:45:38 1.112 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.106.4.1 2009/05/18 12:59:47 raeburn Exp $ +# $Id: lonlogin.pm,v 1.112 2008/12/10 15:45:38 muellerd Exp $ # # Copyright Michigan State University Board of Trustees # @@ -84,7 +84,7 @@ sub handler { $r->print( $start_page .'
'.&mt('Please either [_1]continue the current session[_2] or [_3]log out[_4].', + .'
'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].', '','','','').'
' .'' .$end_page @@ -102,15 +102,8 @@ 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= @@ -204,459 +197,295 @@ sub handler { ' '.&mt('(preferred)').''.$/; $last=$hostname; } - $spares.= ''.&mt('Please attempt to login to one of the following servers:').'
' - .$spares - .'' - .'' - ); - return OK; - } +$spares.= ''.&mt('Please attempt to login to one of the following servers:').'
' + .$spares + .'' + .'' +); +return OK; +} # ----------------------------------------------- Apparently we are in business - $servadm=~s/\,/\
-HEADER
- if ($showbanner) {
- $r->print(< | |||||||||
- - - | ![]() |
-
-
- ![]() |
-
-
- ![]() |
- ||||||
-
|
-
-
- ![]() |
-
-
-
-
-ENDSTART
- if ($showmainlogo) {
- $r->print(< + + : + + : + + + +LFORM - - |
- ![]() | ||||||
-ENDTOP
- } else {
- $r->print('The LearningOnline Network with CAPA' - .''.&mt('Text-based Interface Login').'' - .$announcements); - } - $r->print(' |
-
-
- ![]() |
-
-
- -$domainlogo - | - - -![]() |
- ||||||
- - - | ![]() |
-
-
- ![]() |
-
-
- ![]() |
-