[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface/statistics lonproblemanalysis.pm

raeburn raeburn at source.lon-capa.org
Wed Feb 26 22:11:14 EST 2014


raeburn		Thu Feb 27 03:11:14 2014 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface/statistics	lonproblemanalysis.pm 
  Log:
  - For 2.11
    - Backport 1.145, 1.146.
  
  
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.142.2.3 loncom/interface/statistics/lonproblemanalysis.pm:1.142.2.4
--- loncom/interface/statistics/lonproblemanalysis.pm:1.142.2.3	Mon Dec 30 14:19:58 2013
+++ loncom/interface/statistics/lonproblemanalysis.pm	Thu Feb 27 03:11:14 2014
@@ -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.142.2.4 2014/02/27 03:11:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1260,7 +1260,7 @@
             $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 +1947,16 @@
         $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>'.




More information about the LON-CAPA-cvs mailing list