diff options
author | Jo Michael <me@mynetx.net> | 2012-03-31 02:20:23 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-31 02:20:23 +0400 |
commit | 852ef287f83326de041972ed72d2a7e05d4b2908 (patch) | |
tree | 2f95092546c8678a928f111cd9b2530e057fd984 /server_replication.php | |
parent | 04e8aa41815724f18e0e15e18361ee1047d76bfb (diff) |
Corrected <div> nesting inside <li> in server replication forms for HTML5 validity
Diffstat (limited to 'server_replication.php')
-rw-r--r-- | server_replication.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/server_replication.php b/server_replication.php index 9866577b1c..d2be1a32f7 100644 --- a/server_replication.php +++ b/server_replication.php @@ -209,11 +209,13 @@ if ($server_master_status) { echo '<legend>' . __('Master replication') . '</legend>'; echo __('This server is configured as master in a replication process.'); echo '<ul>'; - echo ' <li><a href="#" id="master_status_href">' . __('Show master status') . '</a></li>'; + echo ' <li><a href="#" id="master_status_href">' . __('Show master status') . '</a>'; PMA_replication_print_status_table('master', true, false); + echo ' </li>'; - echo ' <li><a href="#" id="master_slaves_href">' . __('Show connected slaves') . '</a></li>'; + echo ' <li><a href="#" id="master_slaves_href">' . __('Show connected slaves') . '</a>'; PMA_replication_print_slaves_table(true); + echo ' </li>'; $_url_params = $GLOBALS['url_params']; $_url_params['mr_adduser'] = true; @@ -333,8 +335,9 @@ if (! isset($GLOBALS['repl_clear_scr'])) { echo __('Server is configured as slave in a replication process. Would you like to:'); echo '<br />'; echo '<ul>'; - echo ' <li><a href="#" id="slave_status_href">' . __('See slave status table') . '</a></li>'; + echo ' <li><a href="#" id="slave_status_href">' . __('See slave status table') . '</a>'; echo PMA_replication_print_status_table('slave', true, false); + echo ' </li>'; if (isset($_SESSION['replication']['m_correct']) && $_SESSION['replication']['m_correct'] == true) { echo ' <li><a href="#" id="slave_synchronization_href">' . __('Synchronize databases with master') . '</a></li>'; echo ' <div id="slave_synchronization_gui" style="display: none">'; @@ -382,6 +385,7 @@ if (! isset($GLOBALS['repl_clear_scr'])) { echo ' </li>'; echo ' <li><a href="' . $reconfiguremaster_link . '">' . __('Change or reconfigure master server') . '</a></li>'; echo '</ul>'; + echo '</div>'; } elseif (! isset($GLOBALS['sl_configure'])) { $_url_params = $GLOBALS['url_params']; @@ -390,7 +394,6 @@ if (! isset($GLOBALS['repl_clear_scr'])) { echo sprintf(__('This server is not configured as slave in a replication process. Would you like to <a href="%s">configure</a> it?'), PMA_generate_common_url($_url_params)); } - echo '</div>'; echo '</fieldset>'; } if (isset($GLOBALS['sl_configure'])) { |