X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=a4b84a0e738d0a85246994c33bf0f13ef8aca504;hp=9c4316c8c35fdf9485f5433f6164e7d2e692b892;hb=bbd5682c50f3bba8b7eb199392eaf0e0c0ff7c19;hpb=e395151af6c953c0e7fa9229dd921f8d721ab69c diff --git a/include/output.php b/include/output.php index 9c4316c..a4b84a0 100644 --- a/include/output.php +++ b/include/output.php @@ -293,60 +293,60 @@ function output_check_for_sickness($me,$mycards) function output_form_calls($me,$myparty) { - $highstart = ""; - $highend = ""; + $highstart = ' '; + $highend = ''; $tmp = can_call(120,$me); if( $tmp ) { if($tmp==2) echo $highstart; if($myparty=='re') - echo "re (120):"; + echo ' re (120):'; else if ($myparty=='contra') - echo "contra (120):"; + echo ' contra (120):'; else - echo " re/contra (120):"; - echo " "; + echo ' re/contra (120):'; + echo ' '; if($tmp==2) echo $highend; - echo "
\n"; + echo "\n"; } - $tmp = can_call(90,$me); + $tmp = can_call(90,$me); if( $tmp ) { if($tmp==2) echo $highstart; - echo " 90:". - " "; + echo ' 90:'. + ' '; if($tmp==2) echo $highend; - echo "
\n"; + echo "\n"; } $tmp = can_call(60,$me); if( $tmp ) { if($tmp==2) echo $highstart; - echo " 60:". - " "; + echo ' 60:'. + ' '; if($tmp==2) echo $highend; - echo "
\n"; + echo "\n"; } $tmp = can_call(30,$me); if( $tmp ) { if($tmp==2) echo $highstart; - echo " 30:". - " "; + echo ' 30:'. + ' '; if($tmp==2) echo $highend; - echo "
\n"; + echo "\n"; } $tmp = can_call(0,$me); if( $tmp ) { if($tmp==2) echo $highstart; - echo " 0:". - " "; + echo ' 0:'. + ' '; if($tmp==2) echo $highend; - echo "
\n". - " no call:". - "
"; + echo "\n". + ' no call:'. + ' '."\n"; } } @@ -376,7 +376,7 @@ function output_header() e-Doko - + @@ -384,6 +384,19 @@ function output_header() $(document).ready(function() { $("#ScoreTable").tablesorter({ widgets: ['zebra']}); + + $(".gameshidesession").click( function () { + $(this).parent().children(".gamessession").toggle(300); + }); + + $(".gameshowall").click( function () { + $(".gamessession").show(300); + }); + $(".gamehideall").click( function () { + $(".gamessession").hide(300); + }); + + });