[LON-CAPA-cvs] cvs: loncom /homework grades.pm
ng
lon-capa-cvs@mail.lon-capa.org
Tue, 14 Sep 2004 19:09:55 -0000
ng Tue Sep 14 15:09:55 2004 EDT
Modified files:
/loncom/homework grades.pm
Log:
Change message of upload to course description instead of course id.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.210 loncom/homework/grades.pm:1.211
--- loncom/homework/grades.pm:1.210 Tue Sep 14 10:13:08 2004
+++ loncom/homework/grades.pm Tue Sep 14 15:09:55 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.210 2004/09/14 14:13:08 albertel Exp $
+# $Id: grades.pm,v 1.211 2004/09/14 19:09:55 ng Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4719,7 +4719,8 @@
}
return '';
}
- $r->print("Doing upload to ".$ENV{'form.courseid'}." <br />");
+ my %coursedata=&Apache::lonnet::coursedescription($ENV{'form.domainid'}.'_'.$ENV{'form.courseid'});
+ $r->print("Doing upload to ".$coursedata{'description'}." <br />");
my $home=&Apache::lonnet::homeserver($ENV{'form.courseid'},
$ENV{'form.domainid'});
my $fname=$ENV{'form.upfile.filename'};