mirror of
https://github.com/vrana/adminer.git
synced 2025-09-03 11:22:35 +02:00
Check new version against GitHub pages
This commit is contained in:
@@ -606,7 +606,9 @@ qsl('div').onclick = whisperClick;", "")
|
||||
<?php if ($missing != "auth"): ?>
|
||||
<span class="version">
|
||||
<?php echo $VERSION; ?>
|
||||
<a href="https://www.adminer.org/editor/#download"<?php echo target_blank(); ?> id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?></a>
|
||||
<a href="https://github.com/pematon/adminer/releases"<?php echo target_blank(); ?> id="version">
|
||||
<?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?>
|
||||
</a>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
|
Reference in New Issue
Block a user