Diff for /loncom/interface/domainprefs.pm between versions 1.180 and 1.182

version 1.180, 2012/12/20 13:15:36 version 1.182, 2013/01/04 05:37:05
Line 436  sub handler { Line 436  sub handler {
         my ($configuserok,$author_ok,$switchserver) =          my ($configuserok,$author_ok,$switchserver) =
             &config_check($dom,$confname,$servadm);              &config_check($dom,$confname,$servadm);
         unless ($configuserok eq 'ok') {          unless ($configuserok eq 'ok') {
             &Apache::lonconfigsettings::print_header($r,$phase,$context).              &Apache::lonconfigsettings::print_header($r,$phase,$context);
             &mt('The domain configuration user "[_1]" has yet to be created.',              $r->print(&mt('The domain configuration user "[_1]" has yet to be created.',
                 $confname).                             $confname).
             '<br />';                        '<br />'
               );
             if ($switchserver) {              if ($switchserver) {
                 &mt('Ordinarily, that domain configuration user is created when the ./UPDATE script is run to install LON-CAPA for the first time.').                  $r->print(&mt('Ordinarily, that domain configuration user is created when the ./UPDATE script is run to install LON-CAPA for the first time.').
                 '<br />'.                            '<br />'.
                 &mt('However, that does not apply when new domains are added to a multi-domain server, and ./UPDATE has not been run recently.').                            &mt('However, that does not apply when new domains are added to a multi-domain server, and ./UPDATE has not been run recently.').
                 '<br />'.                            '<br />'.
                 &mt('The "[_1]" user can be created automatically when a Domain Coordinator visits the web-based "Set domain configuration" screen, in a session hosted on the primary library server.',$confname).                            &mt('The "[_1]" user can be created automatically when a Domain Coordinator visits the web-based "Set domain configuration" screen, in a session hosted on the primary library server.',$confname).
                 '<br />'.                            '<br />'.
                 &mt("To do that now, use the following link: [_1],$switchserver);                            &mt('To do that now, use the following link: [_1]',$switchserver)
                   );
             } else {              } else {
                 &mt('To create that user from the command line run the ./UPDATE script found in the top level directory of the extracted LON-CAPA tarball.').                  $r->print(&mt('To create that user from the command line run the ./UPDATE script found in the top level directory of the extracted LON-CAPA tarball.').
                 '<br />'.                            '<br />'.
                 &mt('Once that is done, you will be able to use the web-based "Set domain configuration" to configure the domain');                            &mt('Once that is done, you will be able to use the web-based "Set domain configuration" to configure the domain')
                   );
             }              }
             $r->print(&Apache::loncommon::end_page());              $r->print(&Apache::loncommon::end_page());
             return OK;              return OK;
Line 3038  sub print_loadbalancing { Line 3041  sub print_loadbalancing {
                                '<table><tr>'.$targettable.'</tr></table><br />';                                 '<table><tr>'.$targettable.'</tr></table><br />';
             }              }
         }          }
         my $cssidx = $balnum%2;   
         $datatable .= '</div></td></tr>'.          $datatable .= '</div></td></tr>'.
                       &loadbalancing_rules($dom,$intdom,$currrules{$lonhost},                        &loadbalancing_rules($dom,$intdom,$currrules{$lonhost},
                                            $othertitle,$usertypes,$types,\%servers,                                             $othertitle,$usertypes,$types,\%servers,

Removed from v.1.180  
changed lines
  Added in v.1.182


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