--- loncom/interface/statistics/lonproblemanalysis.pm 2004/01/08 19:20:12 1.53
+++ loncom/interface/statistics/lonproblemanalysis.pm 2004/01/16 20:19:33 1.56
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemanalysis.pm,v 1.53 2004/01/08 19:20:12 matthew Exp $
+# $Id: lonproblemanalysis.pm,v 1.56 2004/01/16 20:19:33 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -42,8 +42,13 @@ my $plotcolors = ['#33ff00',
'#66ccff', '#ff9999', '#cccc33', '#660000', '#33cc66',
];
-my @SubmitButtons = ({ name => 'ProblemAnalyis',
+my @SubmitButtons = ({ name => 'PrevProblemAnalysis',
+ text => 'Previous Problem' },
+ { name => 'ProblemAnalysis',
text => 'Analyze Problem Again' },
+ { name => 'NextProblemAnalysis',
+ text => 'Next Problem' },
+ { name => 'break'},
{ name => 'ClearCache',
text => 'Clear Caches' },
{ name => 'updatecaches',
@@ -112,34 +117,54 @@ sub BuildProblemAnalysisPage {
if (exists($ENV{'form.problemchoice'}) &&
! exists($ENV{'form.SelectAnother'})) {
foreach my $button (@SubmitButtons) {
- $r->print('{'text'}).'" />');
- $r->print(' 'x5);
+ if ($button->{'name'} eq 'break') {
+ $r->print("
\n");
+ } else {
+ $r->print('{'text'}).'" />');
+ $r->print(' 'x5);
+ }
}
- $r->print('');
#
$r->print('