X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=9cadcb001b1d0c0048a8bb7d6d5182b19f45156a;hp=a2f91e4606210771c9748f46ac90f355c8004aa4;hb=223b9a88ef79e40f039f215e0a0ef51c1023d9b5;hpb=4d12bf8c86b466aff0ba2252ecb42830478a1a8a
diff --git a/output.php b/output.php
index a2f91e4..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";
+
+ return;
+}
-function output_form_for_new_game()
+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 "\n";
+
+ return;
+}
?>
\ No newline at end of file