user-defined background image
This commit is contained in:
@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-05-26 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
|
* header.inc.php3, config.inc.php3, Documentation.html, images/bkg.gif,
|
||||||
|
images/vertical_line.gif:
|
||||||
|
- Made it possible to specify a background image for the right frame.
|
||||||
|
- Renamed 'images/bkg.gif' to 'images/vertical_line.gif'.
|
||||||
|
|
||||||
2002-05-26 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2002-05-26 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* scripts/create-release.sh, line 60: added the "-P" option (prune empty
|
* scripts/create-release.sh, line 60: added the "-P" option (prune empty
|
||||||
directory) for the cvs checkout.
|
directory) for the cvs checkout.
|
||||||
|
@@ -1028,6 +1028,14 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt>
|
||||||
|
<b>$cfg['RightBgImage'] </b>string
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
The URI of the background image used for the right frame. It can be
|
||||||
|
absolute as well as relative from your phpMyAdmin directory.
|
||||||
|
</dd>
|
||||||
|
|
||||||
<dt><b>$cfg['LeftPointerColor'] </b>string [HTML color]</dt>
|
<dt><b>$cfg['LeftPointerColor'] </b>string [HTML color]</dt>
|
||||||
<dd>
|
<dd>
|
||||||
The color (HTML) used for the pointer in the left frame (does not work
|
The color (HTML) used for the pointer in the left frame (does not work
|
||||||
|
@@ -195,6 +195,8 @@ $cfg['LeftBgColor'] = '#D0DCE0'; // background color for the left fra
|
|||||||
$cfg['LeftPointerColor'] = '#CCFFCC'; // color of the pointer in left frame
|
$cfg['LeftPointerColor'] = '#CCFFCC'; // color of the pointer in left frame
|
||||||
// (blank for no pointer)
|
// (blank for no pointer)
|
||||||
$cfg['RightBgColor'] = '#F5F5F5'; // background color for the right frame
|
$cfg['RightBgColor'] = '#F5F5F5'; // background color for the right frame
|
||||||
|
$cfg['RightBgImage'] = ''; // path to a background image for the right frame
|
||||||
|
// (leave blank for no background image)
|
||||||
$cfg['Border'] = 0; // border width on tables
|
$cfg['Border'] = 0; // border width on tables
|
||||||
$cfg['ThBgcolor'] = '#D3DCE3'; // table header row colour
|
$cfg['ThBgcolor'] = '#D3DCE3'; // table header row colour
|
||||||
$cfg['BgcolorOne'] = '#CCCCCC'; // table data row colour
|
$cfg['BgcolorOne'] = '#CCCCCC'; // table data row colour
|
||||||
|
@@ -59,8 +59,13 @@ body {
|
|||||||
font-family: <?php echo $right_font_family; ?>;
|
font-family: <?php echo $right_font_family; ?>;
|
||||||
font-size: <?php echo $font_size; ?>;
|
font-size: <?php echo $font_size; ?>;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
background-image: url('./images/bkg.gif');
|
<?php
|
||||||
background-repeat: repeat-y;
|
if ($cfg['RightBgImage'] == '') {
|
||||||
|
echo 'background-image: url(\'./images/vertical_line.gif\');' . "\n" . ' background-repeat: repeat-y;' . "\n";
|
||||||
|
} else {
|
||||||
|
echo 'background-image: url(\'' . $cfg['RightBgImage'] . '\');' . "\n";
|
||||||
|
}
|
||||||
|
?>
|
||||||
background-color: <?php echo $cfg['RightBgColor'] . "\n"; ?>
|
background-color: <?php echo $cfg['RightBgColor'] . "\n"; ?>
|
||||||
}
|
}
|
||||||
pre, tt {font-size: <?php echo $font_size; ?>}
|
pre, tt {font-size: <?php echo $font_size; ?>}
|
||||||
@@ -166,7 +171,10 @@ echo "\n";
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
<body bgcolor="<?php
|
||||||
|
echo $cfg['RightBgColor'];
|
||||||
|
if ($cfg['RightBgImage'] != '') echo '" background="' . $cfg['RightBgImage'];
|
||||||
|
?>">
|
||||||
<?php
|
<?php
|
||||||
if (isset($db)) {
|
if (isset($db)) {
|
||||||
$header_url_qry = '?lang=' . urlencode($lang)
|
$header_url_qry = '?lang=' . urlencode($lang)
|
||||||
|
Reference in New Issue
Block a user