Commit: da0c299505aa44fcd6700c367d5ab561a8541d65 Author: Levi Morrison <[email protected]> Thu, 25 Dec 2014 22:48:03 -0700 Parents: 6e95ed45f1136eb9ecf16a7fc31755ab1f73192c Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=da0c299505aa44fcd6700c367d5ab561a8541d65 Log: Fix minor HTML errors and warnings Changed paths: M releases/index.php Diff: diff --git a/releases/index.php b/releases/index.php index 2c6c895..0f52bf9 100644 --- a/releases/index.php +++ b/releases/index.php @@ -103,8 +103,8 @@ $SIDEBAR_DATA = ' <div class="headline">Want a PHP serialize()d list of the PHP releases?</div> <div class="body"> <p>Add <a href="?serialize=1">?serialize=1</a> to the url</p> - <p>Only want PHP 5 releases? <a href="?serialize=1&version=5">&version=5</a></p> - <p>The last 3? <a href="?serialize=1&version=5&max=3">&max=3</a></p> + <p>Only want PHP 5 releases? <a href="?serialize=1&version=5">&version=5</a></p> + <p>The last 3? <a href="?serialize=1&version=5&max=3">&max=3</a></p> </div> </div> '; @@ -129,7 +129,7 @@ site_header("Releases", array("current" => "downloads")); <?php function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum) { - printf("<a name=\"%s\"></a>\n<h2>%1\$s</h2>\n<ul>\n <li>Released: %s</li>\n <li>Announcement: ", ($pos = strpos($ver, " ")) ? substr($ver, 0, $pos) : $ver, $date); + printf("<a id=\"%s\"></a>\n<h2>%1\$s</h2>\n<ul>\n <li>Released: %s</li>\n <li>Announcement: ", ($pos = strpos($ver, " ")) ? substr($ver, 0, $pos) : $ver, $date); if ($announcement) { if (is_array($announcement)) { foreach($announcement as $ann => $url) { @@ -182,7 +182,7 @@ function mk_rel($major, $ver, $date, $announcement, $source, $windows, $museum) $latest = max(array_keys($OLDRELEASES)); foreach($OLDRELEASES as $major => $a) { - echo '<a name="v' .$major. '"></a>'; + echo '<a id="v' .$major. '"></a>'; if ($major != $latest) { echo "\n<hr>\n"; if ($major == 4) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
