--- loncom/auth/lonauth.pm 2014/01/05 11:38:43 1.121.2.8 +++ loncom/auth/lonauth.pm 2014/02/26 20:46:45 1.121.2.9 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.121.2.8 2014/01/05 11:38:43 raeburn Exp $ +# $Id: lonauth.pm,v 1.121.2.9 2014/02/26 20:46:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -206,18 +206,19 @@ sub failed { my $end_page = &Apache::loncommon::end_page(); &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; + my @actions = + (&mt('Please [_1]log in again[_2].','','')); my $loginhelp = &loginhelpdisplay($udom); if ($loginhelp) { - $loginhelp = '

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

'; + push(@actions, ''.&mt('Login problems?').''); } + #FIXME: link to helpdesk might be added here $r->print( $start_page - .'

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

' - .'

'.&mt($message).'

' - .'

'.&mt('Please [_1]log in again[_2].','','') - .'

' - .$loginhelp + .'

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

' + .&Apache::lonhtmlcommon::confirm_success(&mt($message),1).'

' + .&Apache::lonhtmlcommon::actionbox(\@actions) .$end_page ); }