version 1.96, 2025/01/27 19:07:58
|
version 1.97, 2025/02/21 20:55:17
|
Line 200 sub end_itemgroup {
|
Line 200 sub end_itemgroup {
|
if ($i % $columns == 0) { |
if ($i % $columns == 0) { |
$table.='<tr>'; |
$table.='<tr>'; |
} |
} |
$table.= '<td>'.$label.'</td><td>'.$item.'</td>'; |
$table.= '<th>'.$label.'</th><td>'.$item.'</td>'; |
if ($columns > 1) { |
if ($columns > 1) { |
$table .= '<td> </td>'; |
$table .= '<td> </td>'; |
} |
} |
Line 745 sub displayfoils {
|
Line 745 sub displayfoils {
|
} |
} |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
if ($Apache::lonhomework::type ne 'exam') { |
if ($Apache::lonhomework::type ne 'exam') { |
$question.="<br />\n".$optionlist.$text.'</label>'; |
$question.='<div class="LC_matchfoil">'."\n".$optionlist.$text.'</label></div>'; |
} else { |
} else { |
$question.="<br />\n".$text; |
$question.="<br />\n".$text; |
} |
} |