X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=bbd16af4360565291484c42d6734f585908e578d;hp=21f7e8eb5a78be972f0893cdf5bacb83e01ddabd;hb=11882439a450641bf0d4dd048775d0bdfb592642;hpb=53314b8335e7565cf63941ba074cafba37d913e2 diff --git a/include/output.php b/include/output.php index 21f7e8e..bbd16af 100644 --- a/include/output.php +++ b/include/output.php @@ -75,8 +75,8 @@ function output_form_for_new_game($names)
Call Re/Contra, etc.:
@@ -143,7 +143,7 @@ function display_card($card,$dir="english") /* cards are only availabl for the odd values, e.g. 1.png, 3.png, ... * convert even cards to the matching odd value */ - if( $card/2 - (int)($card/2) == 0.5) + if( $card/2 - (int)($card/2) == 0.5 || $card == 0) echo "\n"; else echo "\n"; @@ -270,48 +270,12 @@ function output_header()