--- loncom/interface/domainprefs.pm 2008/07/13 00:00:50 1.63 +++ loncom/interface/domainprefs.pm 2008/07/19 02:28:44 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.63 2008/07/13 00:00:50 raeburn Exp $ +# $Id: domainprefs.pm,v 1.64 2008/07/19 02:28:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -393,7 +393,10 @@ sub print_config_box { if (($action eq 'autoupdate') || ($action eq 'rolecolors') || ($action eq 'usercreation') || ($action eq 'usermodification') || ($action eq 'coursecategories')) { - my $colspan = ($action eq 'rolecolors')?' colspan="2"':''; + my $colspan = ''; + if (($action eq 'rolecolors') || ($action eq 'coursecategories')) { + $colspan = ' colspan="2"'; + } $output .= ' @@ -423,7 +426,6 @@ sub print_config_box { '; - my $colspan = ($action eq 'coursecategories')?' colspan="2"':''; $output .= ' ';
'.&mt($item->{'header'}->[1]->{'col1'}).''.&mt($item->{'header'}->[1]->{'col2'}).'