Diff for /loncom/homework/matchresponse.pm between versions 1.96 and 1.97

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>&nbsp;</td>';                  $table .= '<td>&nbsp;</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;
  }   }

Removed from v.1.96  
changed lines
  Added in v.1.97


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>