Diff for /loncom/interface/lonmodifycourse.pm between versions 1.44 and 1.45

version 1.44, 2009/05/08 17:22:17 version 1.45, 2009/06/09 13:26:35
Line 245  sub print_settings_display { Line 245  sub print_settings_display {
             'back' => "Back to options page",              'back' => "Back to options page",
     );      );
   
     my @bgcolors = ('#eeeeee','#cccccc');  
     my $cctitle = &Apache::lonnet::plaintext('cc',$type);      my $cctitle = &Apache::lonnet::plaintext('cc',$type);
     my $dctitle = &Apache::lonnet::plaintext('dc');      my $dctitle = &Apache::lonnet::plaintext('dc');
     my @modifiable_params = &get_dc_settable();      my @modifiable_params = &get_dc_settable();
Line 271  sub print_settings_display { Line 270  sub print_settings_display {
     &print_header($r,$cdesc);      &print_header($r,$cdesc);
     $r->print('      $r->print('
 <h3>'.$lt{'caes'}.$cdesc.'</h3>  <h3>'.$lt{'caes'}.$cdesc.'</h3>
 <p>  
 <form action="/adm/modifycourse" method="post" name="viewparms">  <form action="/adm/modifycourse" method="post" name="viewparms">
 '.$lt{'cose'}.'<ul><li>'.&mt('Settings that can be modified by a [_1] using the <a href="/adm/populate">Automated Enrollment Manager</a>.',$cctitle).'</li><li>'.&mt('Settings that may only be modified by a [_1] from this menu.',$dctitle).'</li></ul>  <p>
   '.$lt{'cose'}.'
   <ul><li>
   '.&mt('Settings that can be modified by a [_1] using the [_2]Automated Enrollment Manager[_3].'
        ,$cctitle,'<a href="/adm/populate">','</a>').'
   </li><li>
   '.&mt('Settings that may only be modified by a [_1] from this menu.',$dctitle).'
   </li></ul>
 </p><p>  </p><p>
 '.$lt{'cour'}.'  '.$lt{'cour'}.'
 </p><p>  </p><p>
Line 282  sub print_settings_display { Line 287  sub print_settings_display {
 <a href="javascript:changePage(document.viewparms,'."'menu'".')">'.$lt{'back'}.'</a>&nbsp;&nbsp;&nbsp;&nbsp;  <a href="javascript:changePage(document.viewparms,'."'menu'".')">'.$lt{'back'}.'</a>&nbsp;&nbsp;&nbsp;&nbsp;
 <a href="javascript:changePage(document.viewparms,'."'setparms'".')">'.&mt('Modify [_1]-only settings',$dctitle).'</a>'."\n".  <a href="javascript:changePage(document.viewparms,'."'setparms'".')">'.&mt('Modify [_1]-only settings',$dctitle).'</a>'."\n".
 &hidden_form_elements().  &hidden_form_elements().
 '</form>');  '</p></form>');
 }  }
   
 sub print_setquota {  sub print_setquota {
Line 410  all settings except course code, course Line 415  all settings except course code, course
             'deus' => "The default authentication method, and default authentication parameter (domain, initial password or argument) are used when automatic enrollment of students in a course requires addition of new user accounts in your domain, and the class list file contains empty entries for the &lt;authtype&gt; and &lt;autharg&gt; properties for the new student. If you choose 'internally authenticated', and leave the initial password field empty, the automated enrollment process will create a randomized password for each new student account that it adds to your LON-CAPA domain.",              'deus' => "The default authentication method, and default authentication parameter (domain, initial password or argument) are used when automatic enrollment of students in a course requires addition of new user accounts in your domain, and the class list file contains empty entries for the &lt;authtype&gt; and &lt;autharg&gt; properties for the new student. If you choose 'internally authenticated', and leave the initial password field empty, the automated enrollment process will create a randomized password for each new student account that it adds to your LON-CAPA domain.",
             'gobt' => "Save",              'gobt' => "Save",
     );      );
     my @bgcolors = ('#eeeeee','#cccccc');  
   
     my @coursepersonnel = &Apache::lonnet::getkeys('nohist_userroles',$cdom,$cnum);      my @coursepersonnel = &Apache::lonnet::getkeys('nohist_userroles',$cdom,$cnum);
     my @local_ccs = ();      my @local_ccs = ();
Line 636  sub modify_course { Line 640  sub modify_course {
     }      }
     if ( $newattr{'authtype'}=~ /^krb/) {      if ( $newattr{'authtype'}=~ /^krb/) {
         if ($newattr{'autharg'}  eq '') {          if ($newattr{'autharg'}  eq '') {
             $warning = qq(<font color="red" size="+1">).              $warning = '<p class="LC_warning">'
     &mt("As you did not include the default Kerberos domain to be used for authentication in this class, the institutional data used by the automated enrollment process must include the Kerberos domain for each new student").qq(</font></p>);                        .&mt('As you did not include the default Kerberos domain'
                             .' to be used for authentication in this class, the'
                             .' institutional data used by the automated'
                             .' enrollment process must include the Kerberos'
                             .' domain for each new student.')
                         .'</p>';
         }          }
     }      }
   

Removed from v.1.44  
changed lines
  Added in v.1.45


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