mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 14:17:26 +02:00
CSS: Link logo
This commit is contained in:
@@ -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";
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user