Set row span when there are more privileges
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
9f1f0e6bc1
commit
24db9d5cde
@ -2293,8 +2293,12 @@ function PMA_getHtmlTableBodyForSpecificDbOrTablePrivs($privMap, $db)
|
||||
. ($odd_row ? 'odd' : 'even') . '">';
|
||||
|
||||
$value = htmlspecialchars($current_user . '&#27;' . $current_host);
|
||||
$html_output .= '<td>'
|
||||
. '<input type="checkbox" class="checkall" name="selected_usr[]" '
|
||||
$html_output .= '<td';
|
||||
if ($nbPrivileges > 1) {
|
||||
$html_output .= ' rowspan="' . $nbPrivileges . '"';
|
||||
}
|
||||
$html_output .= '>';
|
||||
$html_output .= '<input type="checkbox" class="checkall" name="selected_usr[]" '
|
||||
. 'id="checkbox_sel_users_' . ($index_checkbox++) . '" '
|
||||
. 'value="' . $value . '" /></td>' . "\n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user