[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Instructor.pm Repository:
ViewVC logotype

Diff of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 830 Revision 831
1################################################################################
2# WeBWorK mod_perl (c) 2000-2002 WeBWorK Project
3# $Id$
4################################################################################
5
6package WeBWorK::ContentGenerator::Instructor; 1package WeBWorK::ContentGenerator::Instructor;
7use base qw(WeBWorK::ContentGenerator); 2use base qw(WeBWorK::ContentGenerator);
8 3
9=head1 NAME 4=head1 NAME
10 5
11WeBWorK::ContentGenerator::Instructor - Menu interface to the Instructor pages 6WeBWorK::ContentGenerator::Instructor - Abstract superclass for the Instructor pages
12 7
13=cut 8=cut
14 9
15use strict; 10use strict;
16use warnings; 11use warnings;
17use CGI qw(); 12use CGI qw();
18 13
19sub title {
20 my $self = shift;
21 return "Instructor tools for ".$self->{ce}->{courseName};
22}
23
24sub body {
25 my $self = shift;
26 my $userEditorURL = "userEditor/?" . $self->url_args;
27 my $problemSetEditorURL = "problemSetEditor/?" . $self->url_args;
28
29 return CGI::p("\n".
30 CGI::a({href=>$userEditorURL}, "User Editor"). CGI::br(). "\n".
31 CGI::a({href=>$problemSetEditorURL}, "Problem Set Editor").CGI::br()."\n"
32 )
33}
34 14
351; 151;
36
37__END__
38
39=head1 AUTHOR
40
41Written by Dennis Lambe Jr., malsyned (at) math.rochester.edu
42
43=cut

Legend:
Removed from v.830  
changed lines
  Added in v.831

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9