' . "\n"
- . ' ' . htmlspecialchars((! isset($dbname) || ! strlen($dbname)) ? $row['Db'] : $row['Table_name']) . ' | ' . "\n"
+ . ' ' . htmlspecialchars((! isset($dbname)) ? $row['Db'] : $row['Table_name']) . ' | ' . "\n"
. ' ' . "\n"
. ' ' . join(',' . "\n" . ' ', PMA_extractPrivInfo($row, TRUE)) . "\n"
. ' | ' . "\n"
- . ' ' . ((((! isset($dbname) || ! strlen($dbname)) && $row['Grant_priv'] == 'Y') || (isset($dbname) && strlen($dbname) && in_array('Grant', explode(',', $row['Table_priv'])))) ? $GLOBALS['strYes'] : $GLOBALS['strNo']) . ' | ' . "\n"
+ . ' ' . ((((! isset($dbname)) && $row['Grant_priv'] == 'Y') || (isset($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'];
@@ -1789,15 +1792,15 @@ if (empty($adduser) && (! isset($checkprivs) || ! strlen($checkprivs))) {
. ' | ';
printf($link_edit, urlencode($username),
urlencode($hostname),
- urlencode((! isset($dbname) || ! strlen($dbname)) ? $row['Db'] : $dbname),
- urlencode((! isset($dbname) || ! strlen($dbname)) ? '' : $row['Table_name']));
+ urlencode((! isset($dbname)) ? $row['Db'] : $dbname),
+ urlencode((! isset($dbname)) ? '' : $row['Table_name']));
echo ' | ' . "\n"
. ' ';
if (! empty($row['can_delete']) || isset($row['Table_name']) && strlen($row['Table_name'])) {
printf($link_revoke, urlencode($username),
urlencode($hostname),
- urlencode((! isset($dbname) || ! strlen($dbname)) ? $row['Db'] : $dbname),
- urlencode((! isset($dbname) || ! strlen($dbname)) ? '' : $row['Table_name']));
+ urlencode((! isset($dbname)) ? $row['Db'] : $dbname),
+ urlencode((! isset($dbname)) ? '' : $row['Table_name']));
}
echo ' | ' . "\n"
. '
' . "\n";
@@ -1808,7 +1811,7 @@ if (empty($adduser) && (! isset($checkprivs) || ! strlen($checkprivs))) {
echo '' . "\n"
. '