mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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:
parent
50c507e4b4
commit
a00754468f
1 changed files with 18 additions and 16 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue