From f76fd18d079621307fd71bffd83233a67e93a0ec Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 6 Oct 2011 23:08:10 -0700 Subject: [PATCH] make cards clickable as radiobuttons --- include/output.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.17.1