mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
CSS: Add logo
This commit is contained in:
@@ -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";
|
||||
|
@@ -52,7 +52,7 @@ function page_header(string $title, string $error = "", $breadcrumb = array(), s
|
||||
echo script_src("static/editing.js");
|
||||
if (adminer()->head($dark)) {
|
||||
echo "<link rel='shortcut icon' type='image/x-icon' href='../adminer/static/favicon.ico'>\n";
|
||||
echo "<link rel='apple-touch-icon' href='../adminer/static/favicon.ico'>\n";
|
||||
echo "<link rel='apple-touch-icon' href='../adminer/static/logo.png'>\n";
|
||||
}
|
||||
foreach ($css as $val) {
|
||||
echo "<link rel='stylesheet'" . (preg_match('~-dark~', $val) && !$dark ? $media : "") . " href='" . h($val) . "'>\n";
|
||||
|
Reference in New Issue
Block a user