| … | |
… | |
| 27 | use WeBWorK::ContentGenerator::Instructor::ProblemSetEditor; |
27 | use WeBWorK::ContentGenerator::Instructor::ProblemSetEditor; |
| 28 | use WeBWorK::ContentGenerator::Instructor::ProblemSetList; |
28 | use WeBWorK::ContentGenerator::Instructor::ProblemSetList; |
| 29 | use WeBWorK::ContentGenerator::Instructor::UserList; |
29 | use WeBWorK::ContentGenerator::Instructor::UserList; |
| 30 | use WeBWorK::ContentGenerator::Instructor::SendMail; |
30 | use WeBWorK::ContentGenerator::Instructor::SendMail; |
| 31 | use WeBWorK::ContentGenerator::Instructor::ShowAnswers; |
31 | use WeBWorK::ContentGenerator::Instructor::ShowAnswers; |
|
|
32 | use WeBWorK::ContentGenerator::Instructor::Scoring; |
| 32 | use WeBWorK::ContentGenerator::Login; |
33 | use WeBWorK::ContentGenerator::Login; |
| 33 | use WeBWorK::ContentGenerator::Logout; |
34 | use WeBWorK::ContentGenerator::Logout; |
| 34 | use WeBWorK::ContentGenerator::Options; |
35 | use WeBWorK::ContentGenerator::Options; |
| 35 | use WeBWorK::ContentGenerator::Problem; |
36 | use WeBWorK::ContentGenerator::Problem; |
| 36 | use WeBWorK::ContentGenerator::ProblemSet; |
37 | use WeBWorK::ContentGenerator::ProblemSet; |
| … | |
… | |
| 139 | return $result; |
140 | return $result; |
| 140 | } elsif ($arg eq "instructor") { |
141 | } elsif ($arg eq "instructor") { |
| 141 | my $instructorArgument = shift @components; |
142 | my $instructorArgument = shift @components; |
| 142 | if (!defined $instructorArgument) { |
143 | if (!defined $instructorArgument) { |
| 143 | $result = WeBWorK::ContentGenerator::Instructor::Index->new($r, $ce, $db)->go; |
144 | $result = WeBWorK::ContentGenerator::Instructor::Index->new($r, $ce, $db)->go; |
|
|
145 | } elsif ($instructorArgument eq "scoring") { |
|
|
146 | $result = WeBWorK::ContentGenerator::Instructor::Scoring->new($r, $ce, $db)->go; |
| 144 | } elsif ($instructorArgument eq "users") { |
147 | } elsif ($instructorArgument eq "users") { |
| 145 | $result = WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
148 | $result = WeBWorK::ContentGenerator::Instructor::UserList->new($r, $ce, $db)->go; |
| 146 | } elsif ($instructorArgument eq "sets") { |
149 | } elsif ($instructorArgument eq "sets") { |
| 147 | my $setID = shift @components; |
150 | my $setID = shift @components; |
| 148 | if (defined $setID) { |
151 | if (defined $setID) { |