--- loncom/homework/lonhomework.pm 2009/06/30 10:18:47 1.313 +++ loncom/homework/lonhomework.pm 2009/07/06 17:55:32 1.315 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.313 2009/06/30 10:18:47 bisitz Exp $ +# $Id: lonhomework.pm,v 1.315 2009/07/06 17:55:32 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1101,15 +1101,21 @@ sub get_template_list { } my $count = 0; my $currentcategory=''; + my $first = 1; foreach my $file (@files) { next if ($file->[1] !~ /\S/); if ($file->[2] ne $currentcategory) { $currentcategory=$file->[2]; if ((!$seconddiv) && ($count >= $midpoint)) { - $result .= ''."\n".'
- -".&mt("To create a new $extension, select a template from the". - " list below. Then click on the \"Create $extension\" button.").' -