Diff for /loncom/interface/loncreatecourse.pm between versions 1.92 and 1.93

version 1.92, 2006/06/22 11:25:56 version 1.93, 2006/06/27 21:28:13
Line 369  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 389  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 616  $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 738  $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 814  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 966  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 {

Removed from v.1.92  
changed lines
  Added in v.1.93


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>