make_nav_panel(): Remove the spurious NAME="tex2html\d+" attributes

added to the anchors in the navigation bars.  These
		   are added somewhere deep with l2h, and are stupid.
This commit is contained in:
Fred Drake 1999-04-29 19:06:56 +00:00
parent 50c507e4b4
commit a00754468f

View file

@ -122,22 +122,24 @@ sub make_nav_sectref{
} }
sub make_nav_panel{ sub make_nav_panel{
return ("<table align=center width=\"100%\" cellpadding=0 cellspacing=2>" my $s;
. "\n<tr>" $s = "<table align=center width=\"100%\" cellpadding=0 cellspacing=2>"
. "\n<td>$NEXT</td>" . "\n<tr>"
. "\n<td>$UP</td>" . "\n<td>$NEXT</td>"
. "\n<td>$PREVIOUS</td>" . "\n<td>$UP</td>"
. "\n<td align=center$NAV_BGCOLOR width=\"100%\">" . "\n<td>$PREVIOUS</td>"
. "\n <b class=title>$t_title</b></td>" . "\n<td align=center$NAV_BGCOLOR width=\"100%\">"
. ($CONTENTS ? "\n<td>$CONTENTS</td>" : $BLANK_ICON) . "\n <b class=title>$t_title</b></td>"
. "\n<td>$CUSTOM_BUTTONS</td>" # module index . ($CONTENTS ? "\n<td>$CONTENTS</td>" : $BLANK_ICON)
. ($INDEX ? "\n<td>$INDEX</td>" : $BLANK_ICON) . "\n<td>$CUSTOM_BUTTONS</td>" # module index
. "\n</tr></table>" . ($INDEX ? "\n<td>$INDEX</td>" : $BLANK_ICON)
#. "<hr>" . "\n</tr></table>"
. make_nav_sectref("Next", $NEXT_TITLE) #. "<hr>"
. make_nav_sectref("Up", $UP_TITLE) . make_nav_sectref("Next", $NEXT_TITLE)
. make_nav_sectref("Previous", $PREVIOUS_TITLE) . make_nav_sectref("Up", $UP_TITLE)
); . make_nav_sectref("Previous", $PREVIOUS_TITLE);
$s =~ s/ NAME="tex2html\d+"\n//g;
return $s;
} }
sub top_navigation_panel { sub top_navigation_panel {