--- loncom/interface/domainprefs.pm 2009/08/23 12:40:50 1.102.2.2 +++ loncom/interface/domainprefs.pm 2009/10/09 02:00:21 1.102.2.5 @@ -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.5 2009/10/09 02:00:21 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 $checked = ''; if ($curroption eq '') { @@ -2636,7 +2633,7 @@ sub print_serverstatuses { sub serverstatus_pages { return ('userstatus','lonstatus','loncron','server-status','codeversions', 'clusterstatus','metadata_keywords','metadata_harvest', - 'takeoffline','takeonline','showenv'); + 'takeoffline','takeonline','showenv','toggledebug'); } sub coursecategories_javascript { @@ -2663,6 +2660,7 @@ sub coursecategories_javascript { } $output = <<"ENDSCRIPT"; ENDSCRIPT
'. + '
'; } my %advcell; foreach my $item (@usertools) { @@ -1370,9 +1370,6 @@ sub print_quotas { } } } - if (!$curroption) { - $curroption = 'norequest'; - } $datatable .= '
'.$titles{$item}.'