[LON-CAPA-cvs] cvs: loncom /auth lonlogout.pm /localize/localize de.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 17 Sep 2003 23:50:18 -0000
www Wed Sep 17 19:50:18 2003 EDT
Modified files:
/loncom/auth lonlogout.pm
/loncom/localize/localize de.pm
Log:
Auf Wiedersehen.
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.10 loncom/auth/lonlogout.pm:1.11
--- loncom/auth/lonlogout.pm:1.10 Thu Jun 5 22:24:49 2003
+++ loncom/auth/lonlogout.pm Wed Sep 17 19:50:18 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Logout Handler
#
-# $Id: lonlogout.pm,v 1.10 2003/06/06 02:24:49 www Exp $
+# $Id: lonlogout.pm,v 1.11 2003/09/17 23:50:18 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -38,6 +38,7 @@
use Apache::lonnet;
use Apache::lonmenu;
use CGI::Cookie();
+use Apache::lonlocal;
sub handler {
my $r = shift;
@@ -87,10 +88,15 @@
$bodytag=&Apache::loncommon::bodytag('Switching Server ...');
} else {
$bodytag=&Apache::loncommon::bodytag('Logged Out');
+ my %lt=&Apache::lonlocal::texthash('gb' => 'Goodbye',
+ 'cw' => 'close this window',
+ 'li' => 'log in again',
+ 'pe' => 'Please either',
+ 'or' => 'or');
$relogmessage=(<<ENDRELOG);
-<h1>Goodbye!</h1>
-Please either <a href="javascript:self.close();">close this window</a> or
-<a href="/adm/login">log in again</a>.
+<h1>$lt{'gb'}!</h1>
+ $lt{'pe'} <a href="javascript:self.close();">$lt{'cw'}</a> $lt{'or'}
+<a href="/adm/login">$lt{'li'}</a>.
ENDRELOG
}
# --------------------------------------------------------------- Screen Output
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.10 loncom/localize/localize/de.pm:1.11
--- loncom/localize/localize/de.pm:1.10 Wed Sep 17 17:29:44 2003
+++ loncom/localize/localize/de.pm Wed Sep 17 19:50:18 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.10 2003/09/17 21:29:44 www Exp $
+# $Id: de.pm,v 1.11 2003/09/17 23:50:18 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -390,6 +390,8 @@
'New discussion since'
=> 'Neue Diskussion seit',
+ 'Goodbye'
+=> 'Auf Wiedersehen'
);
1;