From 05404c3d7cade736860c3c61921abc2b89298fb1 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 2 May 2003 20:30:18 +0000 Subject: [PATCH] add link types for the remaining links in the navigation panels --- Doc/perl/l2hinit.perl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index b5caf6bb35..6e4b0cbead 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] /