--- loncom/interface/lonnavmaps.pm 2004/04/05 18:16:36 1.257 +++ loncom/interface/lonnavmaps.pm 2004/04/13 15:49:42 1.258 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.257 2004/04/05 18:16:36 raeburn Exp $ +# $Id: lonnavmaps.pm,v 1.258 2004/04/13 15:49:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -864,10 +864,7 @@ sub render_resource { my $filter = $it->{FILTER}; my $title = $resource->compTitle(); -# if ($src =~ /^\/uploaded\//) { -# $nonLinkedText=$title; -# $title = ''; -# } + my $partLabel = ""; my $newBranchText = ""; @@ -973,9 +970,7 @@ sub render_resource { $nonLinkedText .= ' (' . $resource->countParts() . ' parts)'; } -# if (!$params->{'resource_nolink'} && $src !~ /^\/uploaded\// && -# !$resource->is_sequence()) { - if (!$params->{'resource_nolink'} && !$resource->is_sequence()) { + if (!$params->{'resource_nolink'} && !$resource->is_sequence()) { $result .= " $curMarkerBegin$title$partLabel$curMarkerEnd $nonLinkedText"; } else { $result .= " $curMarkerBegin$title$partLabel$curMarkerEnd $nonLinkedText";