Mark disabled engines
This commit is contained in:
@@ -7,6 +7,9 @@ $Source$
|
|||||||
|
|
||||||
2005-02-16 Alexander M. Turek <me@derrabus.de>
|
2005-02-16 Alexander M. Turek <me@derrabus.de>
|
||||||
* db_details_export.php: Views are not exportable yet.
|
* db_details_export.php: Views are not exportable yet.
|
||||||
|
* themes/*/css/theme_right.css.php: Allow to mark a whole row as disabled.
|
||||||
|
* server_engines.php: Use new CSS class 'disabled' for unavailable
|
||||||
|
engines.
|
||||||
|
|
||||||
2005-02-14 Michal Čihař <michal@cihar.com>
|
2005-02-14 Michal Čihař <michal@cihar.com>
|
||||||
* tbl_printview.php, libraries/tbl_indexes.lib.php: Fix displaying
|
* tbl_printview.php, libraries/tbl_indexes.lib.php: Fix displaying
|
||||||
|
@@ -144,7 +144,7 @@ if (empty($engine) || empty($mysql_storage_engines[$engine])) {
|
|||||||
$useBgcolorOne = TRUE;
|
$useBgcolorOne = TRUE;
|
||||||
$common_url = './server_engines.php?' . PMA_generate_common_url() . '&engine=';
|
$common_url = './server_engines.php?' . PMA_generate_common_url() . '&engine=';
|
||||||
foreach ($mysql_storage_engines as $engine => $details) {
|
foreach ($mysql_storage_engines as $engine => $details) {
|
||||||
echo ' <tr>' . "\n"
|
echo ' <tr' . ($details['Support'] == 'NO' || $details['Support'] == 'DISABLED' ? ' class="disabled"' : '') . '>' . "\n"
|
||||||
. ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n"
|
. ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . "\n"
|
||||||
. ' <a href="' . $common_url . $engine . '">' . "\n"
|
. ' <a href="' . $common_url . $engine . '">' . "\n"
|
||||||
. ' ' . htmlspecialchars($details['Engine']) . "\n"
|
. ' ' . htmlspecialchars($details['Engine']) . "\n"
|
||||||
|
@@ -500,7 +500,7 @@ img, input, select, button {
|
|||||||
color: #666666;
|
color: #666666;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
td.disabled {
|
tr.disabled td, td.disabled {
|
||||||
background-color: #cccccc;
|
background-color: #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -285,7 +285,7 @@ img, input, select, button {
|
|||||||
.disabled a:hover {
|
.disabled a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
td.disabled {
|
tr.disabled td, td.disabled {
|
||||||
background-color: #cccccc;
|
background-color: #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user