1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

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

@@ -118,7 +118,7 @@ class Adminer {
*/
function loginForm() {
global $drivers;
echo "<table cellspacing='0' class='layout'>\n";
echo "<table class='layout'>\n";
echo $this->loginFormField('driver', '<tr><th>' . lang('System') . '<td>', html_select("auth[driver]", $drivers, DRIVER, "loginDriver(this);") . "\n");
echo $this->loginFormField('server', '<tr><th>' . lang('Server') . '<td>', '<input name="auth[server]" value="' . h(SERVER) . '" title="hostname[:port]" placeholder="localhost" autocapitalize="off">' . "\n");
echo $this->loginFormField('username', '<tr><th>' . lang('Username') . '<td>', '<input name="auth[username]" id="username" autofocus value="' . h($_GET["username"]) . '" autocomplete="username" autocapitalize="off">' . script("qs('#username').form['auth[driver]'].onchange();"));
@@ -311,7 +311,7 @@ class Adminer {
function tableStructurePrint($fields) {
global $structured_types;
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') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
foreach ($fields as $field) {
echo "<tr><th>" . h($field["field"]);
@@ -335,7 +335,7 @@ class Adminer {
* @return null
*/
function tableIndexesPrint($indexes) {
echo "<table cellspacing='0'>\n";
echo "<table>\n";
foreach ($indexes as $name => $index) {
ksort($index["columns"]); // enforce correct columns order
$print = array();