Files
BW/pomodoro/templates/database/structure/show_create_row.phtml
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

22 lines
745 B
PHTML

<fieldset>
<legend><?= $title; ?></legend>
<table class="show_create">
<thead>
<tr>
<th><?= $raw_title; ?></th>
<th>Create <?= $raw_title; ?></th>
</tr>
</thead>
<tbody>
<?php $odd = true; ?>
<?php foreach ($db_objects as $object): ?>
<?php $row_class = ($odd) ? 'odd' : 'even'; ?>
<tr class="<?= $row_class; ?>">
<td><strong><?= PMA_mimeDefaultFunction($object); ?></strong></td>
<td><?= PMA_mimeDefaultFunction($GLOBALS['dbi']->getTable($db, $object)->showCreate()); ?></td>
</tr>
<?php $odd = ! $odd; ?>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>