com web/php: Add changelog links to the download page, per Chris's suggestion on IRC.: downloads.php

From: Date: Mon, 10 Dec 2012 01:10:25 +0000
Subject: com web/php: Add changelog links to the download page, per Chris's suggestion on IRC.: downloads.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15049@lists.php.net to get a copy of this message
Commit: 7227589c3ab75f7b65ca5ca9d981ea01490ad77f Author: Adam Harvey <aharvey@php.net> Mon, 10 Dec 2012 09:10:25 +0800 Parents: 96d2df63002cd5ec0b124edb5ff8e95d83a277eb Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7227589c3ab75f7b65ca5ca9d981ea01490ad77f Log: Add changelog links to the download page, per Chris's suggestion on IRC. Changed paths: M downloads.php Diff: diff --git a/downloads.php b/downloads.php index 28d261c..da472f5 100644 --- a/downloads.php +++ b/downloads.php @@ -86,8 +86,9 @@ site_header("Downloads", <a name="v5"></a> <?php $SHOW_COUNT = 2; +$MAJOR = 5; for ($i=1; $i<=$SHOW_COUNT; ++$i) { -list($v, $a) = each($RELEASES[5]); +list($v, $a) = each($RELEASES[$MAJOR]); ?> <?php if ($i == 1) { ?> @@ -114,6 +115,9 @@ foreach($a["source"] as $rel) { echo " </li>\n"; } ?> +<li> + <a href="/ChangeLog-<?php echo $MAJOR; ?>.php#<?php echo urlencode($v); ?>">Changelog for PHP <?php echo $v; ?></a> +</li> </ul> <hr />

« previous php.webmaster (#15049) next »