* @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
* @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";
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
}
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";