--- loncom/html/adm/helper/parameter.helper 2010/03/16 15:12:36 1.19 +++ loncom/html/adm/helper/parameter.helper 2016/03/05 21:49:52 1.23 @@ -1,4 +1,4 @@ - + # 'dateTypeHash' should really be renamed now that we have tries... @@ -53,6 +53,13 @@ Course default for all problems + + return 1 if (&Apache::lonnet::get_server_loncaparev($env{'course.'.$env{'request.course.id'}.'.home'}) >= 2.12) + + Every problem in a particular folder and (recursively) for sub-folders + (overrides course default) + + Every problem in a particular folder (overrides course default) @@ -144,17 +151,20 @@ ' 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 - return 1 if (&Apache::longroup::coursegroups()) + return 1 if (($env{'request.course.groups'} ne '') || (&Apache::lonnet::allowed('mdg',$env{'request.course.id'}) && (&Apache::longroup::coursegroups()))) . . . for a particular group - . . . for an individual student + . . . for an individual student or user @@ -163,7 +173,7 @@ return &mt('Please select the section you wish to set the ' . &{$helper->{DATA}->{'dateType'}}() . ' for:').'
'; -
+
@@ -171,16 +181,16 @@ return &mt('Please select the group you wish to set the ' . &{$helper->{DATA}->{'dateType'}}() . ' for:').'
'; - +
- + - 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:').'
';
- +