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

raeburn raeburn@source.lon-capa.org
Fri, 12 Dec 2008 05:03:40 -0000


raeburn		Fri Dec 12 05:03:40 2008 EDT

  Modified files:              
    /loncom/interface/statistics	lonsurveyreports.pm 
  Log:
  - Unbalanced HTML tags.
  - Eliminate unecessary concatenation. 
  
  
Index: loncom/interface/statistics/lonsurveyreports.pm
diff -u loncom/interface/statistics/lonsurveyreports.pm:1.21 loncom/interface/statistics/lonsurveyreports.pm:1.22
--- loncom/interface/statistics/lonsurveyreports.pm:1.21	Thu Dec 11 14:55:27 2008
+++ loncom/interface/statistics/lonsurveyreports.pm	Fri Dec 12 05:03:39 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsurveyreports.pm,v 1.21 2008/12/11 14:55:27 bisitz Exp $
+# $Id: lonsurveyreports.pm,v 1.22 2008/12/12 05:03:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -214,7 +214,7 @@
             '<td><span class="LC_nobreak">'.
             '<label for="'.$id.'">'.$problem->{'res'}->compTitle.' ('.$problem->{'seq'}->compTitle.')'.'</label>'.
             ('&nbsp;'x2).
-            '<a target="preview" href="'.$link.'">'.&mt('View survey').'</a>'.'</span></td></tr>'.$/;
+            '<a target="preview" href="'.$link.'">'.&mt('View survey').'</a></span></td></tr>'.$/;
     }
     $Str .= '</table>';
     return $Str;
@@ -339,7 +339,7 @@
     } else {
         $r->print('<p class="LC_warning">'
                  .&mt('There is no essay or string response data to output for this survey.')
-                 .'</h2>');
+                 .'</p>');
     }
     $r->rflush();
     return;