version 1.40.2.2, 2019/07/26 14:52:26
|
version 1.40.2.3, 2020/05/22 20:55:45
|
Line 89 use strict;
|
Line 89 use strict;
|
# <disresdis>1</disresdis> |
# <disresdis>1</disresdis> |
# <disablechat>1</disablechat> |
# <disablechat>1</disablechat> |
# <openall></openall> |
# <openall></openall> |
|
# <openallfrom></openallfrom> |
# <notify_dc>1</notify_dc> |
# <notify_dc>1</notify_dc> |
# <notify_owner>1</notify_owner> |
# <notify_owner>1</notify_owner> |
# <owner> |
# <owner> |
Line 272 sub parse_coursereqs {
|
Line 273 sub parse_coursereqs {
|
my $role = ''; |
my $role = ''; |
my @items = ('title','optional_id','coursecode','defaultcredits','coursehome','reshome','nonstandard','adds','drops','topmap','firstres','clonecrs','clonedom','datemode','dateshift','showphotos','setpolicy','setcontent','setcomment','setkeys','keyauth','disresdis','disablechat','openall','notify_owner','notify_dc','crstype','crsquota','uniquecode'); |
my @items = ('title','optional_id','coursecode','defaultcredits','coursehome','reshome','nonstandard','adds','drops','topmap','firstres','clonecrs','clonedom','datemode','dateshift','showphotos','setpolicy','setcontent','setcomment','setkeys','keyauth','disresdis','disablechat','openall','notify_owner','notify_dc','crstype','crsquota','uniquecode'); |
my @possroles = qw(st ad ep ta in cc co); |
my @possroles = qw(st ad ep ta in cc co); |
my @dateitems = ('enrollstart','enrollend','accessstart','accessend'); |
my @dateitems = ('enrollstart','enrollend','accessstart','accessend','openallfrom'); |
my @useritems = ('autharg','authtype','firstname','generation','lastname','middlename','studentID'); |
my @useritems = ('autharg','authtype','firstname','generation','lastname','middlename','studentID'); |
my $p = HTML::Parser->new |
my $p = HTML::Parser->new |
( |
( |
Line 545 sub build_course {
|
Line 546 sub build_course {
|
disresdis => $details->{'disresdis'}, |
disresdis => $details->{'disresdis'}, |
disablechat => $details->{'disablechat'}, |
disablechat => $details->{'disablechat'}, |
openall => $details->{'openall'}, |
openall => $details->{'openall'}, |
|
openallfrom => $details->{'openallfrom'}, |
firstres => $firstres |
firstres => $firstres |
}; |
}; |
if ($details->{'textbook'}) { |
if ($details->{'textbook'}) { |