From cac4384a8cb3b649d87cad5483fe9b372dd805c0 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Sat, 23 Jan 2010 11:34:43 +0000 Subject: [PATCH] Minor cleanup --- libraries/header.inc.php | 2 +- libraries/replication_gui.lib.php | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libraries/header.inc.php b/libraries/header.inc.php index d1b91502b..24423a5fa 100644 --- a/libraries/header.inc.php +++ b/libraries/header.inc.php @@ -107,7 +107,7 @@ if (empty($GLOBALS['is_header_sent'])) { 's_db.png'); if (isset($GLOBALS['action']) && $GLOBALS['action'] == 'tbl_create.php') { - /* We're creating new table */ + /* We're creating a new table */ echo $separator; printf($item, $action, diff --git a/libraries/replication_gui.lib.php b/libraries/replication_gui.lib.php index d77280068..6027bec6d 100644 --- a/libraries/replication_gui.lib.php +++ b/libraries/replication_gui.lib.php @@ -122,7 +122,7 @@ function PMA_replication_gui_changemaster($submitname) { echo ' '; echo ' '; echo ''; } @@ -148,7 +148,7 @@ function PMA_replication_print_status_table($type, $hidden = false, $title = tru // //$server_id = PMA_DBI_fetch_value("SHOW VARIABLES LIKE 'server_id'", 0, 1); - echo '
'; + echo '
'; if ($title) { echo '

' . ${"strReplicationStatus_{$type}"} . '

'; @@ -214,7 +214,7 @@ function PMA_replication_print_slaves_table($hidden = false) { $data = PMA_DBI_fetch_result('SHOW SLAVE HOSTS', null, null); echo '
'; - echo '
'; + echo '
'; echo ' '; echo ' '; echo ' '; @@ -352,7 +352,8 @@ function PMA_replication_gui_master_addslaveuser() { . ' '; + . ''; + if (!empty($thishost)) { echo '