version 1.34, 2017/01/20 06:23:37
|
version 1.35, 2018/06/24 04:11:12
|
Line 208
|
Line 208
|
delete($helper->{'VARS'}{'startreserve'}); |
delete($helper->{'VARS'}{'startreserve'}); |
delete($helper->{'VARS'}{'endreserve'}); |
delete($helper->{'VARS'}{'endreserve'}); |
delete($helper->{'VARS'}{'maxspace'}); |
delete($helper->{'VARS'}{'maxspace'}); |
delete($helper->{'VARS'}{'startunique'}); |
|
delete($helper->{'VARS'}{'endunique'}); |
|
</exec> |
</exec> |
|
<message> |
|
</p><p>Period of time when this slot can only be uniquely assigned:<br /> Start: |
|
</message> |
|
<date variable="startunique" hoursminutes="1" anytime="1"> |
|
<defaultvalue> |
|
my $default=&{$helper->{DATA}{origslot}}('uniqueperiod','anytime'); |
|
if ($default eq 'anytime') { return 'anytime' }; |
|
if (ref($default)) { return $default->[0]; } |
|
return 'anytime'; |
|
</defaultvalue> |
|
</date> |
|
<message><br /> End: </message> |
|
<date variable="endunique" hoursminutes="1" anytime="1"> |
|
<defaultvalue> |
|
my $default=&{$helper->{DATA}{origslot}}('uniqueperiod','anytime'); |
|
if ($default eq 'anytime') { return 'anytime' }; |
|
if (ref($default)) { return $default->[1]; } |
|
return 'anytime'; |
|
</defaultvalue> |
|
<validator> |
|
if (defined($val) && $val < $helper->{'VARS'}{'startunique'}) { |
|
return 'End time must be later than the start time.'; |
|
} |
|
return undef; |
|
</validator> |
|
</date> |
</condition> |
</condition> |
|
|
<message> |
<message> |
</p><p>Proctored access: |
</p><p>Proctored access: |
</message> |
</message> |