[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
bisitz
bisitz at source.lon-capa.org
Tue May 8 11:13:59 EDT 2012
bisitz Tue May 8 15:13:59 2012 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Standard warning style for messages about resource processing issues
- Consistent wording username:domain
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.530 loncom/xml/lonxml.pm:1.531
--- loncom/xml/lonxml.pm:1.530 Mon Apr 16 19:46:14 2012
+++ loncom/xml/lonxml.pm Tue May 8 15:13:58 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.530 2012/04/16 19:46:14 raeburn Exp $
+# $Id: lonxml.pm,v 1.531 2012/05/08 15:13:58 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1957,7 +1957,7 @@
my @userlist;
foreach (keys %users) {
my ($user,$domain) = split(/:/, $_);
- push(@userlist,"$user\@$domain");
+ push(@userlist,"$user:$domain");
my $key=$declutter.'_'.$user.'_'.$domain;
my %lastnotified=&Apache::lonnet::get('nohist_xmlerrornotifications',
[$key],
@@ -1980,7 +1980,7 @@
$errormsg=&mt("An error occurred while processing this resource. The instructor has been notified.");
}
}
- push(@Apache::lonxml::error_messages,"<b>$errormsg</b> <br />");
+ push(@Apache::lonxml::error_messages,"<span class=\"LC_warning\">$errormsg</span><br />");
}
}
More information about the LON-CAPA-cvs
mailing list