Diff for /loncom/auth/lonauth.pm between versions 1.94 and 1.98

version 1.94, 2008/07/13 00:51:31 version 1.98, 2009/05/27 16:54:52
Line 84  sub success { Line 84  sub success {
     my $end_page  =&Apache::loncommon::end_page();      my $end_page  =&Apache::loncommon::end_page();
   
     my $continuelink;      my $continuelink;
     if (($env{'browser.interface'} eq 'textual') ||      if ($env{'environment.remote'} eq 'off') {
         ($env{'environment.remote'} eq 'off')) {  
  $continuelink="<a href=\"$lowerurl\">".&mt('Continue')."</a>";   $continuelink="<a href=\"$lowerurl\">".&mt('Continue')."</a>";
     }      }
 # ------------------------------------------------- Output for successful login  # ------------------------------------------------- Output for successful login
Line 126  sub failed { Line 125  sub failed {
     $r->print(      $r->print(
        $start_page         $start_page
       .'<h1>'.&mt('Sorry ...').'</h1>'        .'<h1>'.&mt('Sorry ...').'</h1>'
       .'<p><b>'.&mt($message).'</b></p>'        .'<p class="LC_warning">'.&mt($message).'</p>'
       .'<p>'.&mt('Please [_1]log in again[_2].'        .'<p>'.&mt('Please [_1]log in again[_2].'
                 ,"<a href=\"/adm/login?username=$form->{'uname'}&domain=$form->{'udom'}\">",'</a>')                  ,"<a href=\"/adm/login?username=$form->{'uname'}&domain=$form->{'udom'}\">",'</a>')
       .'</p>'        .'</p>'
Line 172  sub handler { Line 171  sub handler {
         $r->print(          $r->print(
            $start_page             $start_page
           .'<h1>'.&mt('You are already logged in!').'</h1>'            .'<h1>'.&mt('You are already logged in!').'</h1>'
           .'<p>'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].'            .'<p>'.&mt('Please either [_1]continue the current session[_2] or [_3]log out[_4].'
                     ,'<a href="/adm/roles">','</a>','<a href="/adm/logout">','</a>')                      ,'<a href="/adm/roles">','</a>','<a href="/adm/logout">','</a>')
           .'</p>'            .'</p>'
           .'<p><a href="/adm/loginproblems.html">'.&mt('Login problems?').'</a></p>'            .'<p><a href="/adm/loginproblems.html">'.&mt('Login problems?').'</a></p>'

Removed from v.1.94  
changed lines
  Added in v.1.98


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>