version 1.43, 2008/10/16 16:35:53
|
version 1.43.2.1, 2008/12/12 18:44:32
|
Line 255 sub real_handler {
|
Line 255 sub real_handler {
|
for (my $i = 1; $i < $depth; $i++) { $thisIndent .= $indentString; } |
for (my $i = 1; $i < $depth; $i++) { $thisIndent .= $indentString; } |
|
|
$r->print("$thisIndent$title</td>"); |
$r->print("$thisIndent$title</td>"); |
if ($totalAttempted) { |
if ($totalAttempted) { |
$r->print("<td valign='top'>$thisIndent<nobr>$correct / $attempted / $total</nobr></td>" |
$r->print('<td valign="top">' |
|
.$thisIndent |
|
.'<span class="LC_nobreak">' |
|
.$correct.' / '.$attempted.' / '.$total |
|
.'</span></td>' |
|
.&Apache::loncommon::end_data_table_row() |
|
); |
|
} else { |
|
$r->print('<td valign="top">' |
|
.$thisIndent |
|
.'<span class="LC_nobreak">' |
|
.$correct.' / '.$total |
|
.'</span></td>' |
.&Apache::loncommon::end_data_table_row()); |
.&Apache::loncommon::end_data_table_row()); |
} else { |
} |
$r->print("<td valign='top'>$thisIndent<nobr>$correct / $total</nobr></td>" |
|
.&Apache::loncommon::end_data_table_row()); |
|
} |
|
} |
} |
} |
} |
|
|