summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-24 17:36:42 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-24 17:36:42 +0100
commit70d58b79cb8fdb84e263d923c51e4dff2c4f4388 (patch)
treede5a637f6fe94a6cc5cd2450e7274f29715a691f /wizard
parent87f34afd710948e0edaa2bcf49ce0453d7e8c6e3 (diff)
Wizard: display EOL date
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php
index e412553f..cf600f29 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -33,6 +33,12 @@ $phpvers = [
'5.5' => 'remi-php55',
'5.4' => 'remi',
];
+$phpname = [
+ '7.0' => '7.0 (active support until Dec 2017)',
+ '5.6' => '5.6 (active support until Dec 2016)',
+ '5.5' => '5.5 (security support until Jul 2016)',
+ '5.4' => '5.4 (no support since Sept 2015)',
+];
$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);
@@ -74,7 +80,7 @@ $type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'
<select name='php' onChange='submit()'>
<option value=''>--</option>
<?php
- foreach($phpvers as $phpver => $repo) printf("<option value='%s' %s>%s</option>", $phpver, ($phpver===$php ? 'selected' : ''), $phpver);
+ foreach($phpvers as $phpver => $repo) printf("<option value='%s' %s>%s</option>", $phpver, ($phpver===$php ? 'selected' : ''), $phpname[$phpver]);
?>
</select>
</p></li>