--- loncom/interface/coursecatalog.pm 2018/12/16 03:17:07 1.97 +++ loncom/interface/coursecatalog.pm 2018/12/27 20:10:31 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for displaying the course catalog interface # -# $Id: coursecatalog.pm,v 1.97 2018/12/16 03:17:07 raeburn Exp $ +# $Id: coursecatalog.pm,v 1.98 2018/12/27 20:10:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -192,7 +192,9 @@ sub handler { if ($courseinfo{$codedom.'_'.$cnum}{'showsyllabus'}) { my $usehttp = 0; if (($ENV{'SERVER_PORT'} == 443) && ($courseinfo{$codedom.'_'.$cnum}{'extsyllplain'})) { - $usehttp = 1; + unless (&Apache::lonnet::uses_sts()) { + $usehttp = 1; + } } $r->print(' '. ''. @@ -1678,7 +1680,9 @@ sub courseinfo_row { if ($showsyllabus) { my $usehttp = 0; if (($ENV{'SERVER_PORT'} == 443) && ($extsyllplain)) { - $usehttp = 1; + unless (&Apache::lonnet::uses_sts()) { + $usehttp = 1; + } } $output .= ''.&mt('Syllabus').''; } else {