Diff for /loncom/homework/lonhomework.pm between versions 1.292 and 1.293

version 1.292, 2008/05/19 20:38:04 version 1.293, 2008/05/19 21:07:33
Line 1102  sub get_template_list { Line 1102  sub get_template_list {
  next if ($file->[1] !~ /\S/);   next if ($file->[1] !~ /\S/);
         if ($file->[2] ne $currentcategory) {          if ($file->[2] ne $currentcategory) {
            $currentcategory=$file->[2];             $currentcategory=$file->[2];
            $count++;  
            if ((!$seconddiv) && ($count >= $midpoint)) {             if ((!$seconddiv) && ($count >= $midpoint)) {
                $result .= '</div>'."\n".'<div class="LC_left_float">'."\n";                 $result .= '</div>'."\n".'<div class="LC_left_float">'."\n";
                $seconddiv = 1;                 $seconddiv = 1;
            }             }
            $result.='<h3>'.$currentcategory.'</h3>';             $result.='<h3>'.$currentcategory.'</h3>';
              $count++;
         }          }
  $result .=   $result .=
     '<label><input type="radio" name="template" value="'.$file->[0].'" />'.      '<label><input type="radio" name="template" value="'.$file->[0].'" />'.

Removed from v.1.292  
changed lines
  Added in v.1.293


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