--- loncom/interface/lonhelper.pm 2004/06/02 14:55:50 1.82
+++ loncom/interface/lonhelper.pm 2004/08/12 05:44:36 1.85
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.82 2004/06/02 14:55:50 sakharuk Exp $
+# $Id: lonhelper.pm,v 1.85 2004/08/12 05:44:36 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1271,7 +1271,6 @@ BUTTONS
$choiceLabel = eval($choiceLabel);
$choiceLabel = &$choiceLabel($helper, $self);
}
- &Apache::lonnet::logthis("TITLE TRANSLATION >$choiceLabel<");
$result .= "/>
" . &mtn($choiceLabel) . " | \n";
}
$result .= "\n\n\n";
@@ -2189,7 +2188,6 @@ BUTTONS
}
my $name = $self->{'coursepersonnel'} ? &mt('Name') : &mt('Student Name');
- &Apache::lonnet::logthis("THE NAME IS >$name<");
my $type = 'radio';
if ($self->{'multichoice'}) { $type = 'checkbox'; }
$result .= "\n";
@@ -2463,7 +2461,7 @@ BUTTONS
}
# Sort the fileList into order
- @fileList = sort @fileList;
+ @fileList = sort {lc($a) cmp lc($b)} @fileList;
$result .= $buttons;
@@ -2801,6 +2799,8 @@ be able to call methods on it.
=cut
+use Apache::lonlocal;
+
BEGIN {
&Apache::lonhelper::register('Apache::lonhelper::general',
'exec', 'condition', 'clause',