mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
There are no current releases of previous majors right now
This commit is contained in:
@@ -39,11 +39,11 @@ site_header("Downloads",
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */
|
||||
<?php $i = 0; foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */
|
||||
$releases = array_slice($major_releases, 0, $SHOW_COUNT);
|
||||
?>
|
||||
<a id="v<?php echo $MAJOR; ?>"></a>
|
||||
<?php $i = 0; foreach ($releases as $v => $a): ?>
|
||||
<?php foreach ($releases as $v => $a): ?>
|
||||
<?php $mver = substr($v, 0, strrpos($v, '.')); ?>
|
||||
<?php $stable = $i++ === 0 ? "Current Stable" : "Old Stable"; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user