user-defined background image
This commit is contained in:
@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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>
|
||||
* scripts/create-release.sh, line 60: added the "-P" option (prune empty
|
||||
directory) for the cvs checkout.
|
||||
|
@@ -1028,6 +1028,14 @@ $cfg['PmaAbsoluteUri'] = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||
<br /><br />
|
||||
</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>
|
||||
<dd>
|
||||
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
|
||||
// (blank for no pointer)
|
||||
$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['ThBgcolor'] = '#D3DCE3'; // table header row colour
|
||||
$cfg['BgcolorOne'] = '#CCCCCC'; // table data row colour
|
||||
|
@@ -59,8 +59,13 @@ body {
|
||||
font-family: <?php echo $right_font_family; ?>;
|
||||
font-size: <?php echo $font_size; ?>;
|
||||
color: #000000;
|
||||
background-image: url('./images/bkg.gif');
|
||||
background-repeat: repeat-y;
|
||||
<?php
|
||||
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"; ?>
|
||||
}
|
||||
pre, tt {font-size: <?php echo $font_size; ?>}
|
||||
@@ -166,7 +171,10 @@ echo "\n";
|
||||
</head>
|
||||
|
||||
|
||||
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
||||
<body bgcolor="<?php
|
||||
echo $cfg['RightBgColor'];
|
||||
if ($cfg['RightBgImage'] != '') echo '" background="' . $cfg['RightBgImage'];
|
||||
?>">
|
||||
<?php
|
||||
if (isset($db)) {
|
||||
$header_url_qry = '?lang=' . urlencode($lang)
|
||||
|
Reference in New Issue
Block a user