[LON-CAPA-cvs] cvs: loncom(GCI_2) /auth lonlogout.pm

gci gci@source.lon-capa.org
Wed, 23 Sep 2009 13:20:38 -0000


gci		Wed Sep 23 13:20:38 2009 EDT

  Modified files:              (Branch: GCI_2)
    /loncom/auth	lonlogout.pm 
  Log:
  - Customization for GCI.
  
  
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.37 loncom/auth/lonlogout.pm:1.37.4.1
--- loncom/auth/lonlogout.pm:1.37	Mon Mar 16 17:07:38 2009
+++ loncom/auth/lonlogout.pm	Wed Sep 23 13:20:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Logout Handler
 #
-# $Id: lonlogout.pm,v 1.37 2009/03/16 17:07:38 bisitz Exp $
+# $Id: lonlogout.pm,v 1.37.4.1 2009/09/23 13:20:38 gci Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -129,9 +129,13 @@
 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>';
+
+            $relogmessage .= '<p>'.&mt('[_1]Log in again[_2]'
+                              ,'<a href="'.$login_url.'?domain='.$env{'user.domain'}.'">','</a>').
+                             ('&nbsp;'x6).&mt('[_1]Return to WebCenter front page[_2]',
+                               '<a href="/">','</a>')
+                             .'</p>';
+
         }
 	my $domain = $env{'user.domain'};
         if ($env{'request.sso.login'}