[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 18 Jun 2003 17:37:11 -0000
albertel Wed Jun 18 13:37:11 2003 EDT
Modified files:
/loncom/homework grades.pm
Log:
- ssi_body instead of ssi
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.98 loncom/homework/grades.pm:1.99
--- loncom/homework/grades.pm:1.98 Wed Jun 18 13:28:35 2003
+++ loncom/homework/grades.pm Wed Jun 18 13:37:10 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.98 2003/06/18 17:28:35 albertel Exp $
+# $Id: grades.pm,v 1.99 2003/06/18 17:37:10 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3428,15 +3428,14 @@
if ($tsymb) {
my ($map,$id,$url)=split(/\_\_\_/,$tsymb);
if (&Apache::lonnet::allowed('mgr',$tcrsid)) {
- $request->print(
- &Apache::lonnet::ssi('/res/'.$url,
- ('grade_username' => $tuname,
- 'grade_domain' => $tudom,
- 'grade_courseid' => $tcrsid,
- 'grade_symb' => $tsymb)));
+ $request->print(&Apache::lonnet::ssi_body('/res/'.$url,
+ ('grade_username' => $tuname,
+ 'grade_domain' => $tudom,
+ 'grade_courseid' => $tcrsid,
+ 'grade_symb' => $tsymb)));
} else {
$request->print('<h3>Not authorized: '.$token.'</h3>');
- }
+ }
} else {
$request->print('<h3>Not a valid DocID: '.$token.'</h3>');
}