X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=89aedff9d802509517a1ba412e3a40b42716d779;hp=68cfb28f7fa96fdc3eda723c448853ec78dcf999;hb=35687ace49ce0b41b1380603513d1f04cd6b458f;hpb=1bb3313519b27a11d6634b584301f4d65f3ff364
diff --git a/output.php b/output.php
index 68cfb28..89aedff 100644
--- a/output.php
+++ b/output.php
@@ -2,74 +2,191 @@
/* functions which only ouput html */
-function display_status()
+function display_links($email,$password)
{
- echo "
";
- echo " is someone playing solo, etc?";
- echo "
\n";
-
+ global $wiki;
+ echo "\n".
+ "Report bugs in the
wiki .
\n";
+ output_link_to_user_page($email,$password);
+ echo "
\n";
return;
}
-function display_news()
+function output_link_to_user_page($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";
+ echo " go to my user page ";
+
+ return;
+}
+
+function output_user_settings($email,$password)
+{
+ global $PREF;
+
+ 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 ;)
-