The background colors for both the fames are now defined in the configuration file thanks to Laurent Penou

This commit is contained in:
Loïc Chapeaux
2001-10-07 16:32:17 +00:00
parent 583aaf525e
commit a8e7ec0a8c
5 changed files with 20 additions and 3 deletions

View File

@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2001-10-07 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* config.inc.php3, lines 152-153; Documentation.html, lines 573-581;
header.inc.php3, line 119; left.php3, line 150: the background colors for
both the fames are now defined in the configuration file thanks to
Laurent Penou <laurent.penou at gadz.org>.
2001-10-04 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-10-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.php3: * left.php3:
- improved the js object detection system; - improved the js object detection system;

View File

@@ -570,6 +570,15 @@
<br /><br /> <br /><br />
</dd> </dd>
<dt>
<b>$cfgLeftBgColor </b>string [HTML color]
<b>$cfgRightBgColor </b>string [HTML color]
</dt>
<dd>
The background colors (HTML) used for both the frames.
<br /><br />
</dd>
<dt><b>$cfgBorder </b>integer</dt> <dt><b>$cfgBorder </b>integer</dt>
<dd> <dd>
The size of a table's border. The size of a table's border.

View File

@@ -149,6 +149,8 @@ require('./libraries/select_lang.lib.php3');
/** /**
* Customization & design * Customization & design
*/ */
$cfgLeftBgColor = '#D0DCE0'; // background color for the left frame
$cfgRightBgColor = '#F5F5F5'; // background color for the right frame
$cfgBorder = 0; // border width on tables $cfgBorder = 0; // border width on tables
$cfgThBgcolor = '#D3DCE3'; // table header row colour $cfgThBgcolor = '#D3DCE3'; // table header row colour
$cfgBgcolorOne = '#CCCCCC'; // table data row colour $cfgBgcolorOne = '#CCCCCC'; // table data row colour

View File

@@ -43,7 +43,7 @@ echo '<?xml version="1.0" encoding="' . strtoupper($charset) . '"?>' . "\n";
<title>phpMyAdmin</title> <title>phpMyAdmin</title>
<style type="text/css"> <style type="text/css">
<!-- <!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>} body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}
pre, tt {font-size: <?php echo $font_size; ?>} pre, tt {font-size: <?php echo $font_size; ?>}
th {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; background-color: <?php echo $cfgThBgcolor;?>} th {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; background-color: <?php echo $cfgThBgcolor;?>}
td {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>} td {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>}
@@ -116,7 +116,7 @@ echo "\n";
</head> </head>
<body bgcolor="#F5F5F5" text="#000000" background="images/bkg.gif"> <body bgcolor="<?php echo $cfgRightBgColor; ?>" background="images/bkg.gif">
<?php <?php
if (isset($db)) { if (isset($db)) {
echo '<h1> ' . $strDatabase . ' ' . htmlspecialchars($db); echo '<h1> ' . $strDatabase . ' ' . htmlspecialchars($db);

View File

@@ -147,7 +147,7 @@ echo "\n";
?> ?>
</head> </head>
<body bgcolor="#D0DCE0"> <body bgcolor="<?php echo $cfgLeftBgColor; ?>">
<!-- Link to the welcome page --> <!-- Link to the welcome page -->
<div id="el1Parent" class="parent" style="margin-bottom: 5px"> <div id="el1Parent" class="parent" style="margin-bottom: 5px">
<nobr><a class="item" href="main.php3?lang=<?php echo $lang; ?>&server=<?php echo $server; ?>"> <nobr><a class="item" href="main.php3?lang=<?php echo $lang; ?>&server=<?php echo $server; ?>">