version 1.91, 2006/06/03 21:05:04
|
version 1.93, 2006/06/27 21:28:13
|
Line 238 sub copydbfiles {
|
Line 238 sub copydbfiles {
|
unless |
unless |
($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|gradingqueue|reviewqueue|CODEs)/) { |
($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|gradingqueue|reviewqueue|CODEs)/) { |
©db($origcrsid,$newcrsid,$_); |
©db($origcrsid,$newcrsid,$_); |
my $histfile=$_; |
|
$histfile=~s/\.db$/\.hist/; |
|
©file($origcrsid,$newcrsid,$histfile); |
|
} |
} |
} |
} |
} |
} |
Line 372 function validate(formname) {
|
Line 369 function validate(formname) {
|
'ndcl' => "Notification to domain coordinator via LON-CAPA message when enrollment changes occur during the automated update?", |
'ndcl' => "Notification to domain coordinator via LON-CAPA message when enrollment changes occur during the automated update?", |
'irsp' => "Include retrieval of student photographs?", |
'irsp' => "Include retrieval of student photographs?", |
'rshm' => 'Resource Space Home', |
'rshm' => 'Resource Space Home', |
|
'cgrs' => "Course Group Settings", |
|
'cgrq' => "Set a quota for the total disk space available for storage of course group portfolio files.", |
'opco' => "Open Course", |
'opco' => "Open Course", |
'ginf' => "Group Information", |
'ginf' => "Group Information", |
'gtit' => "Group Title", |
'gtit' => "Group Title", |
Line 392 function validate(formname) {
|
Line 391 function validate(formname) {
|
'gc' => "Group Coordinator", |
'gc' => "Group Coordinator", |
'gid' => "Group ID", |
'gid' => "Group ID", |
'crgr' => "Create Group", |
'crgr' => "Create Group", |
); |
'grts' => "Group Teams Settings", |
|
'grtq' => "Set a quota for the total disk space available for storage of group team portfolio files.", |
|
|
|
); |
my $js = <<END; |
my $js = <<END; |
<script type="text/javascript"> |
<script type="text/javascript"> |
var editbrowser = null; |
var editbrowser = null; |
Line 619 $lt{'ndcl'}<br/>
|
Line 620 $lt{'ndcl'}<br/>
|
<input type="radio" name="showphotos" value="0" checked="true" />$lt{'no'} |
<input type="radio" name="showphotos" value="0" checked="true" />$lt{'no'} |
</label> |
</label> |
</p> |
</p> |
|
<p> |
|
<h2>$lt{'cgrs'}</h2> |
|
$lt{'cgrq'} |
|
<input type="text" name="crsquota" value="20" size="6" />Mb |
|
</p> |
<hr /> |
<hr /> |
<h2>$lt{'cc'}</h2> |
<h2>$lt{'cc'}</h2> |
<p> |
<p> |
Line 741 $lt{'asov'}.
|
Line 747 $lt{'asov'}.
|
<input type="text" name="reshome" size="30" value="/res/$defdom/" /> |
<input type="text" name="reshome" size="30" value="/res/$defdom/" /> |
</label> |
</label> |
</p> |
</p> |
|
<p> |
|
<h2>$lt{'grts'}</h2> |
|
$lt{'grtq'} |
|
<input type="text" name="crsquota" value="20" />Mb |
|
</p> |
<hr /> |
<hr /> |
<h2>$lt{'gc'}</h2> |
<h2>$lt{'gc'}</h2> |
<p> |
<p> |
Line 817 sub create_course {
|
Line 828 sub create_course {
|
course_home => $env{'form.course_home'}, |
course_home => $env{'form.course_home'}, |
nonstandard => $env{'form.nonstandard'}, |
nonstandard => $env{'form.nonstandard'}, |
crscode => $env{'form.crscode'}, |
crscode => $env{'form.crscode'}, |
|
crsquota => $env{'form.crsquota'}, |
clonecourse => $env{'form.clonecourse'}, |
clonecourse => $env{'form.clonecourse'}, |
clonedomain => $env{'form.clonedomain'}, |
clonedomain => $env{'form.clonedomain'}, |
crsid => $env{'form.crsid'}, |
crsid => $env{'form.crsid'}, |
Line 969 sub construct_course {
|
Line 981 sub construct_course {
|
if ($args->{'crscode'}) { |
if ($args->{'crscode'}) { |
$cenv{'internal.coursecode'}=$args->{'crscode'}; |
$cenv{'internal.coursecode'}=$args->{'crscode'}; |
} |
} |
|
if ($args->{'crsquota'} ne '') { |
|
$cenv{'internal.coursequota'}=$args->{'crsquota'}; |
|
} else { |
|
$cenv{'internal.coursequota'}=$args->{'crsquota'} = 20; |
|
} |
if ($args->{'ccuname'}) { |
if ($args->{'ccuname'}) { |
$cenv{'internal.courseowner'} = $args->{'ccuname'}; |
$cenv{'internal.courseowner'} = $args->{'ccuname'}; |
} else { |
} else { |