X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=a8d6bf14ee266fce394a61717619219d18531d60;hp=75d013523cd1aef535e48bf76f227d2eb3330c13;hb=19f70fcd8c26c4a6279addcf8c29fba8f21e13da;hpb=d638a4e1d0c15ce749430e546d695827c04979f1 diff --git a/output.php b/output.php index 75d0135..a8d6bf1 100644 --- a/output.php +++ b/output.php @@ -2,104 +2,29 @@ /* functions which only ouput html */ -function display_links($email,$password) -{ - global $wiki; - echo "
\n". - "Report bugs in the wiki.
\n"; - output_link_to_user_page($email,$password); - echo "
\n"; - return; -} - -function output_link_to_user_page($email,$password) -{ - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - - return; -} - -function output_user_settings($email,$password) +function output_user_settings() { global $PREF; echo "
\n"; echo "

Settings

\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - if($PREF["ccemail"]=="no") - echo "
\n"; + echo "change password
"; + + if( $PREF["cardset"] == "english" ) + echo "use german cards
"; else - echo "
\n"; - echo "
\n"; + echo "use english cards
"; + echo "
\n"; - return; -} -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 passwords
\n"; - ?> -
-
- Register - - - - - - - - - - - - - - - -
- -
-
-
-\n"; echo " \n"; echo " \n"; echo " \n"; @@ -109,7 +34,6 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) echo " \n"; echo " \n"; echo " \n"; - echo "\n"; return; } @@ -120,13 +44,19 @@ function output_form_for_new_game($names)

Players

Please select four players (or use the randomly pre-selected names)

+ +
+ table "; + $i++; echo " Name: \n"; + echo " \n"; } ?> -

Rules

+
+

Rules

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

ten of hearts: