[system] / trunk / webwork-modperl / lib / WeBWorK / ContentGenerator / Instructor / UserList.pm Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/UserList.pm

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

Revision 1014 Revision 1015
9 9
10use strict; 10use strict;
11use warnings; 11use warnings;
12use CGI qw(); 12use CGI qw();
13 13
14sub initialize {
15 my ($self, $setID) = @_;
16 my $r = $self->{r};
17 if (defined $r->param('assignToAll')) {
18 $self->assignSetToAllUsers($setID);
19 }
20}
21
14sub body { 22sub body {
15 my ($self) = @_; 23 my ($self, $setID) = @_;
16 my $r = $self->{r}; 24 my $r = $self->{r};
17 print CGI::start_form({method=>"post", action=>$r->uri}); 25 print CGI::start_form({method=>"post", action=>$r->uri});
26 print $self->hidden_authen_fields;
18 print CGI::submit({name=>"assignToAll", value=>"Assign to All Users"}); 27 print CGI::submit({name=>"assignToAll", value=>"Assign to All Users"});
19 print CGI::end_form(); 28 print CGI::end_form();
20 29
21 return ""; 30 return "";
22} 31}

Legend:
Removed from v.1014  
changed lines
  Added in v.1015

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9