com web/php: 5.2 is no longer supported, and windows has no future here: downloads.php index-stable.php
| From: | Paul Dragoonis | Date: | Mon, 11 Apr 2011 19:56:34 +0000 |
| Subject: | com web/php: 5.2 is no longer supported, and windows has no future here: downloads.php index-stable.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23565@lists.php.net to get a copy of this message | ||
Commit: ad0c0ffcfc62d0eb41b8eb61d0ac680888d6b9d6
Author: Hannes Magnusson <bjori@php.net> Mon, 11 Apr 2011 19:56:34 +0000
Parents: ae715c0918baa001c138e7f0ff1d634e5006f28d
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ad0c0ffcfc62d0eb41b8eb61d0ac680888d6b9d6
Log:
5.2 is no longer supported, and windows has no future here
Changed paths:
M downloads.php
M index-stable.php
Diff:
diff --git a/downloads.php b/downloads.php
index f5e8070..912ac1e 100644
--- a/downloads.php
+++ b/downloads.php
@@ -89,7 +89,12 @@ for ($i=1; $i<=$SHOW_COUNT; ++$i) {
list($v, $a) = each($RELEASES[5]);
?>
-<h1 id="v<?php echo $v; ?>">PHP <?php echo $v ?></h1>
+<?php if ($i == 1) { ?>
+ <h1 id="v<?php echo $v; ?>">PHP <?php echo $v ?> (Current
stable)</h1>
+<?php } else { ?>
+ <h1 id="v<?php echo $v; ?>">PHP <?php echo $v ?> (Old
stable)</h1>
+ <strong>This version is no longer supported by PHP.net</strong>
+<?php } ?>
<h2>Complete Source Code</h2>
<ul>
@@ -104,35 +109,14 @@ foreach($a["source"] as $rel) {
?>
</ul>
-<h2>Windows Binaries</h2>
-<p>
-<?php
-if(isset($a["windows"])) {
- echo 'The PECL bundle is no longer built for the 5.2.x series. However, the 5.2.6 PECL
package does work with this release.';
-}
-?>
-</p>
-<ul>
+<hr />
<?php
-if(isset($a["windows"])) {
- foreach($a["windows"] as $rel) {
- echo " <li>\n ";
- download_link($rel["filename"], $rel["name"]); echo " -
{$rel["date"]}<br />\n";
- echo " <span class=\"md5sum\">md5:
{$rel["md5"]}</span>\n";
- echo isset($rel["note"]) && $rel["note"] ?
"<p><strong>Note:</strong> {$rel["note"]}</p>":
"";
- echo " </li>\n";
- }
-} else {
- echo "<li>For the Windows binaries and installer, see <a href='http://windows.php.net/download/'>http://windows.php.net/download/</a>.</li>\n";
-}
-?>
-</ul>
-<?php
-if ($i < $SHOW_COUNT) {
- echo "<hr />\n";
-}
} // for
?>
+<h2>Windows Binaries</h2>
+<p>
+For the Windows binaries and installer, see <a href='http://windows.php.net/download/'>http://windows.php.net/download/</a>.
+</p>
<?php
site_footer();
diff --git a/index-stable.php b/index-stable.php
index 56358ad..9fbd8fd 100644
--- a/index-stable.php
+++ b/index-stable.php
@@ -153,7 +153,7 @@ $PHP_5_STABLE = array();
$PHP_5_RC = array();
$rel = $rc = "";
-$SHOW_COUNT = 2;
+$SHOW_COUNT = 1;
for ($i=1; $i<=$SHOW_COUNT; ++$i) {
list($PHP_5_STABLE, ) = each($RELEASES[5]);