--- loncom/auth/lonauth.pm 2008/07/13 00:51:31 1.94 +++ loncom/auth/lonauth.pm 2009/05/27 16:54:52 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.94 2008/07/13 00:51:31 raeburn Exp $ +# $Id: lonauth.pm,v 1.98 2009/05/27 16:54:52 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -84,8 +84,7 @@ sub success { my $end_page =&Apache::loncommon::end_page(); my $continuelink; - if (($env{'browser.interface'} eq 'textual') || - ($env{'environment.remote'} eq 'off')) { + if ($env{'environment.remote'} eq 'off') { $continuelink="".&mt('Continue').""; } # ------------------------------------------------- Output for successful login @@ -126,7 +125,7 @@ sub failed { $r->print( $start_page .'

'.&mt('Sorry ...').'

' - .'

'.&mt($message).'

' + .'

'.&mt($message).'

' .'

'.&mt('Please [_1]log in again[_2].' ,"{'uname'}&domain=$form->{'udom'}\">",'') .'

' @@ -172,7 +171,7 @@ sub handler { $r->print( $start_page .'

'.&mt('You are already logged in!').'

' - .'

'.&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].' ,'','','','') .'

' .'

'.&mt('Login problems?').'

'