1
0
mirror of https://github.com/vrana/adminer.git synced 2025-09-03 11:22:35 +02:00

Change version layout

This commit is contained in:
Peter Knut
2024-10-16 21:32:31 +02:00
parent 42d92875c5
commit c41cb51ede
3 changed files with 10 additions and 6 deletions

View File

@@ -604,8 +604,10 @@ qsl('div').onclick = whisperClick;", "")
<h1>
<?php echo $this->name(); ?>
<?php if ($missing != "auth"): ?>
<span class="version"><?php echo $VERSION; ?></span>
<a href="https://www.adminer.org/editor/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
<span class="version">
<?php echo $VERSION; ?>
<a href="https://www.adminer.org/editor/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
</span>
<?php endif; ?>
</h1>
<?php