Remove unused HTLM attribute

This commit is contained in:
Jakub Vrana
2025-02-23 11:42:05 +01:00
parent 1838df9465
commit 7ece69a8c4
25 changed files with 37 additions and 37 deletions

View File

@@ -16,7 +16,7 @@ class AdminerJsonColumn {
}
private function _buildTable($json) {
echo '<table cellspacing="0" style="margin:2px; font-size:100%;">';
echo '<table style="margin:2px; font-size:100%;">';
foreach ($json as $key => $val) {
echo '<tr>';
echo '<th>' . h($key) . '</th>';

View File

@@ -13,7 +13,7 @@ class AdminerTableIndexesStructure {
* @return bool
*/
function tableIndexesPrint($indexes) {
echo "<table cellspacing='0'>\n";
echo "<table>\n";
echo "<thead><tr><th>" . lang('Name') . "<th>" . lang('Type') . "<th>" . lang('Columns') . "</thead>\n";
foreach ($indexes as $name => $index) {
echo "<tr><th>" . h($name) . "<td>" . $index['type'];

View File

@@ -14,7 +14,7 @@ class AdminerTableStructure {
*/
function tableStructurePrint($fields) {
echo "<div class='scrollable'>\n";
echo "<table cellspacing='0' class='nowrap odds'>\n";
echo "<table class='nowrap odds'>\n";
echo "<thead><tr><th>" . lang('Column') . "<th>" . lang('Type') . "<th>" . lang('Nullable') . "<th>" . lang('Default') . (support("comment") ? "<th>" . lang('Comment') : "") . "</thead>\n";
foreach ($fields as $field) {
echo "<tr><th>" . h($field["field"]) . ($field["primary"] ? " (PRIMARY)" : "");