X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=3eb813013d5e7d9f33e290235a65f30a89a3a438;hp=4f4a5b6ff3c493053b4e8a61338c19ab8995a320;hb=61ced3e42a77e624e2209a94c5f324a2071eef7d;hpb=4fc2c543112c4734b71272b1e4a1392406d63455
diff --git a/include/output.php b/include/output.php
index 4f4a5b6..3eb8130 100644
--- a/include/output.php
+++ b/include/output.php
@@ -1,5 +1,5 @@
\n";
- echo "
Settings
\n";
- echo "Change password
";
-
- echo " Card set
\n";
- if( $PREF["cardset"] == "english" )
- echo "Change to German cards
";
- else
- echo "Change to English cards
";
-
- echo " Email
\n";
- if( $PREF["email"] == "emailaddict" )
- echo "Change to non-addicted mode (emails for each move)
";
- else
- echo "Change to addicted mode (minimal amount of emails)
";
-
- echo "\n";
-
- return;
-}
-
function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
{
global $RULES;
+ echo "\n\n
";
return;
}
function output_form_for_new_game($names)
{
?>
- Players
- Please select four players (or use the randomly pre-selected names)
- Remember: you need to be one of the players ;)
-
-
-e-Doko
-
+
@@ -375,15 +346,20 @@ function output_footer()
function output_status()
{
- global $defaulttimezone;
+ global $defaulttimezone,$INDEX,$WIKI;
if(isset($_SESSION["name"]))
{
$name = $_SESSION["name"];
/* logout info */
- echo "\n";
- echo $name;
- echo "
logout";
+ echo "\n
\n";
/* last logon time */
@@ -400,6 +376,28 @@ function output_status()
return;
}
+function output_select_timezone($name,$timezone="")
+{
+ $Tzone = array ( "Europe/London" => "London",
+ "Europe/Berlin" => "Berlin",
+ "America/Vancouver" => "Berkeley",
+ "Pacific/Auckland" => "Wellington" );
+
+ echo "
\n";
+
+ return;
+}
+
+
function output_password_recovery($email,$password)
{