--- loncom/interface/courseprefs.pm 2022/09/08 01:41:13 1.115 +++ loncom/interface/courseprefs.pm 2022/10/19 00:03:10 1.117 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.115 2022/09/08 01:41:13 raeburn Exp $ +# $Id: courseprefs.pm,v 1.117 2022/10/19 00:03:10 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4006,10 +4006,7 @@ sub display_loncaparev_constraints { } } } - my $suppmap = 'supplemental.sequence'; - my ($suppcount,$supptools,$errors) = (0,0,0); - ($suppcount,$supptools,$errors) = &Apache::loncommon::recurse_supplemental($cnum,$cdom, - $suppmap,$suppcount,$supptools,$errors); + my $supptools = &Apache::lonnet::count_supptools($cnum,$cdom,1,1); my $mapres_header = '

'. &mt('Requirements for specific folders or resources'). '

'; @@ -5991,13 +5988,13 @@ sub print_linkprotection { '  '; } else { $datatable .= ''.$desc{'secret'}.':'. - ''. + ''. ''. ''; } @@ -6061,7 +6058,7 @@ sub print_linkprotection { } else { $datatable .= ''.$desc{'key'}.': '."\n". (' 'x2). - ''.$desc{'secret'}.':'. + ''.$desc{'secret'}.':'. ' '."\n"; } $datatable .= '

'.