]> git.joonet.de Git - adminer.git/commitdiff
CSS: Link logo
authorJakub Vrana <jakub@vrana.cz>
Fri, 4 Apr 2025 15:29:14 +0000 (17:29 +0200)
committerJakub Vrana <jakub@vrana.cz>
Fri, 4 Apr 2025 15:29:14 +0000 (17:29 +0200)
adminer/include/adminer.inc.php
editor/include/adminer.inc.php

index 86bb8f09157eee60f438c2c5c95e3bb258c66b87..aaceecef46f102eefb5df62984a258b37bfe4a53 100644 (file)
@@ -12,7 +12,7 @@ class Adminer {
        * @return string HTML code
        */
        function name(): string {
-               return "<a href='https://www.adminer.org/'" . target_blank() . " id='h1'>Adminer</a>";
+               return "<a href='https://www.adminer.org/'" . target_blank() . " id='h1'><span id='logo'></span>Adminer</a>";
        }
 
        /** Connection parameters
@@ -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><span id='logo'></span>" . adminer()->name() . " <span class='version'>" . VERSION;
+               echo "<h1>" . 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";
index 03e5ed5f6ba40b960488963ee78f4247685486e1..e765320288db7461f9463f41d7e1146d1e3dbb86 100644 (file)
@@ -7,7 +7,7 @@ class Adminer {
        private $values = array();
 
        function name() {
-               return "<a href='https://www.adminer.org/editor/'" . target_blank() . " id='h1'>" . lang('Editor') . "</a>";
+               return "<a href='https://www.adminer.org/editor/'" . target_blank() . " id='h1'><span id='logo'></span>" . lang('Editor') . "</a>";
        }
 
        //! driver, ns
@@ -545,7 +545,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row
        }
 
        function navigation($missing) {
-               echo "<h1><span id='logo'></span>" . adminer()->name() . " <span class='version'>" . VERSION;
+               echo "<h1>" . adminer()->name() . " <span class='version'>" . VERSION;
                $new_version = $_COOKIE["adminer_version"];
                echo " <a href='https://www.adminer.org/editor/#download'" . target_blank() . " id='version'>" . (version_compare(VERSION, $new_version) < 0 ? h($new_version) : "") . "</a>";
                echo "</span></h1>\n";