+ rfe #3528994 [interface] Allow wrapping possibly long values in replication-status table

This commit is contained in:
J.M 2012-06-30 18:09:12 +02:00
parent 7d266456af
commit c7e8afd0dc
2 changed files with 12 additions and 1 deletions

View File

@ -42,6 +42,7 @@ VerboseMultiSubmit, ReplaceHelpImg
+ [import] New plugin: import mediawiki
+ Add Ajax support to Fast filter in order to search the term in all database tables
- bug #3535015 [navi] DbFilter, TableFilter clear button hidden on Chrome
+ rfe #3528994 [interface] Allow wrapping possibly long values in replication-status table
3.5.3.0 (not yet released)

View File

@ -143,7 +143,17 @@ function PMA_replication_print_status_table($type, $hidden = false, $title = tru
} else {
echo '<span>';
}
echo ${"server_{$type}_replication"}[0][$variable];
// allow wrapping long table lists into multiple lines
static $variables_wrap = array(
'Replicate_Do_DB', 'Replicate_Ignore_DB',
'Replicate_Do_Table', 'Replicate_Ignore_Table',
'Replicate_Wild_Do_Table', 'Replicate_Wild_Ignore_Table');
if (in_array($variable, $variables_wrap)) {
echo str_replace(',', ', ', ${"server_{$type}_replication"}[0][$variable]);
}
else {
echo ${"server_{$type}_replication"}[0][$variable];
}
echo '</span>';
echo ' </td>';