X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=functions.php;h=f77f8aead048b977016e6983c99a177d247e965c;hp=49e0a1d21aade548bee7f718417e840bcfc50880;hb=ec799c6a6c714e390ee8729c6245dad23a7e5a2b;hpb=351e3df476b7cc3d6d3db7ec5833367e449bbdfa
diff --git a/functions.php b/functions.php
index 49e0a1d..f77f8ae 100644
--- a/functions.php
+++ b/functions.php
@@ -1,21 +1,5 @@
";
echo " is someone playing solo, etc?";
- echo "";
+ echo "\n";
return;
}
@@ -418,11 +402,11 @@ function display_status()
function display_news()
{
global $wiki;
- echo "
".
- "Please hit shift+reload.
".
- "New Database backend, lost a few features on the way.
".
- "If you find more bugs, please list them in the
wiki.
\n";
+ echo "\n".
+ " Please hit
shift+reload.
\n".
+ " added local time display, let me know what you think
\n".
+ " If you find more bugs, please list them in the
wiki.\n
\n";
return;
}
@@ -431,4 +415,39 @@ function display_cards($me,$myturn)
return;
}
+function return_timezone($offset)
+{
+ switch($offset)
+ {
+ case '1':
+ $zone = "Europe/Berlin";
+ break;
+ case '-8':
+ $zone = "America/Vancouver";
+ break;
+ case '13':
+ $zone = "Pacific/Auckland";
+ break;
+ default:
+ $zone = "Europe/London";
+ }
+
+ return $zone;
+}
+
+function output_form_for_new_game()
+{
+?>
+ Please add 4 names, please make sure that the names are correct!
+
+
\ No newline at end of file