--- loncom/interface/domainprefs.pm 2015/03/07 23:17:15 1.257 +++ loncom/interface/domainprefs.pm 2015/04/01 23:02:44 1.260 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.257 2015/03/07 23:17:15 raeburn Exp $ +# $Id: domainprefs.pm,v 1.260 2015/04/01 23:02:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2971,6 +2971,10 @@ sub print_coursedefaults { $deftimeout{$type} = $staticdefaults{'postsubmit'}; } } + } else { + foreach my $type (@types) { + $deftimeout{$type} = $staticdefaults{'postsubmit'}; + } } if (!$currdefresponder) { $currdefresponder = $staticdefaults{'anonsurvey_threshold'}; @@ -3015,7 +3019,7 @@ sub print_coursedefaults { next if ($type eq 'community'); $additional .= ''.&mt($type).'
'. ''; + ' value="'.$defcredits{$type}.'" size="3" />'; } $additional .= ''."\n"; %defaultchecked = ('coursecredits' => 'off'); @@ -3033,7 +3037,9 @@ sub print_coursedefaults { $display = 'block'; } $additional = '
'. - ''.&mt('Number of seconds submit is disabled').'
'; + &mt('Number of seconds submit is disabled').'
'. + ''.&mt('Enter 0 to remain disabled until page reload.').'
'. + '
'; foreach my $type (@types) { $additional .= '
'.&mt($type).'
'. '