From: Mike G. v. a. <we...@ma...> - 2009-09-25 00:52:47
|
Log Message: ----------- added the download_hardcopy_view_errors =>"professor", switch to determine what level of permission is needed to see errors from producing hardcopy. Tags: ---- rel-2-4-patches 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.189.2.7.2.12 retrieving revision 1.189.2.7.2.13 diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.189.2.7.2.12 -r1.189.2.7.2.13 --- conf/global.conf.dist +++ conf/global.conf.dist @@ -49,7 +49,7 @@ # Paths to external programs ################################################################################ -# system utilties +# system utilities $externalPrograms{mv} = "/bin/mv"; $externalPrograms{cp} = "/bin/cp"; $externalPrograms{rm} = "/bin/rm"; @@ -161,6 +161,10 @@ $mail{editor_window_rows} = 15; $mail{editor_window_columns} = 100; +################################################### +# Customizing the action of the "Email your instructor" button +################################################### + # Use this to customize the text of the feedback button. $feedback_button_name = "Email instructor"; @@ -168,6 +172,21 @@ # section as the user initiating the feedback. $feedback_by_section = 0; +# If the variable below is set to a non-empty value (i.e. in course.conf), WeBWorK's usual +# email feedback mechanism will be replaced with a link to the given URL. +# See also $feedback_button_name, above. + +$courseURLs{feedbackURL} = ""; + +# If the variable below is set to a non-empty value (i.e. in course.conf), +# WeBWorK's usual email feedback mechanism will be replaced with a link to the given URL and +# a POST request with information about the problem including the HTML rendering +# of the problem will be sent to that URL. +# See also $feedback_button_name, above. + +#$courseURLs{feedbackFormURL} = "http://www.mathnerds.com/MathNerds/mmn/SDS/askQuestion.aspx"; #"http://www.tipjar.com/cgi-bin/test"; +$courseURLs{feedbackFormURL} = ""; + ################################################################################ # Theme ################################################################################ @@ -299,10 +318,6 @@ # Location of temporary editing files. $courseDirs{tmpEditFileDir} = "$courseDirs{templates}/tmpEdit"; -# If this is set to a non-empty value (i.e. in course.conf), WeBWorK's usual -# email feedback mechanism will be replaced with a link to the given URL. -# See also $feedback_button_name, above. -$courseURLs{feedbackURL} = ""; # mail merge status directory $courseDirs{mailmerge} = "$courseDirs{DATA}/mailmerge"; @@ -709,6 +724,7 @@ download_hardcopy_multiuser => "ta", download_hardcopy_multiset => "ta", + download_hardcopy_view_errors =>"professor", download_hardcopy_format_pdf => "guest", download_hardcopy_format_tex => "ta", ); @@ -936,6 +952,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} = { |