cvs: php-gtk-web /include shared-manual.inc

From: Date: Mon, 10 Apr 2006 03:13:54 +0000
Subject: cvs: php-gtk-web /include shared-manual.inc
Groups: php.gtk.webmaster 
Request: Send a blank email to php-gtk-webmaster+get-2983@lists.php.net to get a copy of this message
sfox Mon Apr 10 03:13:54 2006 UTC Modified files: /php-gtk-web/include shared-manual.inc Log: Hide translations until they have some material in them. http://cvs.php.net/viewcvs.cgi/php-gtk-web/include/shared-manual.inc?r1=1.63&r2=1.64&diff_format=u Index: php-gtk-web/include/shared-manual.inc diff -u php-gtk-web/include/shared-manual.inc:1.63 php-gtk-web/include/shared-manual.inc:1.64 --- php-gtk-web/include/shared-manual.inc:1.63 Sat Apr 8 13:09:08 2006 +++ php-gtk-web/include/shared-manual.inc Mon Apr 10 03:13:54 2006 @@ -141,12 +141,12 @@ # } else { - global $LANGUAGES; + global $LANGUAGES, $man2_languages; $links = array(); if($LANGUAGES){ foreach($LANGUAGES as $code=>$name) { - if (file_exists("../../manual/$code/$id")) { - $links[] = make_link("../../manual/$code/$id", $name); + if (in_array($code, $man2_languages) && file_exists("../$code/$id")) { + $links[] = make_link("../$code/$id", $name); } } }

« previous php.gtk.webmaster (#2983) next »