mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Move around the navigational links on the left-hand side of the navigation bar to be more like the cursor keys.
This commit is contained in:
parent
3d83fc3ab1
commit
4640e13259
1 changed files with 5 additions and 4 deletions
|
@ -148,9 +148,9 @@ sub make_nav_panel {
|
||||||
$s = ('<table align="center" width="100%" cellpadding="0" cellspacing="2">'
|
$s = ('<table align="center" width="100%" cellpadding="0" cellspacing="2">'
|
||||||
. "\n<tr>"
|
. "\n<tr>"
|
||||||
# left-hand side
|
# left-hand side
|
||||||
. "\n<td>$NEXT</td>"
|
|
||||||
. "\n<td>$UP</td>"
|
|
||||||
. "\n<td>$PREVIOUS</td>"
|
. "\n<td>$PREVIOUS</td>"
|
||||||
|
. "\n<td>$UP</td>"
|
||||||
|
. "\n<td>$NEXT</td>"
|
||||||
# title box
|
# title box
|
||||||
. "\n<td align=\"center\"$NAV_BGCOLOR width=\"100%\">"
|
. "\n<td align=\"center\"$NAV_BGCOLOR width=\"100%\">"
|
||||||
. "\n <b class=\"title\">$t_title</b></td>"
|
. "\n <b class=\"title\">$t_title</b></td>"
|
||||||
|
@ -160,9 +160,10 @@ sub make_nav_panel {
|
||||||
. "\n<td>$INDEX</td>"
|
. "\n<td>$INDEX</td>"
|
||||||
. "\n</tr></table>\n"
|
. "\n</tr></table>\n"
|
||||||
# textual navigation
|
# textual navigation
|
||||||
. make_nav_sectref("Next", $NEXT_TITLE)
|
. make_nav_sectref("Previous", $PREVIOUS_TITLE)
|
||||||
. make_nav_sectref("Up", $UP_TITLE)
|
. make_nav_sectref("Up", $UP_TITLE)
|
||||||
. make_nav_sectref("Previous", $PREVIOUS_TITLE));
|
. make_nav_sectref("Next", $NEXT_TITLE)
|
||||||
|
);
|
||||||
# remove these; they are unnecessary and cause errors from validation
|
# remove these; they are unnecessary and cause errors from validation
|
||||||
$s =~ s/ NAME="tex2html\d+"\n */ /g;
|
$s =~ s/ NAME="tex2html\d+"\n */ /g;
|
||||||
return $s;
|
return $s;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue