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

From: Date: Sat, 28 Dec 2002 10:50:43 +0000
Subject: cvs: php-master-web /manage mirrors.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14523@lists.php.net to get a copy of this message
goba Sat Dec 28 05:50:43 2002 EDT Modified files: /php-master-web/manage mirrors.php Log: We need the actual mirror languages list. It is assumed, that the file on php.net is safe, contains actual information, and is served by Apache. This makes that include file the common place to define languages. Index: php-master-web/manage/mirrors.php diff -u php-master-web/manage/mirrors.php:1.20 php-master-web/manage/mirrors.php:1.21 --- php-master-web/manage/mirrors.php:1.20 Sat Dec 21 14:17:23 2002 +++ php-master-web/manage/mirrors.php Sat Dec 28 05:50:42 2002 @@ -286,43 +286,8 @@ function show_language_options($lang = "en") { - // This should always contain the same as - // phpweb/include/languages.inc, or - // otherwise bad things may happen - $LANGUAGES = array( - 'en' => 'English', - 'pt_BR' => 'Brazilian Portuguese', - 'bg' => 'Bulgarian', - 'ca' => 'Catalan', - 'zh' => 'Chinese', - 'zh_cn' => 'Chinese', - 'cs' => 'Czech', - 'da' => 'Danish', - 'nl' => 'Dutch', - 'fi' => 'Finnish', - 'fr' => 'French', - 'de' => 'German', - 'el' => 'Greek', - 'hu' => 'Hungarian', - 'in' => 'Indonesian', - 'it' => 'Italian', - 'ja' => 'Japanese', - 'ko' => 'Korean', - 'kr' => 'Korean', // This should be 'ko'. It is wrong in phpdoc! - 'lv' => 'Latvian', - 'no' => 'Norwegian', - 'pl' => 'Polish', - 'pt' => 'Portuguese', - 'ro' => 'Romanian', - 'ru' => 'Russian', - 'sk' => 'Slovak', - 'sl' => 'Slovenian', - 'es' => 'Spanish', - 'sv' => 'Swedish', - 'th' => 'Thai', - 'tr' => 'Turkish', - 'uk' => 'Ukranian', - ); + // We need the actual languages include file + include_once "http://php.net/include/languages.inc"; // Write out an <option> for all languages foreach ($LANGUAGES as $code => $name) {

« previous php.mirrors (#14523) next »