version 1.19, 2006/05/16 21:03:42
|
version 1.20, 2006/06/25 21:57:56
|
Line 157
|
Line 157
|
delete($helper->{'VARS'}{'endunique'}); |
delete($helper->{'VARS'}{'endunique'}); |
</exec> |
</exec> |
</condition> |
</condition> |
|
|
|
<message> |
|
</p><p>Proctored access: |
|
</message> |
|
<choices variable="useproctor"> |
|
<choice computer='no'>No proctor checkin required for access.</choice> |
|
<choice computer='yes'>Require proctored checkin for access.</choice> |
|
<defaultvalue> |
|
my $default=&{$helper->{DATA}{origslot}}('proctor'); |
|
if ($default) { return 'yes'; } |
|
return 'no'; |
|
</defaultvalue> |
|
</choices> |
|
|
<message> |
<message> |
</p><p>Secret word proctors use to checkin users:<br /> |
</p><p>Secret word proctors use to checkin users:<br /> |
</message> |
</message> |
Line 211
|
Line 225
|
|
|
<state name="PROCTOR" title="Specify Proctors"> |
<state name="PROCTOR" title="Specify Proctors"> |
|
|
<nextstate>FINISH</nextstate> |
<skip> |
|
<clause>$helper->{'VARS'}{'useproctor'} eq 'no'</clause> |
<condition> |
<nextstate>RESTRICTUSER</nextstate> |
<clause>$helper->{'VARS'}{'type'} eq 'schedulable_student'</clause> |
</skip> |
<nextstate>RESTRICTUSER</nextstate> |
|
</condition> |
|
|
|
<choices variable="useproctor"> |
<nextstate>RESTRICTUSER</nextstate> |
<choice computer='no'>No proctor checkin required for access.</choice> |
|
<choice computer='yes'>Require proctored access.</choice> |
|
<defaultvalue> |
|
my $default=&{$helper->{DATA}{origslot}}('proctor'); |
|
if ($default) { return 'yes'; } |
|
return 'no'; |
|
</defaultvalue> |
|
</choices> |
|
|
|
<student variable="proctor" multichoice="1" coursepersonnel="1" |
<student variable="proctor" multichoice="1" coursepersonnel="1" |
activeonly="1" emptyallowed="1"> |
activeonly="1" emptyallowed="1"> |
Line 243
|
Line 247
|
|
|
|
|
<state name="RESTRICTUSER" title="Restrict slot availability"> |
<state name="RESTRICTUSER" title="Restrict slot availability"> |
|
<skip> |
|
<clause>$helper->{'VARS'}{'type'} ne 'schedulable_student'</clause> |
|
<nextstate>FINISH</nextstate> |
|
</skip> |
|
|
<nextstate>FINISH</nextstate> |
<nextstate>FINISH</nextstate> |
<message> |
<message> |
<p>Slots are by default available to all users in a course, if you would like this slot to be restricted to a subset of users you can specify restrictions.</p> |
<p>Slots are by default available to all users in a course, if you would like this slot to be restricted to a subset of users you can specify restrictions.</p> |