--- loncom/interface/statistics/lonstudentsubmissions.pm 2008/12/12 05:52:26 1.52 +++ loncom/interface/statistics/lonstudentsubmissions.pm 2010/01/14 17:20:51 1.56 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentsubmissions.pm,v 1.52 2008/12/12 05:52:26 raeburn Exp $ +# $Id: lonstudentsubmissions.pm,v 1.56 2010/01/14 17:20:51 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -285,7 +285,7 @@ sub prepare_html_output { $headers{'part'} .= qq{$tmpname}; $nonempty_part_headers = 1; } else { - $headers{'part'} .= qq{ }; + $headers{'part'} .= qq{ }; } $prob_span += $part_span; } @@ -931,11 +931,13 @@ sub prepare_csv_output { time.'_'.rand(1000000000).'.csv'; unless ($outputfile = Apache::File->new('>/home/httpd'.$filename)) { $r->log_error("Couldn't open $filename for output $!"); - $r->print('
' - .&mt('Problems occurred in writing the CSV file. ' - .'This error has been logged. ' - .'Please alert your LON-CAPA administrator.') - .'
'); + $r->print( + '

' + .&mt('Problems occurred in writing the CSV file.') + .' '.&mt('This error has been logged.') + .' '.&mt('Please alert your LON-CAPA administrator.') + .'

' + ); $outputfile = undef; } # @@ -1096,7 +1098,6 @@ sub CreateInterface { $Str .= ''.&mt('Sections').''; $Str .= ''.&mt('Groups').''; $Str .= ''.&mt('Access Status').''; -# $Str .= ''.&mt('Output as [_1]',$output_selector).''; $Str .= ''.&mt('Options').''; $Str .= ''.&mt('Output Format').''; $Str .= &Apache::loncommon::end_data_table_header_row(); @@ -1144,18 +1145,21 @@ sub CreateInterface { } $prob_status_checkbox .= 'value="true" />'; # - $Str .= ''. - '
'. - '
'. - '
'. - '
'. - ''; + $Str .= + '' + .'
' + .'
' + .'
' + .'' + .''; # $Str .= ''.$output_selector.''; #