X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=output.php;h=89aedff9d802509517a1ba412e3a40b42716d779;hp=77aba216b69282f81c1cf2b1b89ea9dda74ee255;hb=35687ace49ce0b41b1380603513d1f04cd6b458f;hpb=e301f4a3728ca58860f9b88c9743d7912662e7c6
diff --git a/output.php b/output.php
index 77aba21..89aedff 100644
--- a/output.php
+++ b/output.php
@@ -2,44 +2,45 @@
/* functions which only ouput html */
-function display_status($gametype)
+function display_links($email,$password)
{
- echo "
";
- echo " Gametype: $gametype";
- 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".
- " Schweinchen should work now (only for new games).
".
- " If you find more bugs, please list them in the
wiki .\n
\n";
+ echo " go to my user page ";
+
return;
}
-function output_link_to_user_page($email,$password)
+function output_user_settings($email,$password)
{
- echo "\n";
- echo "
\n";
+ 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: convert timezone into a menu
\n";
- echo "TODO: figure out a way to handle passwords
\n";
+ echo "TODO: figure out a better way to handle passwords
\n";
?>
\n";
@@ -340,4 +403,47 @@ function output_footer()
return;
}
+
+function output_status($name)
+{
+ echo "\n";
+ echo $name;
+ echo "
logout \n";
+ echo "
";
+
+ return;
+}
+
+
+function output_password_recovery($email,$password)
+{
+?>
+
+\n";
+ echo " \n";
+ echo " \n";
+?>
+
+ Password recovery
+
+
+
+
+
\ No newline at end of file