mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Move $VERSION and version() to VERSION
This commit is contained in:
@@ -596,10 +596,10 @@ ORDER BY ORDINAL_POSITION", null, "") as $row
|
||||
}
|
||||
|
||||
function navigation($missing) {
|
||||
global $VERSION, $adminer;
|
||||
echo "<h1>" . $adminer->name() . " <span class='version'>$VERSION";
|
||||
global $adminer;
|
||||
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 " <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";
|
||||
switch_lang();
|
||||
if ($missing == "auth") {
|
||||
|
Reference in New Issue
Block a user