[Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl,1.44,1.45
Fred L. Drake
python-dev@python.org
Thu, 31 Aug 2000 00:19:09 -0700
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3109/perl
Modified Files:
l2hinit.perl
Log Message:
Be a little more careful to avoid including style information in the
generated markup.
Don't be careless with the navigation icons! We should use the blank
icon where there is not anyplace to go for a particular position in the
navigation bar.
Index: l2hinit.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/l2hinit.perl,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** l2hinit.perl 2000/07/31 20:13:23 1.44
--- l2hinit.perl 2000/08/31 07:19:07 1.45
***************
*** 19,22 ****
--- 19,23 ----
$ICONSERVER = '../icons';
+ $IMAGE_TYPE = 'gif';
# Control where the navigation bars should show up:
***************
*** 94,98 ****
$CUSTOM_BUTTONS = '';
- $NAV_BGCOLOR = " bgcolor=\"#99CCFF\"";
sub make_nav_sectref {
--- 95,98 ----
***************
*** 112,116 ****
}
! $BLANK_ICON = make_my_icon("blank", "");
@my_icons = ();
--- 112,116 ----
}
! $BLANK_ICON = make_my_icon('blank', '');
@my_icons = ();
***************
*** 118,131 ****
$my_icons{'previous_page_inactive'} = $BLANK_ICON;
$my_icons{'up_page_inactive'} = $BLANK_ICON;
! $x = make_my_icon("next", "Next Page");
$my_icons{'next_page'} = $x;
$my_icons{'next'} = $x;
! $x = make_my_icon("previous", "Previous Page");
$my_icons{'previous_page'} = $x;
$my_icons{'previous'} = $x;
! $my_icons{'up'} = make_my_icon("up", "Up One Level");
! $my_icons{'contents'} = make_my_icon("contents", "Contents");
! $my_icons{'index'} = make_my_icon("index", "Index");
! $my_icons{'modules'} = make_my_icon("modules", "Module Index");
--- 118,131 ----
$my_icons{'previous_page_inactive'} = $BLANK_ICON;
$my_icons{'up_page_inactive'} = $BLANK_ICON;
! $x = make_my_icon('next', 'Next Page');
$my_icons{'next_page'} = $x;
$my_icons{'next'} = $x;
! $x = make_my_icon('previous', 'Previous Page');
$my_icons{'previous_page'} = $x;
$my_icons{'previous'} = $x;
! $my_icons{'up'} = make_my_icon('up', 'Up One Level');
! $my_icons{'contents'} = make_my_icon('contents', 'Contents');
! $my_icons{'index'} = make_my_icon('index', 'Index');
! $my_icons{'modules'} = make_my_icon('modules', 'Module Index');
***************
*** 138,144 ****
sub make_nav_panel {
my $s;
! $NEXT = use_my_icon("$NEXT");
! $UP = use_my_icon("$UP");
! $PREVIOUS = use_my_icon("$PREVIOUS");
$CONTENTS = use_my_icon("$CONTENTS");
$INDEX = $INDEX ? use_my_icon("$INDEX") : $BLANK_ICON;
--- 138,144 ----
sub make_nav_panel {
my $s;
! $NEXT = $NEXT_TITLE ? use_my_icon("$NEXT") : $BLANK_ICON;
! $UP = $UP_TITLE ? use_my_icon("$UP") : $BLANK_ICON;
! $PREVIOUS = $PREVIOUS_TITLE ? use_my_icon("$PREVIOUS") : $BLANK_ICON;
$CONTENTS = use_my_icon("$CONTENTS");
$INDEX = $INDEX ? use_my_icon("$INDEX") : $BLANK_ICON;
***************
*** 153,158 ****
. "\n<td>$NEXT</td>"
# title box
! . "\n<td align=\"center\"$NAV_BGCOLOR width=\"100%\">"
! . "\n <b class=\"title\">$t_title</b></td>"
# right-hand side
. "\n<td>$CONTENTS</td>"
--- 153,157 ----
. "\n<td>$NEXT</td>"
# title box
! . "\n<td align=\"center\" width=\"100%\">$t_title</td>"
# right-hand side
. "\n<td>$CONTENTS</td>"