cvs: phpweb / mirrors.php
| From: | Gabor Hojtsy | Date: | Thu, 24 Apr 2003 07:01:55 +0000 |
| Subject: | cvs: phpweb / mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16999@lists.php.net to get a copy of this message | ||
goba Thu Apr 24 03:01:55 2003 EDT
Modified files:
/phpweb mirrors.php
Log:
Local default language settings are not
that important anymore, as we have user
based Accept-language parsing which
always overrides this (and last language
and user preferred language settings, which
also override the Accept-language info)
Index: phpweb/mirrors.php
diff -u phpweb/mirrors.php:1.21 phpweb/mirrors.php:1.22
--- phpweb/mirrors.php:1.21 Thu Apr 24 02:51:29 2003
+++ phpweb/mirrors.php Thu Apr 24 03:01:54 2003
@@ -22,12 +22,6 @@
is highlighted in the list below.
</p>
<p>
- Mirror sites also have default language settings, so shortcut navigation
- services provide you results in that language. See the
- <?php print_link("/urlhowto.php", "URL shortcuts page"); ?> for
- examples of this behaviour.
-</p>
-<p>
If you are interested in hosting a mirror of this site,
<?php print_link("/mirroring.php", "here's how"); ?>.
</p>
@@ -50,11 +44,11 @@
// country header, if it is a new one
$country = mirror_country($murl);
if ($prevcc != $country) {
- echo '<tr><td colspan="5"></td></tr>' .
"\n";
+ 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="4"><b>' . $COUNTRIES[$country] .
'</b><br /></td>';
+ echo '<td colspan="3"><b>' . $COUNTRIES[$country] .
'</b><br /></td>';
echo '</tr>' . "\n";
}
@@ -75,11 +69,6 @@
// Print out mirror provider's link
echo '<td><small>';
print_link(mirror_provider_url($murl), mirror_provider($murl));
- echo '</small><br /></td>' . "\n";
-
- // Print out mirror's default language
- echo '<td><small>';
- echo $LANGUAGES[default_language($murl)];
echo '</small><br /></td>' . "\n";
// Print out search support information