From 9ea0c1fc3eb689bc8e0223595d42d2e3ecae4192 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 15 Jan 2009 18:50:56 -0800 Subject: NEW FEATURE: only show re or contra for calls makes it clear what you can call in a silent solo. Fixes issue #41. --- include/output.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include/output.php') diff --git a/include/output.php b/include/output.php index dc6f793..f694c5b 100644 --- a/include/output.php +++ b/include/output.php @@ -221,11 +221,18 @@ function output_check_for_sickness($me,$mycards) return; } -function output_form_calls($me) +function output_form_calls($me,$myparty) { if( can_call(120,$me) ) - echo " re/contra (120):". - "
"; + { + if($myparty=='re') + echo "re (120):"; + else if ($myparty=='contra') + echo "contra (120):"; + else + echo " re/contra (120):"; + echo "
"; + } if( can_call(90,$me) ) echo " 90:". "
"; -- cgit v1.2.3-18-g5258