Diff for /loncom/auth/lonlogout.pm between versions 1.47 and 1.49

version 1.47, 2015/03/04 21:34:28 version 1.49, 2015/03/12 00:50:10
Line 116  sub handler { Line 116  sub handler {
             && defined($r->dir_config('lonSSOUserLogoutHeadFile'))) {              && defined($r->dir_config('lonSSOUserLogoutHeadFile'))) {
             if (open(my $fh,$r->dir_config('lonSSOUserLogoutHeadFile'))) {              if (open(my $fh,$r->dir_config('lonSSOUserLogoutHeadFile'))) {
                 $headextra.= join('',<$fh>);                  $headextra.= join('',<$fh>);
                   close($fh);
             }              }
         }          }
  $start_page=&Apache::loncommon::start_page('Logged Out',$headextra,   $start_page=&Apache::loncommon::start_page('Logged Out',$headextra,
Line 169  sub handler { Line 170  sub handler {
   
 '<a href="javascript:self.close();">','</a>'  '<a href="javascript:self.close();">','</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)  Due to security reasons in new web browsers a window could only be closed with javascript, if this window has also been opened 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  =cut
             $relogmessage.='<p>'.&mt('[_1]Log in again[_2]'              $relogmessage.='<p>'.&mt('[_1]Log in again[_2]'

Removed from v.1.47  
changed lines
  Added in v.1.49


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