cvs: php-master-web /manage mirrors.php /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Sat, 23 Aug 2003 09:55:32 +0000 |
| Subject: | cvs: php-master-web /manage mirrors.php /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20554@lists.php.net to get a copy of this message | ||
goba Sat Aug 23 05:55:32 2003 EDT
Modified files:
/php-master-web/scripts mirror-test
/php-master-web/manage mirrors.php
Log:
Old stats setups are cleaned out, only accept 1 or 0 for search
feature reporting from now on
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.52 php-master-web/scripts/mirror-test:1.53
--- php-master-web/scripts/mirror-test:1.52 Wed Aug 20 09:59:36 2003
+++ php-master-web/scripts/mirror-test Sat Aug 23 05:55:32 2003
@@ -121,7 +121,7 @@
}
// Update stats availability info
- if (in_array($info[4], array('0', '1', '2'))) {
+ if (in_array($info[4], array('0', '1'))) {
$hosts[$index]['has_stats'] = $info[4];
}
Index: php-master-web/manage/mirrors.php
diff -u php-master-web/manage/mirrors.php:1.77 php-master-web/manage/mirrors.php:1.78
--- php-master-web/manage/mirrors.php:1.77 Wed Aug 20 09:59:37 2003
+++ php-master-web/manage/mirrors.php Sat Aug 23 05:55:32 2003
@@ -363,15 +363,12 @@
if (!$searchcell) { $searchcell = " "; }
// Stats information cell
- $statscell = '';
- if ($row['has_stats'] == "2") { $statscell = '('; }
- if (in_array($row['has_stats'], array("1", "2"))) {
- $statscell .= "<a href=\"http://$row[hostname]/stats/\"
target=\"_blank\">" .
- "<img src=\"/images/mirror_stats.png\"
/></a>";
+ $statscell = ' ';
+ if ($row['has_stats'] == "1") {
+ $statscell = "<a href=\"http://$row[hostname]/stats/\"
target=\"_blank\">" .
+ "<img src=\"/images/mirror_stats.png\"
/></a>";
$stats['has_stats']++;
}
- if ($row['has_stats'] == "2") { $statscell .= ')'; }
- if (!$statscell) { $statscell = " "; }
// Maintainer contact information cell
$emailcell = ' ';