X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=47fddfea50ae2aeab4261edf75cd4c1f9fbb1af8;hp=2f846be70badcabaf4b5eb930efc2c4e168f141e;hb=2666bb58429c385b716d2ffd5d5fe9a9e7af4f45;hpb=36b10f3b006cfc919fdb657e1f06f41969082f0e diff --git a/include/output.php b/include/output.php index 2f846be..47fddfe 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,13 +270,13 @@ function output_header()