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

From: Date: Mon, 26 Mar 2007 17:30:54 +0000
Subject: cvs: php-master-web /manage mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34891@lists.php.net to get a copy of this message
bjori Mon Mar 26 17:30:54 2007 UTC Modified files: /php-master-web/manage mirrors.php Log: Print out PHP version info for all mirrors # Makes it easier to identify those mirrors running oooooutdated php versions http://cvs.php.net/viewvc.cgi/php-master-web/manage/mirrors.php?r1=1.98&r2=1.99&diff_format=u Index: php-master-web/manage/mirrors.php diff -u php-master-web/manage/mirrors.php:1.98 php-master-web/manage/mirrors.php:1.99 --- php-master-web/manage/mirrors.php:1.98 Thu Mar 15 18:06:29 2007 +++ php-master-web/manage/mirrors.php Mon Mar 26 17:30:54 2007 @@ -1,4 +1,4 @@ -<?php +<?php // vim: et // Force login and include common functions include_once 'login.inc'; include_once 'functions.inc'; @@ -291,11 +291,11 @@ @$stats['phpversion_counts'][$row['phpversion'][0]]++; // Print separator row - $summary .= '<tr><td colspan="7"></td></tr>' . "\n"; + $summary .= '<tr><td colspan="8"></td></tr>' . "\n"; // Print out a country header, if a new country is found if ($prevcc != $row['cc']) { - $summary .= '<tr><th colspan="7">' . $row['countryname'] . "</th></tr>\n"; + $summary .= '<tr><th colspan="8">' . $row['countryname'] . "</th></tr>\n"; } $prevcc = $row['cc']; @@ -398,6 +398,9 @@ // Print out mirror search table cell $summary .= '<td align="center">' . $searchcell . '</td>' . "\n"; + // Print out version information for this mirror + $summary .= '<td align="center">' . $row['phpversion']. '</td>' . "\n"; + // Print out mirror stats table cell $summary .= '<td align="right">' . $statscell . '</td>' . "\n"; @@ -411,7 +414,7 @@ // If any info on the error of this mirror is available, print it out if ($errorinfo) { $summary .= "<tr><tr bgcolor=\"#e0e0e0\"><td bgcolor=\"#ffffff\"></td>" . - "<td colspan=\"6\"><img src=\"/images/mirror_info.png\" /> " . + "<td colspan=\"7\"><img src=\"/images/mirror_info.png\" /> " . "$errorinfo</td></tr>"; } }

« previous php.mirrors (#34891) next »