use HTTP_HOST as title

This commit is contained in:
Pau Capó 2023-11-26 20:41:39 +01:00
parent 6e6f270df4
commit e38c8e7a8b
2 changed files with 6 additions and 3 deletions

View file

@ -69,11 +69,15 @@ h1 {
background:none; background:none;
} }
#menu .title {
font-size: 50%;
color: #fff;
}
#menu #version { #menu #version {
color: red; color: red;
} }
#menu .version:before { #menu .version:before {
content: 'Adminer ';
color: #fff; color: #fff;
} }
#menu #h1 { #menu #h1 {

View file

@ -91,8 +91,7 @@ class AdminerPlugin extends Adminer {
// applyPlugin // applyPlugin
function name() { function name() {
$args = func_get_args(); return '<span class="title">' . $_SERVER['HTTP_HOST'] . '</span>';
return $this->_applyPlugin(__FUNCTION__, $args);
} }
function credentials() { function credentials() {