cvs: phpweb /include shared-manual.inc

From: Date: Sat, 27 Jan 2001 10:48:42 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3630@lists.php.net to get a copy of this message
goba Sat Jan 27 02:48:42 2001 EDT Modified files: /phpweb/include shared-manual.inc Log: Getting to print just a blank image, if no page exists. Colin will make some grayed flags, I hope (it would be much better)... Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.87 phpweb/include/shared-manual.inc:1.88 --- phpweb/include/shared-manual.inc:1.87 Sat Jan 27 02:30:55 2001 +++ phpweb/include/shared-manual.inc Sat Jan 27 02:48:42 2001 @@ -64,7 +64,7 @@ while (list($lang_num, $lang_data) = each ($manual_languages)) { if (@is_file("$DOCUMENT_ROOT/manual/$lang_data[0]/$file")) echo "<a href=\"/manual/$lang_data[0]/$file\"><img src=\"/gifs/flag-$lang_data[1].gif\" valign=bottom height=24 width=45 alt=\"$lang_data[2] version of this page\"></a>"; - else echo "<img src=\"/gifs/flag-$lang_data[1]-gray.gif\" valign=bottom height=24 width=45 alt=\"$lang_data[2] version of this page is not available\">"; + else echo "<img src=\"/gifs/blank.gif\" valign=bottom height=24 width=45 alt=\"$lang_data[2] version of this page is not available\">"; if ($lang_num % 3 == 2) { echo '<br>'; } }

« previous php.mirrors (#3630) next »