cvs: phpweb / my.php

From: Date: Thu, 18 Oct 2007 16:41:29 +0000
Subject: cvs: phpweb / my.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-270@lists.php.net to get a copy of this message
bjori Thu Oct 18 16:41:29 2007 UTC Modified files: /phpweb my.php Log: Show the country name in the mirror selection http://cvs.php.net/viewvc.cgi/phpweb/my.php?r1=1.32&r2=1.33&diff_format=u Index: phpweb/my.php diff -u phpweb/my.php:1.32 phpweb/my.php:1.33 --- phpweb/my.php:1.32 Thu Jun 7 12:58:35 2007 +++ phpweb/my.php Thu Oct 18 16:41:29 2007 @@ -1,5 +1,5 @@ <?php -// $Id: my.php,v 1.32 2007/06/07 12:58:35 bjori Exp $ +// $Id: my.php,v 1.33 2007/10/18 16:41:29 bjori Exp $ $_SERVER['BASE_PAGE'] = 'my.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; @@ -248,7 +248,7 @@ // Compute user friendly mirror name $mname = ($murl == "NONE" ? "Automatic selection (default)" : - substr($murl, strpos($murl, '//') + 2, -1)); + $COUNTRIES[$mdata[0]] . " (" .substr($murl, strpos($murl, '//') + 2, -1)). ")"; // Print out mirror option with selection if needed printf (

« previous php.webmaster (#270) next »