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

bisitz bisitz@source.lon-capa.org
Mon, 12 Apr 2010 16:28:22 -0000


bisitz		Mon Apr 12 16:28:22 2010 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentsubmissions.pm 
  Log:
  XHTML:
  - Output format: "selected" attribute; optimized spacing
  - Replaced invalid <p> construct by simple <br />
  
  
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.58 loncom/interface/statistics/lonstudentsubmissions.pm:1.59
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.58	Mon Apr 12 16:19:34 2010
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Mon Apr 12 16:28:22 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.58 2010/04/12 16:19:34 bisitz Exp $
+# $Id: lonstudentsubmissions.pm,v 1.59 2010/04/12 16:28:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1097,7 +1097,7 @@
     foreach ('HTML','Excel','CSV') {
         $output_selector .= '    <option value="'.lc($_).'"';
         if ($env{'form.output'} eq lc($_)) {
-            $output_selector .= ' selected ';
+            $output_selector .= ' selected="selected"';
         }
         $output_selector .='>'.&mt($_).'</option>'.$/;
     } 
@@ -1106,7 +1106,7 @@
     ## Environment variable initialization
     my $Str = '';
     $Str .= &Apache::lonhtmlcommon::breadcrumbs('Student Submission Reports');
-    $Str .= '<p>';
+    $Str .= '<br />';
     $Str .= &Apache::loncommon::start_data_table();
     $Str .= &Apache::loncommon::start_data_table_header_row();
     $Str .= '<th>'.&mt('Sections').'</th>';
@@ -1190,7 +1190,6 @@
                     '<input type="text" name="stats_status"'
                    .' size="60" value="" readonly="readonly" />')
            .'</span></p>';
-    $Str .= '</p>';
     ##
     return $Str;
 }