1
0
mirror of https://github.com/php/web-php.git synced 2026-04-27 08:58:12 +02:00

Getting to print just a blank image, if no page exists.

Colin will make some grayed flags, I hope (it would be
much better)...
This commit is contained in:
Gabor Hojtsy
2001-01-27 10:48:42 +00:00
parent 984957f052
commit b348bd75e1
+1 -1
View File
@@ -64,7 +64,7 @@ function makeBorderTOC($this)
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>'; }
}