cvs: php-master-web / style.css /manage mirrors.php

From: Date: Thu, 25 Dec 2003 15:13:31 +0000
Subject: cvs: php-master-web / style.css /manage mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-22704@lists.php.net to get a copy of this message
goba Thu Dec 25 10:13:31 2003 EDT Modified files: /php-master-web style.css /php-master-web/manage mirrors.php Log: use table for mirror types Index: php-master-web/style.css diff -u php-master-web/style.css:1.16 php-master-web/style.css:1.17 --- php-master-web/style.css:1.16 Thu Oct 9 07:39:14 2003 +++ php-master-web/style.css Thu Dec 25 10:13:30 2003 @@ -42,6 +42,9 @@ margin: 3px; padding: 0px; } +div#resources table { + float: left; +} /* Mirrors table */ table#mirrors { Index: php-master-web/manage/mirrors.php diff -u php-master-web/manage/mirrors.php:1.82 php-master-web/manage/mirrors.php:1.83 --- php-master-web/manage/mirrors.php:1.82 Tue Nov 18 13:00:01 2003 +++ php-master-web/manage/mirrors.php Thu Dec 25 10:13:31 2003 @@ -419,9 +419,29 @@ $versions = substr($versions, 0, -2); $last_check_time = get_print_date($checktime); + + $stats['ok'] = $stats['mirrors'] - $stats['autodisabled'] - $stats['disabled']; echo <<<EOS <div id="resources"> + <table> + <tr> + <td>(<img src="/images/mirror_ok.png" />) Fine:</td> + <td>{$stats['ok']}</td> + </tr> + <tr> + <td>(<img src="/images/mirror_deactivated.png" />) Disabled:</td> + <td>{$stats['disabled']}</td> + </tr> + <tr> + <td>(<img src="/images/mirror_error.png" />) AutoDisabled:</td> + <td>{$stats['autodisabled']}</td> + </tr> + <tr> + <td><strong>Total:</strong></td> + <td><strong>{$stats['mirrors']}</strong></td> + </tr> + </table> <h1>Resources</h1> <a href="http://php.net/mirroring.php" target="_blank">Guidelines</a><br /> <a href="mailto:mirrors@php.net">Mailing list</a><br /> @@ -445,11 +465,7 @@ </p> <p> - Total number of mirrors: {$stats['mirrors']} of which {$stats['disabled']} is manually - disabled (<img src="/images/mirror_deactivated.png" />) and {$stats['autodisabled']} - is automatically disabled (<img src="/images/mirror_error.png" />). Other sites are - properly working (<img src="/images/mirror_ok.png" />) Of all the sites, - {$stats['has_search']} has onsite search support (<img src="/images/mirror_search.png" />) + Of all the sites, {$stats['has_search']} has onsite search support (<img src="/images/mirror_search.png" />) and {$stats['has_stats']} has stats support (<img src="/images/mirror_stats.png" />). The PHP versions used on the sites are {$versions}. </p>

« previous php.mirrors (#22704) next »