version 1.12, 2004/04/27 17:58:35
|
version 1.16, 2006/05/16 21:41:18
|
Line 26
|
Line 26
|
|
|
<state name="START" title="Welcome to the Assignment Parameter Helper"> |
<state name="START" title="Welcome to the Assignment Parameter Helper"> |
<message nextstate="CHOOSE_LEVEL"> |
<message nextstate="CHOOSE_LEVEL"> |
<p>This helper will assist you in <b>setting the open, |
|
due, and answer dates</b> for problems, or in |
<p>This helper will assist you in <b>setting the open, due, |
<b>setting the number of tries</b> for problems.</p> |
and answer dates</b> for problems, <b>setting the problem |
|
weights</b>, or in <b>setting the number of tries</b> for |
|
problems.</p> |
|
|
<p>You will be asked to <b>select which problems</b> you wish to |
<p>You will be asked to <b>select which problems</b> you wish to |
set the parameters for, then <b>what parameter</b> you |
set the parameters for, then <b>what parameter</b> you |
Line 73
|
Line 75
|
<state name="CHOOSE_RESOURCE" title="Select Problem"> |
<state name="CHOOSE_RESOURCE" title="Select Problem"> |
<message>Select the problem you wish to set the parameter for:</message> |
<message>Select the problem you wish to set the parameter for:</message> |
|
|
<resource variable="RESOURCE_ID" nextstate="CHOOSE_ACTION"> |
<resource variable="RESOURCE_ID" nextstate="CHOOSE_ACTION" addparts="true"> |
<nextstate>CHOOSE_ACTION</nextstate> |
<nextstate>CHOOSE_ACTION</nextstate> |
<filterfunc>return $res->is_map || $res->is_problem()</filterfunc> |
<filterfunc>return $res->is_map || $res->is_problem()</filterfunc> |
<choicefunc>return $res->is_problem()</choicefunc> |
<choicefunc>return $res->is_problem()</choicefunc> |
Line 146
|
Line 148
|
. . . for <b>all students</b> in the course</choice> |
. . . for <b>all students</b> in the course</choice> |
<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> |
|
<clause>return 1 if (&Apache::loncommon::coursegroups())</clause> |
|
<choice computer="group" nextstate="CHOOSE_GROUP"> |
|
. . . for a particular <b>group</b></choice> |
|
</condition> |
<choice computer="student" nextstate="CHOOSE_STUDENT"> |
<choice computer="student" nextstate="CHOOSE_STUDENT"> |
. . . for an individual <b>student</b></choice> |
. . . for an individual <b>student</b></choice> |
</choices> |
</choices> |
Line 159
|
Line 166
|
<section variable="SECTION_NAME" nextstate="FINISH" /> |
<section variable="SECTION_NAME" nextstate="FINISH" /> |
</state> |
</state> |
|
|
|
<state name="CHOOSE_GROUP" title="Select Group"> |
|
<eval> |
|
return 'Please select the group you wish to set the ' . |
|
&{$helper->{DATA}->{'dateType'}}() . |
|
' for:<br />';</eval> |
|
<group variable="GROUP_NAME" nextstate="FINISH" /> |
|
</state> |
|
|
|
|
<state name="CHOOSE_STUDENT" title="Select Student"> |
<state name="CHOOSE_STUDENT" title="Select Student"> |
<eval> |
<eval> |
return 'Please select the student you wish to set the ' . |
return 'Please select the student you wish to set the ' . |