' . "\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 ( $row['Table_priv'] || $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 ( $row['can_delete'] || $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 '