[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm lonparmset.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Thu, 17 Jul 2003 15:16:45 -0000
matthew Thu Jul 17 11:16:45 2003 EDT
Modified files:
/loncom/interface loncreatecourse.pm lonparmset.pm
Log:
Added 'grading' parameter to course creation and course parameters.
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.24 loncom/interface/loncreatecourse.pm:1.25
--- loncom/interface/loncreatecourse.pm:1.24 Mon Jun 16 09:51:46 2003
+++ loncom/interface/loncreatecourse.pm Thu Jul 17 11:16:45 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.24 2003/06/16 13:51:46 www Exp $
+# $Id: loncreatecourse.pm,v 1.25 2003/07/17 15:16:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -248,6 +248,9 @@
#
$envflag=1;
$cenv{'rndseed'}=&Apache::lonnet::latest_rnd_algorithm_id();;
+ #
+ # By default, use standard grading
+ $cenv{'grading'} = 'standard';
if ($envflag) {
$r->print('Setting environment: '.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.116 loncom/interface/lonparmset.pm:1.117
--- loncom/interface/lonparmset.pm:1.116 Wed Jul 16 15:36:02 2003
+++ loncom/interface/lonparmset.pm Thu Jul 17 11:16:45 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.116 2003/07/16 19:36:02 www Exp $
+# $Id: lonparmset.pm,v 1.117 2003/07/17 15:16:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1480,6 +1480,10 @@
'description' => '<b>Course Description</b>',
'courseid' => '<b>Course ID or number</b><br />'.
'(internal, optional)',
+ 'grading' => '<b>Grading</b>'.
+ '"standard" or any other value. '.
+ 'Default for new courses is "standard".',
+
'default_xml_style' => '<b>Default XML Style File</b> '.
'<a href="javascript:openbrowser'.
"('envform','default_xml_style'".
@@ -1542,7 +1546,7 @@
=> '<b>Disable display of problem receipts</b><br />'.
' ("<tt>yes</tt>" to disable, anything else if not)'
);
- my @Display_Order = ('url','description','courseid',
+ my @Display_Order = ('url','description','courseid','grading',
'default_xml_style','pageseparators',
'question.email','comment.email','policy.email',
'pch.roles.denied','pch.users.denied',