X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=44bdfc3cbf4f9c8af0bb0752dce507cb7e28ff4e;hp=721858f51d1615bb43e6cdfbbdfefad7afcd65d1;hb=ee59b6b39abc3691431b027785341aa308d1313c;hpb=9fd03423a0e5e26397250e8924d2be0e01e2ceaf
diff --git a/output.php b/output.php
index 721858f..44bdfc3 100644
--- a/output.php
+++ b/output.php
@@ -2,21 +2,12 @@
/* functions which only ouput html */
-function display_status($gametype)
-{
- echo "
";
- echo " Gametype: $gametype";
- echo "
\n";
-
- return;
-}
-
function display_news()
{
global $wiki;
echo "
\n".
- " Please hit shift+reload. \n".
- " The server now keeps score... (only from now on) ".
+ " Schweinchen should work now (only for new games). ".
" If you find more bugs, please list them in the wiki.\n
\n";
return;
@@ -39,7 +30,7 @@ function output_register()
{
echo "IMPORTANT: passwords are going over the net as clear text, so pick an easy password. No need to pick anything complicated here ;)
";
echo "TODO: convert timezone into a menu \n";
- echo "TODO: figure out a way to handle passwrods \n";
+ echo "TODO: figure out a way to handle passwords \n";
?>
\n";
+ echo "\n";
else
- echo "\n";
+ echo "\n";
return;
}
-function display_link_card($card)
+function display_link_card($card,$dir="english")
{
if( $card/2 - (int)($card/2) == 0.5)
- echo "\n";
+ echo "\n";
else
- echo "\n";
+ echo "\n";
return;
}
@@ -256,11 +251,15 @@ function output_home_page()