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

bisitz bisitz at source.lon-capa.org
Mon Feb 3 13:50:59 EST 2014


bisitz		Mon Feb  3 18:50:59 2014 EDT

  Modified files:              
    /loncom/interface/statistics	lonproblemanalysis.pm 
  Log:
  - Fix typo (div)
  - XHTML
  
  
  
Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.144 loncom/interface/statistics/lonproblemanalysis.pm:1.145
--- loncom/interface/statistics/lonproblemanalysis.pm:1.144	Tue Oct  1 14:52:47 2013
+++ loncom/interface/statistics/lonproblemanalysis.pm	Mon Feb  3 18:50:58 2014
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemanalysis.pm,v 1.144 2013/10/01 14:52:47 bisitz Exp $
+# $Id: lonproblemanalysis.pm,v 1.145 2014/02/03 18:50:58 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1262,7 +1262,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>'
             );
@@ -1954,11 +1954,11 @@
     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