From 042f1b870a2133e6d69999474c3eff77a2bf34b3 Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Thu, 7 May 2026 15:03:59 -0700 Subject: [PATCH] [TESTMAN] Update version strings --- www/www.reactos.org/testman/index.php | 4 +++ www/www.reactos.org/testman/utils.inc.php | 32 +++++++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/www/www.reactos.org/testman/index.php b/www/www.reactos.org/testman/index.php index 5bc1291de..15a9500e9 100644 --- a/www/www.reactos.org/testman/index.php +++ b/www/www.reactos.org/testman/index.php @@ -107,6 +107,10 @@ + + + +
diff --git a/www/www.reactos.org/testman/utils.inc.php b/www/www.reactos.org/testman/utils.inc.php index c8aab82a8..a1c93053b 100644 --- a/www/www.reactos.org/testman/utils.inc.php +++ b/www/www.reactos.org/testman/utils.inc.php @@ -52,7 +52,7 @@ function GetPlatformString($platform) switch ($minor) { case 0: - if ($type = "s") + if ($type == "s") $str = "Windows Server 2008"; else $str = "Windows Vista"; @@ -60,7 +60,35 @@ function GetPlatformString($platform) break; case 1: - $str = "Windows 7"; + if ($type == "s") + $str = "Windows Server 2008 R2"; + else + $str = "Windows 7"; + + break; + + case 3: + if ($type == "s") + $str = "Windows Server 2012 R2"; + else + $str = "Windows 8.1"; + break; + + default: + return $platform; + } + + break; + + case 10: + switch ($minor) + { + case 0: + if ($type == "s") + $str = "Windows Server 2016"; + else + $str = "Windows 10"; + break; default: