From 0567bfe215d3169b90e9acd7e9a5119a65452a1f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 23 Nov 2005 14:17:53 +0000 Subject: drop PMA_setFontSizes() --- server_privileges.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'server_privileges.php') diff --git a/server_privileges.php b/server_privileges.php index 711a76b2d4..dddf5d8ddb 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1382,7 +1382,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { uksort( $array_initials, "strnatcasecmp" ); - echo ''; + echo '
'; foreach ($array_initials as $tmp_initial => $initial_was_found) { if ($initial_was_found) { echo '' . "\n"; @@ -1593,11 +1593,11 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { // table body // get data - + // we also want privielgs for this user not in table `db` but in other table $tables = PMA_DBI_fetch_result('SHOW TABLES FROM `mysql`;'); if ( empty( $dbname ) ) { - + // no db name given, so we want all privs for the given user $tables_to_search_for_users = array( @@ -1668,16 +1668,16 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { } PMA_DBI_free_result( $res ); unset( $row, $res ); - + } else { - + // db name was given, // so we want all user specific rights for this db - + $user_host_condition .= ' AND ' . PMA_convert_using('`Db`') .' LIKE ' . PMA_convert_using( $dbname, 'quoted' ); - + $tables_to_search_for_users = array( 'columns_priv', ); @@ -1724,7 +1724,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { } PMA_DBI_free_result( $db_rights_result ); unset( $db_rights_sql, $db_rights_sqls, $db_rights_result, $db_rights_row ); - + $sql_query = 'SELECT `Table_name`,' .' `Table_priv`,' -- cgit v1.2.3
' . $tmp_initial . '