diff --git a/js/server_privileges.js b/js/server_privileges.js index f74dcf476..eade87c2f 100755 --- a/js/server_privileges.js +++ b/js/server_privileges.js @@ -175,6 +175,9 @@ $(document).ready(function() { .end() .find('tr:even') .removeClass('odd').addClass('even'); + + $("#initials_table").find('td:contains('+data.new_user_initial+')') + .html(data.new_user_initial_string); } else { PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : "+data.error, "7000"); diff --git a/server_privileges.php b/server_privileges.php index cff400d78..695f00538 100755 --- a/server_privileges.php +++ b/server_privileges.php @@ -1409,6 +1409,13 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE $new_user_string .= ''; $extra_data['new_user_string'] = $new_user_string; + + //Generate the string for this alphabet's initial + $new_user_initial = strtoupper(substr($username, 0, 1)); + $new_user_initial_string = '