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

Use <ul> list for logins (#314)

This commit is contained in:
Peter Knut
2018-12-18 15:45:04 +01:00
committed by Jakub Vrána
parent c275362c30
commit 7eaa57fc0b
18 changed files with 52 additions and 29 deletions

View File

@@ -586,11 +586,11 @@ qsl('div').onclick = whisperClick;", "")
foreach ($servers[""] as $username => $password) {
if ($password !== null) {
if ($first) {
echo "<p id='logins'>";
echo "<ul id='logins'>";
echo script("mixin(qs('#logins'), {onmouseover: menuOver, onmouseout: menuOut});");
$first = false;
}
echo "<a href='" . h(auth_url($vendor, "", $username)) . "'>" . ($username != "" ? h($username) : "<i>" . lang('empty') . "</i>") . "</a><br>\n";
echo "<li><a href='" . h(auth_url($vendor, "", $username)) . "'>" . ($username != "" ? h($username) : "<i>" . lang('empty') . "</i>") . "</a>\n";
}
}
}