--- loncom/homework/grades.pm 2024/12/09 02:46:01 1.798
+++ loncom/homework/grades.pm 2024/12/09 22:01:01 1.800
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.798 2024/12/09 02:46:01 raeburn Exp $
+# $Id: grades.pm,v 1.800 2024/12/09 22:01:01 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1458,7 +1458,7 @@ sub do_passback {
'format' => $scoretype,
'scope' => $scope,
'clientip' => $pb{'clientip'},
- 'linkprot' => $linkprotector,
+ 'linkprot' => $linkprotector.':'.$linkuri,
'total' => $total,
'possible' => $possible,
'score' => $score,
@@ -1836,7 +1836,7 @@ sub process_passbacks {
'format' => $pb{'scoretype'},
'scope' => $pb{'scope'},
'clientip' => $pb{'clientip'},
- 'linkprot' => $pb{'linkprotector'},
+ 'linkprot' => $pb{'linkprotector'}.':'.$pb{'linkuri'},
'total_s' => \%total_by_symb,
'possible_s' => \%possible_by_symb,
};
@@ -1908,7 +1908,7 @@ sub process_passbacks {
'format' => $pb{'scoretype'},
'scope' => $pb{'scope'},
'clientip' => $pb{'clientip'},
- 'linkprot' => $pb{'linkprotector'},
+ 'linkprot' => $pb{'linkprotector'}.':'.$pb{'linkuri'},
'total' => $total,
'possible' => $possible,
'score' => $score,
@@ -4249,16 +4249,17 @@ sub processHandGrade {
} else {
$pbcollab{$collaborator}{$part} = [$pts,$wgt];
if ($message ne '') {
- my ($baseurl,$showsymb) =
- &get_feedurl_and_symb($symb,$collaborator,
- $udom);
- if ($env{'form.withgrades'.$ctr}) {
- $messagetail = " for $restitle";
+ my ($baseurl,$showsymb) =
+ &get_feedurl_and_symb($symb,$collaborator,
+ $udom);
+ if ($env{'form.withgrades'.$ctr}) {
+ $messagetail = " for $restitle";
+ }
+ $msgstatus =
+ &Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle);
}
- $msgstatus =
- &Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle);
- }
+ }
}
}
}