diff --git a/server_privileges.php b/server_privileges.php index 2d67d84c5d..58114a25d0 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -378,31 +378,31 @@ function PMA_extractPrivInfo($row = '', $enableHTML = false) function PMA_display_column_privs($columns, $row, $name_for_select, $priv_for_header, $name, $name_for_dfn, $name_for_current) { - echo '
' . "\n" - . '
' . "\n" - . ' ' . "\n"; - foreach ($columns as $current_column => $current_column_privileges) { - echo ' ' . "\n"; + foreach ($columns as $current_column => $current_column_privileges) { + echo ' ' . "\n"; + } - echo ' ' . "\n" - . ' ' . __('Or') . '' . "\n" - . ' ' . "\n" - . '
' . "\n"; + echo ' ' . "\n" + . ' ' . __('Or') . '' . "\n" + . ' ' . "\n" + . ' ' . "\n"; } // end function @@ -734,7 +734,7 @@ function PMA_displayPrivTable($db = '*', $table = '*', $submit = true) . $row['max_user_connections'] . '" size="11" maxlength="11" title="' . __('Limits the number of simultaneous connections the user may have.') . '" />' . "\n" . ' ' . "\n" . ' ' . "\n"; - } + } // for Safari 2.0.2 echo '
' . "\n"; } @@ -828,16 +828,16 @@ function PMA_displayLoginInformationFields($mode = 'new') // when we start editing a user, $GLOBALS['pred_hostname'] is not defined if (! isset($GLOBALS['pred_hostname']) && isset($GLOBALS['hostname'])) { switch (strtolower($GLOBALS['hostname'])) { - case 'localhost': - case '127.0.0.1': - $GLOBALS['pred_hostname'] = 'localhost'; - break; - case '%': - $GLOBALS['pred_hostname'] = 'any'; - break; - default: - $GLOBALS['pred_hostname'] = 'userdefined'; - break; + case 'localhost': + case '127.0.0.1': + $GLOBALS['pred_hostname'] = 'localhost'; + break; + case '%': + $GLOBALS['pred_hostname'] = 'any'; + break; + default: + $GLOBALS['pred_hostname'] = 'userdefined'; + break; } } echo '