X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=88bc9f21a1d2b6bbd6050e2260d8a44e9d9379a6;hp=59cfeea0543d019d9fcf0c6966537fc46759d98c;hb=dfbea65d8ae9c21190a9fe5b69ea2ee098dcede7;hpb=906d4b7166440641b753148f9b9f158b2e1f2c0f diff --git a/output.php b/output.php index 59cfeea..88bc9f2 100644 --- a/output.php +++ b/output.php @@ -2,100 +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) { 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 "change password
"; + + if( $PREF["cardset"] == "english" ) + echo "use german cards
"; + else + 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: figure out a better way to handle passwords
\n"; - ?> -
-
- Register - - - - - - - - - - - - - - - -
- - (If your timezone is not listed, just select whatever you want and email the admin your correct time zone.) -
-
-
-\n"; echo " \n"; echo " \n"; echo " \n"; @@ -105,7 +34,6 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid) echo " \n"; echo " \n"; echo " \n"; - echo "\n"; return; } @@ -116,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: