--- loncom/interface/statistics/lonproblemanalysis.pm 2013/12/30 14:19:58 1.142.2.3 +++ loncom/interface/statistics/lonproblemanalysis.pm 2014/02/26 17:46:19 1.146 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.142.2.3 2013/12/30 14:19:58 raeburn Exp $ +# $Id: lonproblemanalysis.pm,v 1.146 2014/02/26 17:46:19 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -31,6 +31,7 @@ use Apache::lonnet; use Apache::loncommon(); use Apache::lonhtmlcommon(); use Apache::loncoursedata(); +use Apache::lonquickgrades(); use Apache::lonstatistics; use Apache::lonlocal; use Apache::lonstathelpers(); @@ -74,6 +75,7 @@ sub BuildProblemAnalysisPage { &Apache::lonstatistics::PrepareClasslist(); # $r->print(&Apache::lonhtmlcommon::breadcrumbs('Detailed Problem Analysis')); + &Apache::lonquickgrades::startGradeScreen($r,'statistics'); $r->print(&CreateInterface()); # @@ -1260,7 +1262,7 @@ sub OptionResponseAnalysis { $r->print($analysis_html); $r->rflush(); } else { - $r->print('div class="LC_warning"' + $r->print('<div class="LC_warning">' .&mt('The analysis you have selected is not supported at this time.') .'</div>' ); @@ -1947,16 +1949,16 @@ sub CreateInterface { $showprob_checkbox.' '.&mt('Show problem'). '</label></span><br />'; ## - my $analyze_selector = '<select name="AnalyzeOver" >'; - $analyze_selector .= '<option value="tries" '; + my $analyze_selector = '<select name="AnalyzeOver">'; + $analyze_selector .= '<option value="tries"'; if (! exists($env{'form.AnalyzeOver'}) || $env{'form.AnalyzeOver'} eq 'tries'){ # Default to tries - $analyze_selector .= ' selected="selected" '; + $analyze_selector .= ' selected="selected"'; } $analyze_selector .= '>'.&mt('Tries').'</option>'; - $analyze_selector .= '<option value="time" '; - $analyze_selector .= ' selected ' if ($env{'form.AnalyzeOver'} eq 'time'); + $analyze_selector .= '<option value="time"'; + $analyze_selector .= ' selected="selected"' if ($env{'form.AnalyzeOver'} eq 'time'); $analyze_selector .= '>'.&mt('Time').'</option>'; $analyze_selector .= '</select>'; $Str .= '<span class="LC_nobreak"><label>'.