--- loncom/interface/lonmodifycourse.pm 2009/05/08 17:22:17 1.44 +++ loncom/interface/lonmodifycourse.pm 2009/06/09 13:26:35 1.45 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # handler for DC-only modifiable course settings # -# $Id: lonmodifycourse.pm,v 1.44 2009/05/08 17:22:17 raeburn Exp $ +# $Id: lonmodifycourse.pm,v 1.45 2009/06/09 13:26:35 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -245,7 +245,6 @@ sub print_settings_display { 'back' => "Back to options page", ); - my @bgcolors = ('#eeeeee','#cccccc'); my $cctitle = &Apache::lonnet::plaintext('cc',$type); my $dctitle = &Apache::lonnet::plaintext('dc'); my @modifiable_params = &get_dc_settable(); @@ -271,9 +270,15 @@ sub print_settings_display { &print_header($r,$cdesc); $r->print('

'.$lt{'caes'}.$cdesc.'

-

-'.$lt{'cose'}.' +

+'.$lt{'cose'}.' +

'.$lt{'cour'}.'

@@ -282,7 +287,7 @@ sub print_settings_display { '.$lt{'back'}.'     '.&mt('Modify [_1]-only settings',$dctitle).''."\n". &hidden_form_elements(). -'

'); +'

'); } sub print_setquota { @@ -410,7 +415,6 @@ 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 <authtype> and <autharg> 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", ); - my @bgcolors = ('#eeeeee','#cccccc'); my @coursepersonnel = &Apache::lonnet::getkeys('nohist_userroles',$cdom,$cnum); my @local_ccs = (); @@ -636,8 +640,13 @@ sub modify_course { } if ( $newattr{'authtype'}=~ /^krb/) { if ($newattr{'autharg'} eq '') { - $warning = qq(). - &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(

); + $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.') + .'

'; } }