1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-18 04:11:27 +02:00

Narrows screens: Move lang and logout under h1

This commit is contained in:
Jakub Vrana
2025-02-23 11:18:28 +01:00
parent 4e6ad13eac
commit 1838df9465
5 changed files with 11 additions and 9 deletions

View File

@@ -955,6 +955,7 @@ class Adminer {
</span>
</h1>
<?php
switch_lang();
if ($missing == "auth") {
$output = "";
foreach ((array) $_SESSION["pwds"] as $vendor => $servers) {

View File

@@ -179,7 +179,10 @@ function page_footer($missing = "") {
?>
</div>
<?php switch_lang(); ?>
<div id="menu">
<?php $adminer->navigation($missing); ?>
</div>
<?php if ($missing != "auth") { ?>
<form action="" method="post">
<p class="logout">
@@ -189,9 +192,6 @@ function page_footer($missing = "") {
</p>
</form>
<?php } ?>
<div id="menu">
<?php $adminer->navigation($missing); ?>
</div>
<?php
echo script("setupSubmitHighlight(document);");
}