--- loncom/html/adm/helper/parameter.helper 2010/03/16 15:12:36 1.19 +++ loncom/html/adm/helper/parameter.helper 2015/08/16 00:21:28 1.21 @@ -1,4 +1,4 @@ - + # 'dateTypeHash' should really be renamed now that we have tries... @@ -144,8 +144,11 @@ ' for ...'); - - . . . for all students in the course + + return 1 if ($env{'request.course.sec'} eq '') + + . . . for all students in the course + . . . for a particular section @@ -154,7 +157,7 @@ . . . for a particular group - . . . for an individual student + . . . for an individual student or user @@ -163,7 +166,7 @@ return &mt('Please select the section you wish to set the ' . &{$helper->{DATA}->{'dateType'}}() . ' for:').'
'; -
+
@@ -175,12 +178,12 @@ - + - return &mt('Please select the student you wish to set the ' . + return &mt('Please select the person you wish to set the ' . &{$helper->{DATA}->{'dateType'}}() . ' for:').'
';
- +