From: Mike G. v. a. <we...@ma...> - 2005-12-26 23:56:38
|
Log Message: ----------- Turn off debugging. Allow the theme to be edited for each course. (This is slightly dangerous since a misspelling of the theme could cause troubles.) It would be helpful to have a pop-up menu widget for Config.pm -- similar to the boolean or permission pop ups, but where the values can be specified. Modified Files: -------------- webwork-modperl/lib/WeBWorK: Constants.pm Revision Data ------------- Index: Constants.pm =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/Constants.pm,v retrieving revision 1.36 retrieving revision 1.37 diff -Llib/WeBWorK/Constants.pm -Llib/WeBWorK/Constants.pm -u -r1.36 -r1.37 --- lib/WeBWorK/Constants.pm +++ lib/WeBWorK/Constants.pm @@ -31,7 +31,7 @@ # If true, WeBWorK::Debug will print debugging output. # -$WeBWorK::Debug::Enabled = 1; +$WeBWorK::Debug::Enabled = 0; # If non-empty, debugging output will be sent to the file named rather than STDERR. # @@ -51,7 +51,7 @@ # For example, this pattern allow only some function being worked on to log: # $WeBWorK::Debug::AllowSubroutineOutput = qr/^WeBWorK::SomePkg::myFunc$/; # -$WeBWorK::Debug::AllowSubroutineOutput = qr/^WeBWorK::ContentGenerator::Instructor::UserDetail::initialize$/; +$WeBWorK::Debug::AllowSubroutineOutput = undef; ################################################################################ # WeBWorK::ContentGenerator::Hardcopy @@ -132,6 +132,10 @@ doc => 'Name of course information file', doc2 => 'The name of course information file (located in the templates directory). Its contents are displayed in the right panel next to the list of homework sets.', type => 'text'}, + { var => 'defaultTheme', + doc => 'Theme. choices: (math, ur)', + doc2 => 'The name of course information file (located in the templates directory). Its contents are displayed in the right panel next to the list of homework sets.', + type => 'text'}, { var => 'sessionKeyTimeout', doc => 'Inactivity time before a user is required to login again', doc2 => 'Length of time, in seconds, a user has to be inactive before he is required to login again.<p> This value should be entered as a number, so as 3600 instead of 60*60 for one hour', |