mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Moved the navigation-bar background color to a variable.
This commit is contained in:
parent
26b698fa4d
commit
7a9ed71e95
1 changed files with 2 additions and 1 deletions
|
@ -109,13 +109,14 @@ $icons{'blank'} = 'blank.' . $IMAGE_TYPE;
|
||||||
|
|
||||||
$CUSTOM_BUTTONS = '';
|
$CUSTOM_BUTTONS = '';
|
||||||
$BLANK_ICON = "\n<td>" . img_tag('blank.' . $IMAGE_TYPE) . "</td>";
|
$BLANK_ICON = "\n<td>" . img_tag('blank.' . $IMAGE_TYPE) . "</td>";
|
||||||
|
$NAV_BGCOLOR = " bgcolor=\"#99CCFF\"";
|
||||||
|
|
||||||
sub make_nav_panel{
|
sub make_nav_panel{
|
||||||
("<table width=\"100%\" cellpadding=0 cellspacing=0>\n<tr>"
|
("<table width=\"100%\" cellpadding=0 cellspacing=0>\n<tr>"
|
||||||
. "\n<td>$NEXT</td>"
|
. "\n<td>$NEXT</td>"
|
||||||
. "\n<td>$UP</td>"
|
. "\n<td>$UP</td>"
|
||||||
. "\n<td>$PREVIOUS</td>"
|
. "\n<td>$PREVIOUS</td>"
|
||||||
. "\n<td align=center bgcolor=\"#99CCFF\" width=\"100%\">"
|
. "\n<td align=center$NAV_BGCOLOR width=\"100%\">"
|
||||||
. "\n <b>$t_title</b></td>"
|
. "\n <b>$t_title</b></td>"
|
||||||
. ($CONTENTS ? "\n<td>$CONTENTS</td>" : $BLANK_ICON)
|
. ($CONTENTS ? "\n<td>$CONTENTS</td>" : $BLANK_ICON)
|
||||||
. "\n<td>$CUSTOM_BUTTONS</td>" # module index
|
. "\n<td>$CUSTOM_BUTTONS</td>" # module index
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue