--- loncom/interface/courseprefs.pm 2022/02/06 21:36:59 1.100 +++ loncom/interface/courseprefs.pm 2022/02/07 06:16:44 1.101 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.100 2022/02/06 21:36:59 raeburn Exp $ +# $Id: courseprefs.pm,v 1.101 2022/02/07 06:16:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5581,9 +5581,9 @@ sub print_linkprotection { ' '. ''. - '

'; + $onclickrequser.$checkedrequser{'yes'}.$disabled.' />'.&mt('Yes').''; } + $datatable .= '

'; if ($values{'key'} ne '') { $datatable .= ''.$desc{'key'}; if ($noedit) { @@ -5694,7 +5694,7 @@ sub print_linkprotection { } $datatable .= ''; $$rowtotal ++; - return $datatable;; + return $datatable; } sub linkprot_names {