' . "\n"
. ' ' . htmlspecialchars(empty($dbname) ? $row['Db'] : $row['Table_name']) . ' | ' . "\n"
. ' ' . "\n"
. ' ' . join(',' . "\n" . ' ', PMA_extractPrivInfo($row, TRUE)) . "\n"
. ' | ' . "\n"
. ' ' . (((empty($dbname) && $row['Grant_priv'] == 'Y') || (!empty($dbname) && in_array('Grant', explode(',', $row['Table_priv'])))) ? $GLOBALS['strYes'] : $GLOBALS['strNo']) . ' | ' . "\n"
. ' ';
if ( ! empty( $row['Table_privs'] ) || ! empty ( $row['Column_priv'] ) ) {
echo $GLOBALS['strYes'];
} else {
echo $GLOBALS['strNo'];
}
echo ' | ' . "\n"
. ' ';
printf( $link_edit, urlencode( $username ),
urlencode( $hostname ),
urlencode( empty($dbname) ? $row['Db'] : $dbname ),
urlencode( empty($dbname) ? '' : $row['Table_name'] ) );
echo ' | ' . "\n"
. ' ';
if ( ! empty( $row['can_delete'] ) || ! empty( $row['Table_name'] ) ) {
printf( $link_revoke, urlencode( $username ),
urlencode( $hostname ),
urlencode( empty( $dbname ) ? $row['Db'] : $dbname ),
urlencode( empty( $dbname ) ? '' : $row['Table_name'] ) );
}
echo ' | ' . "\n"
. '
' . "\n";
$odd_row = ! $odd_row;
} // end while
}
unset($row);
echo '