X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=1d1a71ffd8a4fe5e061af850e4fb55ef27eb87bc;hp=03e6ced7072028c0cc118ec384e99372b8ac5bdf;hb=b77b3294e4c74820f1bc036603dd8d3210e0eccc;hpb=252c638b8028a86ba8cb5e315b3f13992b6fa77d diff --git a/include/output.php b/include/output.php index 03e6ced..1d1a71f 100644 --- a/include/output.php +++ b/include/output.php @@ -202,12 +202,15 @@ function display_card($card,$dir="english") return; } -function display_link_card($card,$dir="english",$type="card") +function display_link_card($card,$dir="english",$type="card", $selected=0) { + if($selected) + $selected = 'checked="checked"'; + if( $card/2 - (int)($card/2) == 0.5) - echo "
\n"; + echo "\n"; else - echo "\n"; + echo "\n"; return; } @@ -219,14 +222,14 @@ function output_check_for_sickness($me,$mycards) echo ''; echo ' '._('Do you want to play solo?').''; echo ' '; echo '+ | ||
+ | ||
+ | ||
@@ -570,10 +563,10 @@ function output_user_notes($userid,$gameid,$userstatus) echo " |