[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 27 Mar 2003 21:26:08 -0000
albertel Thu Mar 27 16:26:08 2003 EDT
Modified files:
/loncom/homework grades.pm
Log:
- Fixes #1308, need to pass problem symb along in URL, and URL already contains /res
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.77 loncom/homework/grades.pm:1.78
--- loncom/homework/grades.pm:1.77 Thu Mar 27 15:36:01 2003
+++ loncom/homework/grades.pm Thu Mar 27 16:26:07 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.77 2003/03/27 20:36:01 ng Exp $
+# $Id: grades.pm,v 1.78 2003/03/27 21:26:07 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1359,7 +1359,7 @@
}
$message =~ s/<([^>]|\n)*>//g; # removes html codes Or should this be lonnet::escape ??
$message.="\n\nPoint".($pts > 1 ? 's':'').' awarded = '.$pts.' out of '.$wgt;
- $message.=" for <a href=\"/res/$url\">$ENV{'form.probTitle'}</a>";
+ $message.=" for <a href=\"$url?symb=$symb\">$ENV{'form.probTitle'}</a>";
$msgstatus = &Apache::lonmsg::user_normal_msg ($uname,$udom,
$ENV{'form.msgsub'},$message);
}