[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm lonparmset.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 03 May 2003 21:30:21 -0000
albertel Sat May 3 17:30:21 2003 EDT
Modified files:
/loncom/interface loncreatecourse.pm lonparmset.pm
Log:
- making new random seed the default
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.20 loncom/interface/loncreatecourse.pm:1.21
--- loncom/interface/loncreatecourse.pm:1.20 Tue Apr 22 17:00:42 2003
+++ loncom/interface/loncreatecourse.pm Sat May 3 17:30:21 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.20 2003/04/22 21:00:42 www Exp $
+# $Id: loncreatecourse.pm,v 1.21 2003/05/03 21:30:21 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -127,6 +127,10 @@
<b>Open all assessments: </b>
<input type="checkbox" name="openall" checked>
</p>
+<p>
+<b>Use new random seed function: </b>
+<input type="checkbox" name="rndseed" checked>
+</p>
<h2>Messaging</h2>
<p>
<b>Set course policy feedback to Course Coordinator: </b>
@@ -239,6 +243,13 @@
if ($ENV{'form.disresdis'}) {
$envflag=1;
$cenv{'pch.roles.denied'}='st';
+ }
+ #
+ # Use new Randomseed
+ #
+ if ($ENV{'form.rndseed'}) {
+ $envflag=1;
+ $cenv{'rndseed'}='64bit';
}
if ($envflag) {
$r->print('Setting environment: '.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.88 loncom/interface/lonparmset.pm:1.89
--- loncom/interface/lonparmset.pm:1.88 Wed Apr 30 11:49:45 2003
+++ loncom/interface/lonparmset.pm Sat May 3 17:30:21 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.88 2003/04/30 15:49:45 matthew Exp $
+# $Id: lonparmset.pm,v 1.89 2003/05/03 21:30:21 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1476,7 +1476,11 @@
",'spreadsheet')\">Browse</a><br />",
'allow_limited_html_in_feedback'
=> '<b>Allow limited HTML in discussion posts</b><br />'.
- '(Set value to yes to allow)'
+ '(Set value to yes to allow)',
+ 'rndseed'
+ => '<b>Random seed algorithm used</b> <br />'.
+ '<font color="red">Modifying this will make problems '.
+ 'display different numbers or correct answer</font>'
);
foreach (keys(%values)) {
unless ($descriptions{$_}) {