Use less noisy message and remove disable link on database statistics
This commit is contained in:
@@ -126,6 +126,7 @@
|
|||||||
- bug #3123433 [interface] Avoid double escaping of MySQL errors.
|
- bug #3123433 [interface] Avoid double escaping of MySQL errors.
|
||||||
- bug #3119874 [interface] Show integers without decimals on status page.
|
- bug #3119874 [interface] Show integers without decimals on status page.
|
||||||
- bug #3119882 [interface] Display query chart on demand.
|
- bug #3119882 [interface] Display query chart on demand.
|
||||||
|
- [interface] Use less noisy message and remove disable link on server charts and database statistics.
|
||||||
|
|
||||||
3.3.9.0 (not yet released)
|
3.3.9.0 (not yet released)
|
||||||
- bug [doc] Fix references to MySQL doc
|
- bug [doc] Fix references to MySQL doc
|
||||||
|
@@ -251,20 +251,15 @@ if ($databases_count > 0) {
|
|||||||
PMA_buttonOrImage('drop_selected_dbs', 'mult_submit', 'drop_selected_dbs', __('Drop'), 'b_deltbl.png');
|
PMA_buttonOrImage('drop_selected_dbs', 'mult_submit', 'drop_selected_dbs', __('Drop'), 'b_deltbl.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<ul><li id="li_switch_dbstats"><strong>' . "\n";
|
|
||||||
if (empty($dbstats)) {
|
if (empty($dbstats)) {
|
||||||
|
echo '<ul><li id="li_switch_dbstats"><strong>' . "\n";
|
||||||
echo ' <a href="./server_databases.php?' . $url_query . '&dbstats=1"'
|
echo ' <a href="./server_databases.php?' . $url_query . '&dbstats=1"'
|
||||||
.' title="' . __('Enable Statistics') . '">' . "\n"
|
.' title="' . __('Enable Statistics') . '">' . "\n"
|
||||||
.' ' . __('Enable Statistics');
|
.' ' . __('Enable Statistics');
|
||||||
} else {
|
echo '</a></strong><br />' . "\n";
|
||||||
echo ' <a href="./server_databases.php?' . $url_query . '"'
|
PMA_Message::notice(__('Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.'))->display();
|
||||||
.' title="' . __('Disable Statistics') . '">' . "\n"
|
echo '</li>' . "\n" . '</ul>' . "\n";
|
||||||
.' ' . __('Disable Statistics');
|
|
||||||
}
|
}
|
||||||
echo '</a></strong><br />' . "\n";
|
|
||||||
PMA_Message::warning(__('Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.'))->display();
|
|
||||||
echo '</li>' . "\n"
|
|
||||||
.'</ul>' . "\n";
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
} else {
|
} else {
|
||||||
echo __('No databases');
|
echo __('No databases');
|
||||||
|
Reference in New Issue
Block a user