1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 22:56:46 +02:00

CSS: Add logo

This commit is contained in:
Jakub Vrana
2025-04-04 07:39:08 +02:00
parent 3f6136205d
commit 6e8c89ee71
8 changed files with 12 additions and 4 deletions

View File

@@ -933,7 +933,7 @@ class Adminer {
* @param string $missing can be "auth" if there is no database connection, "db" if there is no database selected, "ns" with invalid schema
*/
function navigation(string $missing): void {
echo "<h1>" . adminer()->name() . " <span class='version'>" . VERSION;
echo "<h1><span id='logo'></span>" . adminer()->name() . " <span class='version'>" . VERSION;
$new_version = $_COOKIE["adminer_version"];
echo " <a href='https://www.adminer.org/#download'" . target_blank() . " id='version'>" . (version_compare(VERSION, $new_version) < 0 ? h($new_version) : "") . "</a>";
echo "</span></h1>\n";