cvs: phpweb / get_download.php

From: Date: Sun, 04 May 2003 10:39:44 +0000
Subject: cvs: phpweb / get_download.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17292@lists.php.net to get a copy of this message
goba Sun May 4 06:39:44 2003 EDT Modified files: /phpweb get_download.php Log: Let the text continue in the same paragraph in case we have found [a] close mirror[s] Index: phpweb/get_download.php diff -u phpweb/get_download.php:1.20 phpweb/get_download.php:1.21 --- phpweb/get_download.php:1.20 Sat May 3 19:11:58 2003 +++ phpweb/get_download.php Sun May 4 06:39:44 2003 @@ -41,7 +41,6 @@ Please choose the mirror closest to you from which to download the file. The current mirror is highlighted in yellow, mirror sites detected to be out of date or disfunctional are not listed for your convenience. -</p> <?php @@ -51,18 +50,19 @@ $close = count_mirrors($COUNTRY); if ($close > 0) { $mnum = (($close > 1) ? "mirrors" : "mirror"); - echo "<p>We have automatically detected the following $mnum to be close\n" . + echo "We have automatically detected the following $mnum to be close\n" . "to you. If you use a mirror close to you for downloads and\n" . "your usual daily work, you will get better response times.</p>\n"; mirror_list($COUNTRY); echo "<p>Here is the list of all the other sites in case our detection\n" . "did something wrong, or the local mirror sites are busy.\n"; mirror_list('', $COUNTRY); - } else { mirror_list(); } -} else { mirror_list(); } + } else { echo "</p>\n"; mirror_list(); } +} else { echo "</p>\n"; mirror_list(); } // List mirrors for download with a possible country matching function mirror_list($cmatch = '', $cnomatch = '') { + global $MIRRORS, $MYSITE, $df, $COUNTRIES; // Print out start of the table centered

« previous php.mirrors (#17292) next »