svn: /web/php/trunk/include/ layout.inc

From: Date: Sun, 26 Dec 2010 17:39:08 +0000
Subject: svn: /web/php/trunk/include/ layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9833@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 17:39:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306695 Log: Fix language detection Changed paths: U web/php/trunk/include/layout.inc Modified: web/php/trunk/include/layout.inc =================================================================== --- web/php/trunk/include/layout.inc 2010-12-26 17:31:04 UTC (rev 306694) +++ web/php/trunk/include/layout.inc 2010-12-26 17:39:08 UTC (rev 306695) @@ -776,7 +776,13 @@ function site_header_beta($title = '', $config = array()) { global $SIDEBAR_DATA; - $lang = myphpnet_language(); + global $setup; + if ($setup) { + $lang = language_convert($setup['head'][1]); + } + else { + $lang = myphpnet_language(); + } if (isset($config["current"])) { $curr = $config["current"];

« previous php.webmaster (#9833) next »