Commit:    29b6c5f86e6d92d6824b96d45cc85544bdb4774a
Author:    Sara Golemon <[email protected]>         Mon, 5 Jun 2017 22:36:42 -0400
Parents:   fe9f16cbb3f8bd443d925c799cbb029a888bc836
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=29b6c5f86e6d92d6824b96d45cc85544bdb4774a

Log:
Fix formatting when both md5/sha256 are available

This should probably be done more cleanly with CSS,
but this is a quick and dirty good-enough fix.

Changed paths:
  M  releases/index.php


Diff:
diff --git a/releases/index.php b/releases/index.php
index 271c486..848fbde 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -183,6 +183,9 @@ function mk_rel($major, $ver, $date, $announcement, 
$source, $windows, $museum)
                                download_link($src["filename"], $src["name"]); 
echo "<br>\n";
                                if (isset($src["md5"])) {
                                        echo '<span class="md5sum">md5: ' 
.$src["md5"]. "</span>\n";
+                                       if (isset($src["sha256"])) {
+                                               echo '<br/>';
+                                       }
                                }
                                if (isset($src["sha256"])) {
                                        echo '<span class="sha256sum">sha256: ' 
.$src["sha256"]. "</span>\n";


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to