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

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

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

Revision 1513 Revision 1514
9=head1 NAME 9=head1 NAME
10 10
11WeBWorK::ContentGenerator::Problem - Allow a student to interact with a problem. 11WeBWorK::ContentGenerator::Problem - Allow a student to interact with a problem.
12 12
13=cut 13=cut
14my $timer0_ON=1; # times pg translation phase 14my $timer0_ON=0; # times pg translation phase
15use strict; 15use strict;
16use warnings; 16use warnings;
17use CGI qw(); 17use CGI qw();
18use File::Path qw(rmtree); 18use File::Path qw(rmtree);
19use WeBWorK::Form; 19use WeBWorK::Form;
772 dir => $ce->{courseDirs}->{html_temp}, 772 dir => $ce->{courseDirs}->{html_temp},
773 url => $ce->{courseURLs}->{html_temp}, 773 url => $ce->{courseURLs}->{html_temp},
774 basename => $basename, 774 basename => $basename,
775 latex => $ce->{externalPrograms}->{latex}, 775 latex => $ce->{externalPrograms}->{latex},
776 dvipng => $ce->{externalPrograms}->{dvipng}, 776 dvipng => $ce->{externalPrograms}->{dvipng},
777 useCache => 1,
778 cacheDir => $ce->{webworkDirs}->{equationCache},
779 cacheURL => $ce->{webworkURLs}->{equationCache},
780 cacheDB => $ce->{webworkFiles}->{equationCacheDB},
777 ); 781 );
778 782
779 my $header; 783 my $header;
780 #$header .= CGI::th("Part"); 784 #$header .= CGI::th("Part");
781 $header .= $showAttemptAnswers ? CGI::th("Entered") : ""; 785 $header .= $showAttemptAnswers ? CGI::th("Entered") : "";

Legend:
Removed from v.1513  
changed lines
  Added in v.1514

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9