Diff for /loncom/auth/lonlogout.pm between versions 1.42.2.2.2.4 and 1.42.2.3

version 1.42.2.2.2.4, 2012/02/13 17:03:59 version 1.42.2.3, 2012/01/08 23:35:22
Line 127  sub handler { Line 127  sub handler {
                                       '://'.$server.$path;                                        '://'.$server.$path;
                          if (($path eq '') && (!$isredirect)) {                           if (($path eq '') && (!$isredirect)) {
                              my $serverhomeID =                               my $serverhomeID =
                                  &Apache::lonnet::get_server_homeID($server);                                   &Apache::lonnet::get_server_homeID($lonhost);
                              my $serverhomedom =                               my $serverhomedom =
                                  &Apache::lonnet::host_domain($serverhomeID);                                   &Apache::lonnet::host_domain($serverhomeID);
                              if ($serverhomedom eq $domain) {                               if ($serverhomedom ne $domain) {
                                  $login_url = '/adm/login';  
                              } else {  
                                  $path = '/adm/login';                                   $path = '/adm/login';
                                  $login_url .= $path;                                   $login_url .= $path;
                              }                               }
Line 160  sub handler { Line 158  sub handler {
 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 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  =cut
   
             $relogmessage.='<p>'.&mt('[_1]Log in again[_2]'              $relogmessage.='<p>'.&mt('[_1]Log in again[_2]'
                               ,'<a href="'.$login_url.'">','</a>')                                ,'<a href="'.$login_url.'">','</a>')
                           .('&nbsp;'x6).&mt('[_1]Return to course information page[_2]'  
                               ,'<a href="http://relate.mit.edu/physicscourse">'  
                               ,'</a>')  
                           .'</p>';                            .'</p>';
         }          }
         if ($env{'request.sso.login'}          if ($env{'request.sso.login'}

Removed from v.1.42.2.2.2.4  
changed lines
  Added in v.1.42.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.