--- loncom/interface/domainprefs.pm 2009/08/23 12:40:50 1.102.2.2 +++ loncom/interface/domainprefs.pm 2009/08/23 17:36:53 1.102.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.102.2.2 2009/08/23 12:40:50 raeburn Exp $ +# $Id: domainprefs.pm,v 1.102.2.3 2009/08/23 17:36:53 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1348,15 +1348,15 @@ sub print_quotas { $datatable .= ''. ''.&mt('LON-CAPA Advanced Users').' '; if ($context eq 'requestcourses') { - $datatable .= &mt('(overrides affiliation, if set)'); - } else { - $datatable .= &mt('(overrides affiliation, if checked)'); - } - $datatable .= ''. - if ($context eq 'requestcourses') { - $datatable .= ''; + $datatable .= &mt('(overrides affiliation, if set)'). + ''. + '
'. + ''; } else { - $datatable .= '
'; + $datatable .= &mt('(overrides affiliation, if checked)'). + ''. + '
'. + '
'; } my %advcell; foreach my $item (@usertools) { @@ -2663,6 +2663,7 @@ sub coursecategories_javascript { } $output = <<"ENDSCRIPT"; ENDSCRIPT