From: Mike G. v. a. <we...@ma...> - 2005-02-06 15:34:29
|
Log Message: ----------- Backporting entries that support CSS and the new blank problem snippet. Tags: ---- rel-2-1-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.111.2.4 retrieving revision 1.111.2.5 diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.111.2.4 -r1.111.2.5 --- conf/global.conf.dist +++ conf/global.conf.dist @@ -28,7 +28,7 @@ ################################################################################ # Set these variables to correspond to your configuration and preferences. You -# will need to restart the webserver to reset the variables in this section +# will need to restart the webserver to reset the variables in this section. # URL of WeBWorK handler. $webwork_url = "/webwork2"; @@ -49,6 +49,7 @@ ################################################################################ $externalPrograms{mkdir} = "/bin/mkdir"; +$externalPrograms{mv} = "/bin/mv"; $externalPrograms{mysql} = "/usr/local/bin/mysql"; $externalPrograms{latex} = "/usr/local/bin/latex"; @@ -162,6 +163,9 @@ # URL of WeBWorK Bugzilla database. $webworkURLs{bugReporter} = "http://bugs.webwork.rochester.edu/"; +# Location of CSS +$webworkURLs{stylesheet} = "$webworkURLs{htdocs}/css/ur.css"; + # Location of jsMath script, used for the jsMath display mode. $webworkURLs{jsMath} = "$webworkURLs{htdocs}/jsMath/jsMath.js"; @@ -252,6 +256,9 @@ # The set header is displayed on the problem set page. It is a PG file. $webworkFiles{screenSnippets}{setHeader} = "$webworkDirs{conf}/snippets/setHeader.pg"; # screenSetHeader.pg" +# A PG template for creation of new problems. +$webworkFiles{screenSnippets}{blankProblem} = "$webworkDirs{conf}/snippets/blankProblem.pg"; # screenSetHeader.pg" + ################################################################################ # Course-specific files ################################################################################ @@ -407,10 +414,11 @@ ################################################################################ # This lets you specify a minimum permission level needed to perform certain -# actions. In the current system, >=10 will allow a professor to perform the -# action, >=5 will allow a TA to, and >=0 will allow a student to perform an -# action (almost never what you want). +# actions. For each pair in the hash below, in order to perform the action +# described by the key, the user must have a permission level greater than or +# equal to the value. +my $guest = -1; my $student = 0; my $ta = 5; my $professor = 10; |