use HTTP_HOST as title
This commit is contained in:
parent
6e6f270df4
commit
e38c8e7a8b
2 changed files with 6 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue