--- loncom/interface/domainprefs.pm 2008/12/18 16:58:26 1.80 +++ loncom/interface/domainprefs.pm 2009/01/27 15:59:30 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.80 2008/12/18 16:58:26 raeburn Exp $ +# $Id: domainprefs.pm,v 1.85 2009/01/27 15:59:30 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -39,7 +39,7 @@ use Apache::lonlocal; use Apache::lonmsg(); use LONCAPA qw(:DEFAULT :match); use LONCAPA::Enrollment; -use LONCAPA::loncgi(); +use LONCAPA::lonauthcgi(); use File::Copy; use Locale::Language; use DateTime::TimeZone; @@ -1330,7 +1330,7 @@ sub print_quotas { '  '; } $datatable .= '('.&mt('overrides affiliation'). - ')'; + ')'; $$rowtotal += $typecount; return $datatable; } @@ -1894,7 +1894,7 @@ sub usercreation_types { any => 'Any', official => 'Institutional only ', unofficial => 'Non-institutional only', - email => 'Email address', + email => 'E-mail address', login => 'Institutional Login', sso => 'SSO', none => 'None', @@ -2373,7 +2373,7 @@ sub print_serverstatuses { } } } - my $titles= &LONCAPA::loncgi::serverstatus_titles(); + my $titles= &LONCAPA::lonauthcgi::serverstatus_titles(); my $rownum = 0; my $css_class; foreach my $type (@pages) { @@ -3619,10 +3619,8 @@ sub modify_quotas { &Apache::lonnet::usertools_access($env{'user.name'}, $env{'user.domain'}, $item,'reload'); - if ($env{'environment.tools.'.$item} ne '') { - if ($env{'environment.availabletools.'.$item} ne $newacc) { - $newenv{'environment.availabletools.'.$item} = $newacc; - } + if ($env{'environment.availabletools.'.$item} ne $newacc) { + $newenv{'environment.availabletools.'.$item} = $newacc; } $resulttext .= '
  • '.$titles{$item}.'