Can disable main page icons (bug #965550).

This commit is contained in:
Michal Čihař
2004-06-03 10:53:08 +00:00
parent 1535804302
commit 9dcfce8bb8
4 changed files with 16 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ $Source$
strDatabase (needed for above fix).
* libraries/config_import.lib.php: Do not override
$cfg['ShowHttpHostTitle'].
* config.inc.php, css/phpmyadmin.css.php, libraries/config_import.lib.php:
Can disable main page icons (bug #965550).
2004-06-02 Alexander M. Turek <happybirthdaytome@derrabus.de>
* db_details_db_info.php, tbl_properties_tbl_info.php: Table type is called

View File

@@ -518,14 +518,17 @@ $cfg['NaturalOrder'] = TRUE; // Sort table and database in natura
//-----------------------------------------------------------------------------
// custom-setup by mkkeck: 2004-05-04
// some specials for new icons and scrollings
// FIXME:
// 2004-05-08 rabus: We need to rearrange these variables.
// 2004-06-03 nijel: We also need to add these to Documentation.html
$cfg['ShowHttpHostTitle'] = FALSE; // show HTTP host in browsers window title (true|false)?
$cfg['SetHttpHostTitle'] = ''; // if ShowHttpHostTitle=true, please set your host (server)
// or an other string, wich should be shown in browsers window title.
// If not set (or empty), the PMA will get your real host address.
$cfg['ErrorIconic'] = TRUE; // show some icons for warnings, errors and informations? (true|false)?
$cfg['ErrorIconic'] = TRUE; // show some icons for warnings, errors and informations (true|false)?
$cfg['MainPageIconic'] = TRUE; // show icons in list on main page (true|false)?
$cfg['ReplaceHelpImg'] = TRUE; // show help button instead of strDocumentation (true|false)?
//-----------------------------------------------------------------------------

View File

@@ -307,6 +307,9 @@ ul.mainLeft li {
padding-top: 0.1em;
padding-bottom: 0.1em;
}
<?php if ($cfg['MainPageIconic']) { ?>
.lstPhpInfo {
list-style: url(../images/php_sym.png);
}
@@ -339,7 +342,8 @@ ul.mainLeft li {
}
.lstCollations {
list-style: url(../images/s_asci.png);
}.lstReload {
}
.lstReload {
list-style: url(../images/s_reload.png);
}
.lstDatabases {
@@ -354,6 +358,7 @@ ul.mainLeft li {
.lstPasswd {
list-style: url(../images/s_passwd.png);
}
<?php } ?>
hr{ color: #666699; background-color: #6666cc; border: 0; height: 1px; }

View File

@@ -819,6 +819,10 @@ if (!isset($cfg['ErrorIconic'])) {
$cfg['ErrorIconic'] = TRUE;
}
if (!isset($cfg['MainPageIconic'])) {
$cfg['MainPageIconic'] = TRUE;
}
if (!isset($cfg['ReplaceHelpImg'])) {
$cfg['ReplaceHelpImg'] = TRUE;
}