version 1.19, 2008/10/30 17:45:25
|
version 1.20, 2008/12/01 17:23:40
|
Line 569 sub make_HTML_report {
|
Line 569 sub make_HTML_report {
|
sprintf("%.2f",$count/$total*100).'%</td>'. |
sprintf("%.2f",$count/$total*100).'%</td>'. |
&Apache::loncommon::end_data_table_row().$/; |
&Apache::loncommon::end_data_table_row().$/; |
} |
} |
$Str .= &Apache::loncommon::start_data_table_row(). |
$Str.='<tr>' |
'<th>'.&mt('Foil Name').'</th>'. |
.'<td colspan="3">' |
'<th>'.&mt('Text').'</th>'. |
.&Apache::loncommon::start_data_table() |
'<th>'.&mt('Freq').'</th>'. |
.&Apache::loncommon::start_data_table_header_row() |
'<th>'.&mt('Percent').'</th>'. |
.'<th>'.&mt('Foil Name').'</th>' |
&Apache::loncommon::end_data_table_row().$/. |
.'<th>'.&mt('Text').'</th>' |
$tmp; |
.'<th>'.&mt('Frequency').'</th>' |
|
.'<th>'.&mt('Percent').'</th>' |
|
.&Apache::loncommon::end_data_table_header_row().$/ |
|
.$tmp |
|
.&Apache::loncommon::end_data_table() |
|
.'</td></tr>'; |
} |
} |
$Str.= &Apache::loncommon::end_data_table().'<hr />'; |
$Str.= '</table>'; |
$r->print($Str); |
$r->print($Str); |
$r->rflush(); |
$r->rflush(); |
} |
} |