--- loncom/homework/grades.pm 2004/03/31 05:23:59 1.185
+++ loncom/homework/grades.pm 2004/04/24 08:31:57 1.188
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.185 2004/03/31 05:23:59 albertel Exp $
+# $Id: grades.pm,v 1.188 2004/04/24 08:31:57 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3445,6 +3445,30 @@ sub scantron_scantab {
return $result;
}
+sub scantron_CODElist {
+ my $cdom = $ENV{'course.'.$ENV{'request.course.id'}.'.domain'};
+ my $cnum = $ENV{'course.'.$ENV{'request.course.id'}.'.num'};
+ my @names=&Apache::lonnet::getkeys('CODEs',$cdom,$cnum);
+ my $namechoice='';
+ foreach my $name (@names) {
+ $namechoice.='';
+ }
+ $namechoice='';
+ return $namechoice;
+}
+
+sub scantron_CODEunique {
+ my $result='
- |