--- loncom/interface/lonnavmaps.pm 2005/09/29 17:14:14 1.341 +++ loncom/interface/lonnavmaps.pm 2005/10/01 06:21:12 1.342 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.341 2005/09/29 17:14:14 albertel Exp $ +# $Id: lonnavmaps.pm,v 1.342 2005/10/01 06:21:12 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -690,7 +690,6 @@ sub timeToHumanString { } elsif ($type eq 'end') { $conjunction='by'; } - &Apache::lonnet::logthis("
$conjunction $type
"); # Is it this year? if ( $time[5] == $now[5]) { # Return on Month Day, HH:MM meridian @@ -1134,6 +1133,9 @@ sub render_resource { if ($resource->randomout()) { $nonLinkedText .= ' (hidden) '; } + if (!$resource->condval()) { + $nonLinkedText .= ' (conditionally hidden) '; + } # We're done preparing and finally ready to start the rendering my $result = "