projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NEW FEATURE: only show re or contra for calls
[e-DoKo.git]
/
include
/
output.php
diff --git
a/include/output.php
b/include/output.php
index bbd16af4360565291484c42d6734f585908e578d..f694c5b4d833a896e3251f32bd849682ce43b8c8 100644
(file)
--- a/
include/output.php
+++ b/
include/output.php
@@
-221,11
+221,18
@@
function output_check_for_sickness($me,$mycards)
return;
}
return;
}
-function output_form_calls($me)
+function output_form_calls($me
,$myparty
)
{
if( can_call(120,$me) )
{
if( can_call(120,$me) )
- echo " re/contra (120):".
- " <input type=\"radio\" name=\"call\" value=\"120\" /> <br />";
+ {
+ if($myparty=='re')
+ echo "re (120):";
+ else if ($myparty=='contra')
+ echo "contra (120):";
+ else
+ echo " re/contra (120):";
+ echo " <input type=\"radio\" name=\"call\" value=\"120\" /> <br />";
+ }
if( can_call(90,$me) )
echo " 90:".
" <input type=\"radio\" name=\"call\" value=\"90\" /> <br />";
if( can_call(90,$me) )
echo " 90:".
" <input type=\"radio\" name=\"call\" value=\"90\" /> <br />";
@@
-270,7
+277,7
@@
function output_header()
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
<title>e-Doko</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" />
- <link rel="stylesheet" type="text/css" href="css/standard01
6
.css" />
+ <link rel="stylesheet" type="text/css" href="css/standard01
7
.css" />
<script type="text/javascript" src="include/game.js"> </script>
</head>
<body onload="high_last();">
<script type="text/javascript" src="include/game.js"> </script>
</head>
<body onload="high_last();">