[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 14 Nov 2005 20:03:52 -0000
albertel Mon Nov 14 15:03:52 2005 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
In some tralslations the Pleasestandby ends up with a newline in it.
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.134 loncom/auth/lonroles.pm:1.135
--- loncom/auth/lonroles.pm:1.134 Fri Nov 11 13:47:09 2005
+++ loncom/auth/lonroles.pm Mon Nov 14 15:03:52 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.134 2005/11/11 18:47:09 www Exp $
+# $Id: lonroles.pm,v 1.135 2005/11/14 20:03:52 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -316,6 +316,7 @@
my $swinfo=&Apache::lonmenu::rawconfig();
my $bodytag=&Apache::loncommon::bodytag('User Roles');
my $standby=&mt('Role selected. Please stand by.');
+ $standby=~s/\n/\\n/g;
my $helptag='<table><tr><td>'.&Apache::loncommon::help_open_menu('','General Intro','General_Intro','User Roles',1,undef,undef,undef,undef,,&mt("Click here for help")).'</td></td></tr></table>';
$r->print(<<ENDHEADER);
<html>