From: Fred Drake Date: Fri, 2 May 2003 20:30:18 +0000 (+0000) Subject: add link types for the remaining links in the navigation panels X-Git-Tag: v2.3c1~891 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05404c3d7cade736860c3c61921abc2b89298fb1;p=thirdparty%2FPython%2Fcpython.git add link types for the remaining links in the navigation panels --- diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index b5caf6bb35da..6e4b0cbead40 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -141,23 +141,25 @@ sub get_my_icon($) { . " height='32' alt='$text' width='32'>"; } -sub use_my_icon($) { - my $s = $_[0]; +sub use_my_icon($$) { + my($s,$rel) = @_; if ($s =~ /\/) { my $r = get_my_icon($1); $s =~ s/\/$r/; } + $s =~ s/<[aA] /