Leitgedanken/#pma/templates/privileges/privileges_summary_row.phtml
2022-11-21 09:47:28 +01:00

14 lines
486 B
PHTML

<tr class="<?= ($odd ? 'odd' : 'even'); ?>">
<td><?= htmlspecialchars($name); ?></td>
<td><code><?= $privileges; ?></code></td>
<td><?= ($grant ? __('Yes') : __('No')); ?></td>
<?php if ($type == 'database') : ?>
<td><?= ($tablePrivs ? __('Yes') : __('No')); ?></td>
<?php elseif ($type == 'table') : ?>
<td><?= ($columnPrivs ? __('Yes') : __('No')); ?></td>
<?php endif; ?>
<td><?= $editLink; ?></td>
<td><?= $revokeLink; ?></td>
</tr>