From: Arnie P. v. a. <we...@ma...> - 2009-08-29 12:55:05
|
Log Message: ----------- Allow users to specify default values for max_attempts and value of a problem Modified Files: -------------- webwork2/conf: global.conf.dist Revision Data ------------- Index: global.conf.dist =================================================================== RCS file: /webwork/cvs/system/webwork2/conf/global.conf.dist,v retrieving revision 1.213 retrieving revision 1.214 diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.213 -r1.214 --- conf/global.conf.dist +++ conf/global.conf.dist @@ -936,6 +936,19 @@ [qw(Applet FlashApplet JavaApplet)], ]; +##### Problem creation defaults + +# The default weight (also called value) of a problem to use when using the +# Library Browser, Problem Editor or Hmwk Sets Editor to add problems to a set +# or when this value is left blank in an imported set definition file. +$problemDefaults{value} = 1; + +# The default max_attempts for a problem to use when using the +# Library Browser, Problem Editor or Hmwk Sets Editor to add problems to a set +# or when this value is left blank in an imported set definition file. Note that +# setting this to -1 gives students unlimited attempts. +$problemDefaults{max_attempts} = -1; + ##### Answer evaluatior defaults $pg{ansEvalDefaults} = { |