--- loncom/interface/lonmeta.pm 2005/10/31 01:49:21 1.120 +++ loncom/interface/lonmeta.pm 2005/10/31 21:11:45 1.121 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.120 2005/10/31 01:49:21 banghart Exp $ +# $Id: lonmeta.pm,v 1.121 2005/10/31 21:11:45 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -495,6 +495,9 @@ sub prettyinput { } if ($type eq 'author') { } + if ($type eq 'courserestricted') { + return (''); + } if ($type eq 'authorspace') { } if ($type eq 'modifyinguser') { @@ -1086,7 +1089,8 @@ ENDEDIT } if ($metacourse ne 'none') { # handle restrictions here - if ($env{$metacourse.'.metadata.'.$_.'.options'} =~ m/active/) { + if (($env{$metacourse.'.metadata.'.$_.'.options'} =~ m/active/)|| + ($_ eq 'courserestricted')) { $output.=('

'.$lt{$_}.': '. &prettyinput($_, $Apache::lonpublisher::metadatafields{$_},