From 61afab66f1847fdd6bfa9505e92d10d90ef13e5f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Jul 2022 15:51:04 +0200 Subject: Wizard: add arch dropdown (x86_64 only for now) --- wizard/index.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'wizard/index.php') diff --git a/wizard/index.php b/wizard/index.php index 5be37995..30d1de1e 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -78,6 +78,9 @@ $types = [ 'base' => 'Default / Single version (simplest way)', 'scl' => 'Multiple versions simultaneously', ]; +$arches = [ + 'x86_64' => 'x86_64', +]; $phpvers = [ // use false when only SCL '8.2' => false, @@ -94,7 +97,7 @@ $phpvers = [ ]; $phpname = [ ':devel' => 'Development version, not ready for production', - '8.2' => '8.2.0alpha3 (GA planed for Nov/Dec 2022)', + '8.2' => '8.2.0beta1 (GA planed for Nov/Dec 2022)', ':stable' => 'Stable versions - usage recommended', '8.1' => '8.1.8 (active support until November 2023)', '8.0' => '8.0.21 (active support until November 2022)', @@ -112,6 +115,7 @@ $phpname = [ $php = (isset($_POST['php']) && isset($phpvers[$_POST['php']]) ? $_POST['php'] : false); $os = (isset($_POST['os']) && isset($osvers[$_POST['os']]) ? $_POST['os'] : false); $type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'] : false); +$arch = (isset($_POST['arch']) && isset($types[$_POST['arch']]) ? $_POST['type'] : 'x86_64'); ?> @@ -173,6 +177,13 @@ $type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type' $name) printf("", $typeref, ($typeref===$type ? 'selected' : ''), $name); +?> + +

+
  • Architecture: +

  • -- cgit