--- loncom/interface/lonnavmaps.pm 2009/08/15 18:43:52 1.435 +++ loncom/interface/lonnavmaps.pm 2009/10/26 10:16:56 1.437 @@ -1,7 +1,8 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.435 2009/08/15 18:43:52 raeburn Exp $ +# $Id: lonnavmaps.pm,v 1.437 2009/10/26 10:16:56 foxr Exp $ + # # Copyright Michigan State University Board of Trustees # @@ -48,7 +49,7 @@ described at http://www.lon-capa.org. =head1 OVERVIEW -X When a user enters a course, LON-CAPA examines the +X. You can see it if you are logged into LON-CAPA, in a course, by going to /adm/test. (You may need to @@ -597,7 +598,7 @@ sub getLinkForResource { my ($map,$id,$src)=&Apache::lonnet::decode_symb($res->symb()); if ($map=~/\.page$/) { my $url=&Apache::lonnet::clutter($map); - $anchor=&escape($src->shown_symb()); + $anchor=&escape($res->shown_symb()); return ($url,$res->shown_symb(),$anchor); } } @@ -880,11 +881,6 @@ sub render_resource { my $link = $params->{"resourceLink"}; # The URL part is not escaped at this point, but the symb is... - # The stuff to the left of the ? must have ' replaced by \' since - # it will be quoted with ' in the href. - - my ($left,$right) = split(/\?/, $link); - $link = $left.'?'.$right; my $src = $resource->src(); my $it = $params->{"iterator"};