From e38c8e7a8b34bd65318303192e4322fbf8482f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Cap=C3=B3?= Date: Sun, 26 Nov 2023 20:41:39 +0100 Subject: [PATCH] use HTTP_HOST as title --- adminer.css | 6 +++++- plugin.php | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/adminer.css b/adminer.css index 788ccf4..6471530 100644 --- a/adminer.css +++ b/adminer.css @@ -69,11 +69,15 @@ h1 { background:none; } +#menu .title { + font-size: 50%; + color: #fff; +} + #menu #version { color: red; } #menu .version:before { - content: 'Adminer '; color: #fff; } #menu #h1 { diff --git a/plugin.php b/plugin.php index 48b72f7..d95c952 100644 --- a/plugin.php +++ b/plugin.php @@ -91,8 +91,7 @@ class AdminerPlugin extends Adminer { // applyPlugin function name() { - $args = func_get_args(); - return $this->_applyPlugin(__FUNCTION__, $args); + return '' . $_SERVER['HTTP_HOST'] . ''; } function credentials() {