X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=9cadcb001b1d0c0048a8bb7d6d5182b19f45156a;hp=68cfb28f7fa96fdc3eda723c448853ec78dcf999;hb=e68d4598c0d0a5e1f138b9c891f5c1c9ae0e8541;hpb=1bb3313519b27a11d6634b584301f4d65f3ff364
diff --git a/output.php b/output.php
index 68cfb28..9cadcb0 100644
--- a/output.php
+++ b/output.php
@@ -2,74 +2,215 @@
/* functions which only ouput html */
-function display_status()
+function display_links($email,$password)
{
- echo "
";
- echo " is someone playing solo, etc?";
+ 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";
return;
}
-function display_news()
+function output_user_settings($email,$password)
{
- global $wiki;
- 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";
+ global $PREF;
+
+ echo "
\n";
+ echo "
Settings \n";
+ echo "\n";
+ echo "\n";
+ echo "\n";
+ echo "\n";
+ 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";
+ ?>
+
+\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+ echo "\n";
-function output_form_for_new_game()
+ return;
+}
+
+function output_form_for_new_game($names)
{
?>
-
Please add 4 names, please make sure that the names are correct!
+
Players
+
Please select four players (or use the randomly pre-selected names)
\n";
+ echo "
\n";
else
- echo "
\n";
+ echo "
\n";
return;
}
-function display_link_card($card)
+function display_link_card($card,$dir="english",$type="card")
{
if( $card/2 - (int)($card/2) == 0.5)
- echo "
\n";
+ echo "
\n";
else
- echo "
\n";
+ echo "
\n";
return;
}
-function check_for_sickness($me,$mycards)
+function output_check_for_sickness($me,$mycards)
{
?>
-
nothing implemented so far, but give it a try anyway ;)
-
\n";
+
echo "\n";
echo "