[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Thu, 24 Jan 2008 15:06:27 -0000
bisitz Thu Jan 24 10:06:27 2008 EDT
Modified files:
/loncom/auth lonlogin.pm
Log:
Localization: added missing &mt(...) for 'Already logged in' screen
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.99 loncom/auth/lonlogin.pm:1.100
--- loncom/auth/lonlogin.pm:1.99 Thu Jan 24 09:30:28 2008
+++ loncom/auth/lonlogin.pm Thu Jan 24 10:06:21 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Login Screen
#
-# $Id: lonlogin.pm,v 1.99 2008/01/24 14:30:28 bisitz Exp $
+# $Id: lonlogin.pm,v 1.100 2008/01/24 15:06:21 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -78,15 +78,14 @@
&Apache::loncommon::start_page('Already logged in');
my $end_page =
&Apache::loncommon::end_page();
- $r->print(<<ENDFAILED);
-$start_page
-<h1>You are already logged in</h1>
-<p>Please either <a href="/adm/roles">continue the current session</a> or
-<a href="/adm/logout">logout</a>.</p>
-<p>
-<a href="/adm/loginproblems.html">Problems?</a></p>
-$end_page
-ENDFAILED
+ $r->print(
+ $start_page
+ .'<h1>'.&mt('You are already logged in').'</h1>'
+ .'<p>'.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].',
+ '<a href="/adm/roles">','</a>','<a href="/adm/logout">','</a>').'</p>'
+ .'<p><a href="/adm/loginproblems.html">'.&mt('Login problems?').'</a></p>'
+ .$end_page
+ );
return OK;
}