cvs: phpweb / mirrors.php

From: Date: Tue, 04 Feb 2003 14:10:22 +0000
Subject: cvs: phpweb / mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15487@lists.php.net to get a copy of this message
goba Tue Feb 4 09:10:22 2003 EDT Modified files: /phpweb mirrors.php Log: Adding newlines to the output, simiarly to get_download.php... Index: phpweb/mirrors.php diff -u phpweb/mirrors.php:1.18 phpweb/mirrors.php:1.19 --- phpweb/mirrors.php:1.18 Fri Jan 3 08:05:49 2003 +++ phpweb/mirrors.php Tue Feb 4 09:10:22 2003 @@ -50,40 +50,40 @@ // country header, if it is a new one $country = mirror_country($murl); if ($prevcc != $country) { - echo '<tr><td colspan="4"></td></tr>'; + echo '<tr><td colspan="4"></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="3"><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 link echo '<td><small>'; $ps = strpos($murl, '//') + 2; print_link($murl, substr($murl, $ps, -1)); - echo '</small><br /></td>'; + echo '</small><br /></td>' . "\n"; // Print out mirror provider's link echo '<td><small>'; print_link(mirror_provider_url($murl), mirror_provider($murl)); - echo '</small><br /></td>'; + echo '</small><br /></td>' . "\n"; // Print out mirror's default language echo '<td><small>'; echo $LANGUAGES[default_language($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;

« previous php.mirrors (#15487) next »