[system] / branches / rel-2-3-dev / webwork2 / lib / WeBWorK / ContentGenerator / Instructor / SetMaker.pm Repository:
ViewVC logotype

Diff of /branches/rel-2-3-dev/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm

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

Revision 4204 Revision 4205
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm,v 1.65 2006/07/08 01:52:01 gage Exp $ 4# $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm,v 1.66 2006/07/08 14:07:35 gage 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.
25=cut 25=cut
26 26
27use strict; 27use strict;
28use warnings; 28use warnings;
29 29
30
30use CGI qw(-nosticky ); 31use CGI qw(-nosticky);
31use WeBWorK::Debug; 32use WeBWorK::Debug;
32use WeBWorK::Form; 33use WeBWorK::Form;
33use WeBWorK::Utils qw(readDirectory max sortByName); 34use WeBWorK::Utils qw(readDirectory max sortByName);
34use WeBWorK::Utils::Tasks qw(renderProblems); 35use WeBWorK::Utils::Tasks qw(renderProblems);
35use File::Find; 36use File::Find;
1295 print CGI::hidden(-name=>"all_past_list$j", -value=>$pg_files[$j]); 1296 print CGI::hidden(-name=>"all_past_list$j", -value=>$pg_files[$j]);
1296 } 1297 }
1297 1298
1298 print CGI::hidden(-name=>'first_shown', -value=>[$first_shown]); 1299 print CGI::hidden(-name=>'first_shown', -value=>[$first_shown]);
1299 debug("last_shown 11: ", $last_shown); 1300 debug("last_shown 11: ", $last_shown);
1301
1300 debug("last_shown hidden field: ", CGI::hidden(-name=>'last_shown', -value=>$last_shown)); 1302 debug("last_shown hidden field: ", CGI::hidden(-name=>'last_shown', -value=>$last_shown, -override=>1));
1301 print CGI::hidden(-name=>'last_shown', -value=>[$last_shown]); 1303 print CGI::hidden(-name=>'last_shown', -value=>[$last_shown], -override=>1);
1302 1304
1303 1305
1304 ########## Now print problems 1306 ########## Now print problems
1305 my $jj; 1307 my $jj;
1306 for ($jj=0; $jj<scalar(@pg_html); $jj++) { 1308 for ($jj=0; $jj<scalar(@pg_html); $jj++) {

Legend:
Removed from v.4204  
changed lines
  Added in v.4205

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9