Merge pull request #350 from phl0/showPhp7Deprecated

Show PHP < 8 as deprecated
This commit is contained in:
Florian (DF2ET)
2024-05-08 14:53:02 +02:00
committed by GitHub

View File

@@ -66,7 +66,15 @@
<tr>
<td>PHP Version</td>
<td><?php echo phpversion(); ?></td>
<td>
<?php
if (version_compare(PHP_VERSION, '8.0.0') >= 0) {
echo phpversion()." <span class=\"badge text-bg-success\">OK</span>";
} else {
echo phpversion()." <span data-bs-toggle=\"tooltip\" title=\"Please update!\" class=\"badge text-bg-warning\">Deprecated</span>";
}
?>
</td>
</tr>
<tr>
@@ -587,4 +595,4 @@
<?php } else { ?>
var local_branch = 'n/a';
<?php } ?>
</script>
</script>