cvs: phpweb / get_download.php
| From: | Gabor Hojtsy | Date: | Tue, 04 Feb 2003 14:08:05 +0000 |
| Subject: | cvs: phpweb / get_download.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-15486@lists.php.net to get a copy of this message | ||
goba Tue Feb 4 09:08:05 2003 EDT
Modified files:
/phpweb get_download.php
Log:
Adding newslines at several places to the output, to make it more
readable in HTML source mode...
Index: phpweb/get_download.php
diff -u phpweb/get_download.php:1.8 phpweb/get_download.php:1.9
--- phpweb/get_download.php:1.8 Tue Feb 4 09:05:48 2003
+++ phpweb/get_download.php Tue Feb 4 09:08:05 2003
@@ -66,35 +66,35 @@
// country header, if it is a new one
$country = mirror_country($murl);
if ($prevcc != $country) {
- echo '<tr><td colspan="3"></td></tr>';
+ echo '<tr><td colspan="3"></td></tr>' .
"\n";
echo '<tr bgcolor="#cccccc"><td width="40"
align="center">';
print_image('flags/' . strtolower($country) . '.png',
$COUNTRIES[$country], FALSE, 'CLASS="flag"');
echo '<br /></td>';
echo '<td colspan="2"><b>' . $COUNTRIES[$country] .
'</b><br /></td>';
- echo '</tr>';
+ echo '</tr>' . "\n";
}
// Highlight this mirror if it is the current one
- echo '<tr bgcolor="' . ($MYSITE == $murl ? '#ffffcc' :
'#e0e0e0') . '">';
+ echo '<tr bgcolor="' . ($MYSITE == $murl ? '#ffffcc' :
'#e0e0e0') . '">' . "\n";
// Print out caret (in bold if current mirror)
echo '<td bgcolor="#ffffff" align="right">';
print_image( ($MYSITE == $murl ? 'caret-r.gif' : 'caret-rg.gif') );
- echo '<br /></td>';
+ echo '<br /></td>' . "\n";
// Print out mirror site download link
echo '<td><small>';
$ps = strpos($murl, '//') + 2;
print_link('/do_download.php?mr=' . urlencode($murl) . '&df=' .
urlencode($df), substr($murl, $ps, -1));
- echo '</small><br /></td>';
+ echo '</small><br /></td>' . "\n";
// Print out mirror provider's name
echo '<td><small>';
echo mirror_provider($murl);
- echo '</small><br /></td>';
+ echo '</small><br /></td>' . "\n";
// End row for this mirror
- echo '</tr>';
+ echo "</tr>\n";
// Maintain previous country code
$prevcc = $country;