diff options
-rw-r--r-- | include/output.php | 4 |
1 files 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 "<div class=\"cardinput\"><input type=\"radio\" name=\"".$type."\" value=\"".$card."\" $selected /><img src=\"cards/".$dir."/".$card.".png\" alt=\"".DB_get_card_name($card)."\" /></div>\n"; + echo "<label class=\"cardinput\"><input type=\"radio\" name=\"".$type."\" value=\"".$card."\" $selected /><img src=\"cards/".$dir."/".$card.".png\" alt=\"".DB_get_card_name($card)."\" /></label>\n"; else - echo "<div class=\"cardinput\" ><input type=\"radio\" name=\"".$type."\" value=\"".$card."\" $selected /><img src=\"cards/".$dir."/".($card-1).".png\" alt=\"".DB_get_card_name($card-1)."\" /></div>\n"; + echo "<label class=\"cardinput\"><input type=\"radio\" name=\"".$type."\" value=\"".$card."\" $selected /><img src=\"cards/".$dir."/".($card-1).".png\" alt=\"".DB_get_card_name($card-1)."\" /></label>\n"; return; } |