--- loncom/html/adm/helper/parameter.helper 2005/06/07 21:19:57 1.14
+++ loncom/html/adm/helper/parameter.helper 2009/07/08 17:55:07 1.18
@@ -104,7 +104,7 @@
if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) {
- return &mt('" [_1] " is not an acceptable weight. Weight must be a positive number.',$element->getValue());
+ return &mt('[_1] is not an acceptable weight. Weight must be a positive number.','"'.$element->getValue().'"');
}
return undef;
@@ -118,7 +118,7 @@
if ($val !~ /^[1234567890]+$/) {
- return &mt('" [_1] " is not an acceptable number of tries. Tries must be a positive number with no decimal point.',$element->getValue());}
+ return &mt('[_1] is not an acceptable number of tries. Tries must be a positive number with no decimal point.','"'.$element->getValue().'"');}
return undef;
@@ -148,6 +148,11 @@
. . . for all students in the course
. . . for a particular section
+
+ return 1 if (&Apache::longroup::coursegroups())
+
+ . . . for a particular group
+
. . . for an individual student
@@ -161,6 +166,15 @@
+
+
+ return 'Please select the group you wish to set the ' .
+ &{$helper->{DATA}->{'dateType'}}() .
+ ' for:
';
+
+
+
+
return 'Please select the student you wish to set the ' .