| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork-modperl/lib/WeBWorK.pm,v 1.43 2004/01/25 19:56:09 gage Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK.pm,v 1.44 2004/02/06 17:27:07 sh002i Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 237 | $courseID ($courseID) - list of sets |
237 | $courseID ($courseID) - list of sets |
| 238 | hardcopy (Hardcopy Generator) - generate hardcopy for user/set pairs |
238 | hardcopy (Hardcopy Generator) - generate hardcopy for user/set pairs |
| 239 | options (User Options) - change email address and password |
239 | options (User Options) - change email address and password |
| 240 | feedback (Feedback) - send feedback to professor via email |
240 | feedback (Feedback) - send feedback to professor via email |
| 241 | logout (Logout) - expire session and erase authentication tokens |
241 | logout (Logout) - expire session and erase authentication tokens |
| 242 | test (Test) - display request information |
242 | #test (Test) - display request information |
| 243 | quiz_mode (Quiz) - "quiz" containing all problems from a set |
243 | quiz_mode (Quiz) - "quiz" containing all problems from a set |
| 244 | instructor (Instructor Tools) - main menu for instructor tools |
244 | instructor (Instructor Tools) - main menu for instructor tools |
| 245 | add_users (Add Users) - to be removed |
245 | add_users (Add Users) - to be removed |
| 246 | scoring (Scoring Tools) - generate scoring files for problem sets |
246 | scoring (Scoring Tools) - generate scoring files for problem sets |
| 247 | scoringDownload - send a scoring file to the client |
247 | scoringDownload - send a scoring file to the client |
| … | |
… | |
| 284 | } |
284 | } |
| 285 | elsif ($arg eq "logout") { |
285 | elsif ($arg eq "logout") { |
| 286 | $contentGenerator = "WeBWorK::ContentGenerator::Logout"; |
286 | $contentGenerator = "WeBWorK::ContentGenerator::Logout"; |
| 287 | @arguments = (); |
287 | @arguments = (); |
| 288 | } |
288 | } |
| 289 | elsif ($arg eq "test") { |
289 | #elsif ($arg eq "test") { |
| 290 | $contentGenerator = "WeBWorK::ContentGenerator::Test"; |
290 | # $contentGenerator = "WeBWorK::ContentGenerator::Test"; |
| 291 | @arguments = (); |
291 | # @arguments = (); |
| 292 | } |
292 | } |
| 293 | elsif ($arg eq "quiz_mode" ) { |
293 | elsif ($arg eq "quiz_mode" ) { |
| 294 | $contentGenerator = "WeBWorK::ContentGenerator::GatewayQuiz"; |
294 | $contentGenerator = "WeBWorK::ContentGenerator::GatewayQuiz"; |
| 295 | @arguments = @components; |
295 | @arguments = @components; |
| 296 | } |
296 | } |