cvs: phpweb / mirrors.php
| From: | Gabor Hojtsy | Date: | Wed, 23 Apr 2003 15:53:34 +0000 |
| Subject: | cvs: phpweb / mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16948@lists.php.net to get a copy of this message | ||
goba Wed Apr 23 11:53:34 2003 EDT
Modified files:
/phpweb mirrors.php
Log:
Also provide information on local search
Index: phpweb/mirrors.php
diff -u phpweb/mirrors.php:1.19 phpweb/mirrors.php:1.20
--- phpweb/mirrors.php:1.19 Tue Feb 4 09:10:22 2003
+++ phpweb/mirrors.php Wed Apr 23 11:53:34 2003
@@ -50,11 +50,11 @@
// country header, if it is a new one
$country = mirror_country($murl);
if ($prevcc != $country) {
- echo '<tr><td colspan="4"></td></tr>' .
"\n";
+ echo '<tr><td colspan="5"></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 '<td colspan="4"><b>' . $COUNTRIES[$country] .
'</b><br /></td>';
echo '</tr>' . "\n";
}
@@ -80,6 +80,11 @@
// Print out mirror's default language
echo '<td><small>';
echo $LANGUAGES[default_language($murl)];
+ echo '</small><br /></td>' . "\n";
+
+ // Print out search support information
+ echo '<td><small>';
+ echo (have_search($murl) ? "with local search" : " ");
echo '</small><br /></td>' . "\n";
// End row for this mirror