Diff for /loncom/auth/lonlogout.pm between versions 1.32.2.1 and 1.34

version 1.32.2.1, 2009/09/15 00:06:28 version 1.34, 2008/11/17 18:09:14
Line 105  sub handler { Line 105  sub handler {
   
             $relogmessage.='<p>'.&mt('You have been successfully logged out.').' '              $relogmessage.='<p>'.&mt('You have been successfully logged out.').' '
                           .&mt('You can [_1]close this window[_2] now.'                            .&mt('You can [_1]close this window[_2] now.'
                               ,'','')                                ,'','') # ,'<a href="javascript:self.close();">','</a>')
 #                              ,'<a href="javascript:self.close();">','</a>');                            .'</p>';
 # Due to security reasons in new web browsers a window could only be closed with java script, if this window has also been opend with javascript. This is not done here which means that in most cases the close link will not work. Unless we find another solution, this link should not be offered. (Stefan Bisitz, 2008-08-01)  =pod
                           .'</p>'  
                           .'<p>'.&mt('[_1]Log in again[_2]'  =head1 NOTES:
                               ,'<a href="'.$login_url.'?domain='.$env{'user.domain'}.'">','</a>').  
                            ('&nbsp;'x6).&mt('[_1]Return to WebCenter front page[_2]',  '<a href="javascript:self.close();">','</a>'
                                '<a href="/">','</a>')  
   Due to security reasons in new web browsers a window could only be closed with java script, if this window has also been opend with javascript. This is not done here which means that in most cases the close link will not work. Unless we find another solution, this link should not be offered. (Stefan Bisitz, 2008-08-01)
   
   =cut
               $relogmessage.='<p>'.&mt('[_1]Log in again[_2]'
                                 ,'<a href="'.$login_url.'?domain='.$env{'user.domain'}.'">','</a>')
                           .'</p>';                            .'</p>';
         }          }
  my $domain = $env{'user.domain'};   my $domain = $env{'user.domain'};

Removed from v.1.32.2.1  
changed lines
  Added in v.1.34


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