version 1.21, 2015/08/16 00:21:28
|
version 1.23, 2016/03/05 21:49:52
|
Line 53
|
Line 53
|
<choice computer="whole_course" nextstate="CHOOSE_ACTION"> |
<choice computer="whole_course" nextstate="CHOOSE_ACTION"> |
Course default for all problems |
Course default for all problems |
</choice> |
</choice> |
|
<condition> |
|
<clause>return 1 if (&Apache::lonnet::get_server_loncaparev($env{'course.'.$env{'request.course.id'}.'.home'}) >= 2.12)</clause> |
|
<choice computer="maprecurse" nextstate="CHOOSE_FOLDER"> |
|
Every problem in a particular folder and (recursively) for sub-folders |
|
(overrides course default) |
|
</choice> |
|
<condition> |
<choice computer="map" nextstate="CHOOSE_FOLDER"> |
<choice computer="map" nextstate="CHOOSE_FOLDER"> |
Every problem in a particular folder (overrides course default) |
Every problem in a particular folder (overrides course default) |
</choice> |
</choice> |
Line 152
|
Line 159
|
<choice computer="section" nextstate="CHOOSE_SECTION"> |
<choice computer="section" nextstate="CHOOSE_SECTION"> |
. . . for a particular <b>section</b></choice> |
. . . for a particular <b>section</b></choice> |
<condition> |
<condition> |
<clause>return 1 if (&Apache::longroup::coursegroups())</clause> |
<clause>return 1 if (($env{'request.course.groups'} ne '') || (&Apache::lonnet::allowed('mdg',$env{'request.course.id'}) && (&Apache::longroup::coursegroups())))</clause> |
<choice computer="group" nextstate="CHOOSE_GROUP"> |
<choice computer="group" nextstate="CHOOSE_GROUP"> |
. . . for a particular <b>group</b></choice> |
. . . for a particular <b>group</b></choice> |
</condition> |
</condition> |
Line 174
|
Line 181
|
return &mt('Please select the group you wish to set the ' . |
return &mt('Please select the group you wish to set the ' . |
&{$helper->{DATA}->{'dateType'}}() . |
&{$helper->{DATA}->{'dateType'}}() . |
' for:').'<br />';</eval> |
' for:').'<br />';</eval> |
<group variable="GROUP_NAME" nextstate="FINISH" /> |
<group variable="GROUP_NAME" nextstate="FINISH" grouponly="1" /> |
</state> |
</state> |
|
|
|
|