1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Add class 'layout' to all non-data tables

This commit is contained in:
Peter Knut
2018-07-27 15:22:24 +02:00
committed by Jakub Vrana
parent 94f6a45a2a
commit 4d66e42817
8 changed files with 8 additions and 8 deletions

View File

@@ -1419,7 +1419,7 @@ function edit_form($TABLE, $fields, $row, $update) {
if (!$fields) {
echo "<p class='error'>" . lang('You have no privileges to update this table.') . "\n";
} else {
echo "<table cellspacing='0'>" . script("qsl('table').onkeydown = editingKeydown;");
echo "<table cellspacing='0' class='layout'>" . script("qsl('table').onkeydown = editingKeydown;");
foreach ($fields as $name => $field) {
echo "<tr><th>" . $adminer->fieldName($field);