The updated privileges are now wrapped with dfn tags as well.

This commit is contained in:
ninadsp
2010-07-23 23:17:15 +05:30
parent e646a2760c
commit 9391e869ac

View File

@@ -1388,7 +1388,7 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE
}; };
$new_user_string .= '</td>'."\n"; $new_user_string .= '</td>'."\n";
$new_user_string .= '<td><tt>' . join(', ', PMA_extractPrivInfo()) . '</tt></td>'; //Fill in privileges here $new_user_string .= '<td><tt>' . join(', ', PMA_extractPrivInfo('', true)) . '</tt></td>'; //Fill in privileges here
$new_user_string .= '<td>'; $new_user_string .= '<td>';
if((isset($Grant_priv) && $Grant_priv == 'Y')) { if((isset($Grant_priv) && $Grant_priv == 'Y')) {
@@ -1416,7 +1416,7 @@ if( $GLOBALS['is_ajax_request'] && !isset($_REQUEST['export']) && !isset($_REQUE
} }
if(isset($update_privs)) { if(isset($update_privs)) {
$new_privileges = join(', ', PMA_extractPrivInfo()); $new_privileges = join(', ', PMA_extractPrivInfo('', true));
$extra_data['new_privileges'] = $new_privileges; $extra_data['new_privileges'] = $new_privileges;
} }