--- loncom/html/adm/helper/newslot.helper 2023/07/07 04:18:18 1.30.4.1.4.2 +++ loncom/html/adm/helper/newslot.helper 2019/03/02 16:25:52 1.30.6.1 @@ -208,34 +208,11 @@ delete($helper->{'VARS'}{'startreserve'}); delete($helper->{'VARS'}{'endreserve'}); delete($helper->{'VARS'}{'maxspace'}); + delete($helper->{'VARS'}{'startunique'}); + delete($helper->{'VARS'}{'endunique'}); - -

Period of time when this slot can only be uniquely assigned:
   Start: - - - - my $default=&{$helper->{DATA}{origslot}}('uniqueperiod','anytime'); - if ($default eq 'anytime') { return 'anytime' }; - if (ref($default)) { return $default->[0]; } - return 'anytime'; - - -
   End:
- - - my $default=&{$helper->{DATA}{origslot}}('uniqueperiod','anytime'); - if ($default eq 'anytime') { return 'anytime' }; - if (ref($default)) { return $default->[1]; } - return 'anytime'; - - - if (defined($val) && $val < $helper->{'VARS'}{'startunique'}) { - return 'End time must be later than the start time.'; - } - return undef; - - +

Proctored access: @@ -274,9 +251,9 @@ return 'any'; - + -

IP restrictions -- allow from all except:
    +

IP restrictions -- allow from all except:
    @@ -309,7 +286,7 @@ PROCTOR - return $res->is_problem() || $res->is_tool() + return $res->is_problem() return $res->symb() return &{$helper->{DATA}{origslot}}('symb');