version 1.122.2.3, 2014/03/03 20:45:05
|
version 1.125, 2014/02/03 18:52:30
|
Line 52 package Apache::lonproblemstatistics;
|
Line 52 package Apache::lonproblemstatistics;
|
use strict; |
use strict; |
use Apache::lonnet; |
use Apache::lonnet; |
use Apache::loncommon(); |
use Apache::loncommon(); |
|
use Apache::lonquickgrades(); |
use Apache::lonhtmlcommon; |
use Apache::lonhtmlcommon; |
use Apache::loncoursedata; |
use Apache::loncoursedata; |
use Apache::lonstatistics; |
use Apache::lonstatistics; |
Line 182 my @Fields = (
|
Line 183 my @Fields = (
|
format => '%d', |
format => '%d', |
sortable => 'yes', |
sortable => 'yes', |
graphable => 'yes', |
graphable => 'yes', |
long_title => 'Minimum Number of Tries', |
long_title => 'Minumum Number of Tries', |
selectable => 'yes', |
selectable => 'yes', |
defaultselected => 'yes', |
defaultselected => 'yes', |
}, |
}, |
Line 438 my @SeqFields = (
|
Line 439 my @SeqFields = (
|
format => '%4.2f', |
format => '%4.2f', |
sortable => 'no', |
sortable => 'no', |
graphable => 'no', |
graphable => 'no', |
long_title => 'Minimum Sequence Score', |
long_title => 'Minumum Sequence Score', |
selectable => 'yes', |
selectable => 'yes', |
defaultselected => 'no', |
defaultselected => 'no', |
}, |
}, |
Line 493 my @SeqFields = (
|
Line 494 my @SeqFields = (
|
format => '%4.2f', |
format => '%4.2f', |
sortable => 'no', |
sortable => 'no', |
graphable => 'no', |
graphable => 'no', |
long_title => 'Minimum Number of Correct Problems', |
long_title => 'Minumum Number of Correct Problems', |
selectable => 'yes', |
selectable => 'yes', |
defaultselected => 'no', |
defaultselected => 'no', |
}, |
}, |
Line 589 sub field_selection_input {
|
Line 590 sub field_selection_input {
|
$Str .= '<option value="all">'.&mt('all').'</option>'."\n"; |
$Str .= '<option value="all">'.&mt('all').'</option>'."\n"; |
foreach my $field (@Fields) { |
foreach my $field (@Fields) { |
next if ($field->{'selectable'} ne 'yes'); |
next if ($field->{'selectable'} ne 'yes'); |
$Str .= ' <option value="'.$field->{'name'}.'"'; |
$Str .= ' <option value="'.$field->{'name'}.'" '; |
if ($field->{'selected'} eq 'yes') { |
if ($field->{'selected'} eq 'yes') { |
$Str .= ' selected="selected"'; |
$Str .= 'selected="selected" '; |
} |
} |
$Str .= '>'.&mt($field->{'title'}).'</option>'."\n"; |
$Str .= '>'.&mt($field->{'title'}).'</option>'."\n"; |
} |
} |
Line 704 sub BuildProblemStatisticsPage {
|
Line 705 sub BuildProblemStatisticsPage {
|
# Finally let the user know we are here |
# Finally let the user know we are here |
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Overall Problem Statistics', |
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Overall Problem Statistics', |
'Statistics_Overall_Key')); |
'Statistics_Overall_Key')); |
|
&Apache::lonquickgrades::startGradeScreen($r,'statistics'); |
|
|
my $interface = &CreateInterface($r); |
my $interface = &CreateInterface($r); |
$r->print($interface); |
$r->print($interface); |