From: Arun Persaud Date: Fri, 7 Oct 2011 06:08:10 +0000 (-0700) Subject: make cards clickable as radiobuttons X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=f76fd18d079621307fd71bffd83233a67e93a0ec;hp=05708aa3f4cea507b916ed651c8393553d0121f7 make cards clickable as radiobuttons --- diff --git a/include/output.php b/include/output.php index e79fecf..8479d4b 100644 --- a/include/output.php +++ b/include/output.php @@ -208,9 +208,9 @@ function display_link_card($card,$dir="english",$type="card", $selected=0) $selected = 'checked="checked"'; if( $card/2 - (int)($card/2) == 0.5) - echo "
\"".DB_get_card_name($card)."\"
\n"; + echo "\n"; else - echo "
\"".DB_get_card_name($card-1)."\"
\n"; + echo "\n"; return; }