X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=5f46470904c9172a0eb7575d5c7e66141ebb96d7;hp=38356ddb46035d62e9ecbabae2293259283ed055;hb=d3163cc4ad76ea5608cdef1ec53bfa644485315a;hpb=5e1a0bda25ddea405798e52388de4dd0a05d356c diff --git a/include/output.php b/include/output.php index 38356dd..5f46470 100644 --- a/include/output.php +++ b/include/output.php @@ -7,31 +7,6 @@ if(!isset($HOST)) /* functions which only ouput html */ -function output_user_settings() -{ - global $PREF; - - echo "
\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; @@ -54,13 +29,11 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) 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 ;)

-
+ +

Select players (Remember: you need to be one of the players)

- table + table \n"; $i++; - echo " Name: \n \n"; foreach($names as $name) { if($name==$rand) @@ -85,6 +58,7 @@ function output_form_for_new_game($names) } ?>
+

Rules

Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected

Ten of hearts: @@ -342,6 +316,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) {