diff --git a/public/releases/8.2/release.inc b/public/releases/8.2/release.inc index cf326028f6..9c703da4c4 100644 --- a/public/releases/8.2/release.inc +++ b/public/releases/8.2/release.inc @@ -12,6 +12,7 @@ if (!isset($lang)) { $_SERVER['BASE_PAGE'] = 'releases/8.2/' . $lang . '.php'; require_once __DIR__ . '/common.php'; +require_once __DIR__ . '/../../../include/branches.inc'; common_header(message('common_header', $lang)); @@ -265,6 +266,8 @@ echo ReleasePage::getFeatureComparisons($comparisons, 'PHP 8.2', 'PHP < 8.2'); 'Active support', + 'security' => 'Security fixes only', + 'eol' => 'End of life', + 'future' => 'Upcoming', + default => 'Unknown', + }; + $latest = htmlspecialchars($latest); + + return << +
+

Release and support details

+
+
+
Initial release
+
+
+
+
Latest release
+
PHP {$latest}
+
+
+
Support status
+
{$status}
+
+
+
Active support ends
+
+
+
+
Security support ends
+
+
+
+

Supported PHP versions

+
+ + HTML; + } + public static function getPrefooter(string $title, string $upgradeNow, string $description, string $extraCredit = '', bool $isReleaseAvailable = true, string $unavailableReason = ''): string { $footer = fancy_footer($extraCredit);