projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CLEANUP: moved register.php to the include directory
[e-DoKo.git]
/
include
/
user.php
diff --git
a/include/user.php
b/include/user.php
index 0f67a68f9791ff9f7fc418421d46817dbc12494d..8feac019ec73fb2411a79b6a7503c7848e8a071d 100644
(file)
--- a/
include/user.php
+++ b/
include/user.php
@@
-212,14
+212,14
@@
if(myisset("forgot"))
}
if($r[4]=='pre')
{
}
if($r[4]=='pre')
{
- echo "\n <span class=\"gamestatuspre\"><a href=\"".$INDEX."?me=".$r[0]."\">p </a></span> ";
+ echo "\n <span class=\"gamestatuspre\"><a href=\"".$INDEX."?
action=game&
me=".$r[0]."\">p </a></span> ";
}
else if ($r[4]=='gameover')
}
else if ($r[4]=='gameover')
- echo "\n <span class=\"gamestatusover\"><a href=\"".$INDEX."?me=".$r[0]."\">F </a></span> ";
+ echo "\n <span class=\"gamestatusover\"><a href=\"".$INDEX."?
action=game&
me=".$r[0]."\">F </a></span> ";
else
{
else
{
- echo "\n <span class=\"gamestatusplay\"><a href=\"".$INDEX."?me=".$r[0]."\">P </a></span> ";
+ echo "\n <span class=\"gamestatusplay\"><a href=\"".$INDEX."?
action=game&
me=".$r[0]."\">P </a></span> ";
}
if($r[4] != 'gameover')
{
}
if($r[4] != 'gameover')
{
@@
-233,12
+233,12
@@
if(myisset("forgot"))
if(DB_get_reminder($r[3],$gameid)==0)
if(time()-strtotime($r[2]) > 60*60*24*7)
echo "".
if(DB_get_reminder($r[3],$gameid)==0)
if(time()-strtotime($r[2]) > 60*60*24*7)
echo "".
- "<a href=\"$INDEX?
remind=1
&me=".$r[0]."\">Send a reminder.</a>";
+ "<a href=\"$INDEX?
action=reminder
&me=".$r[0]."\">Send a reminder.</a>";
echo "(it's $name's turn)\n";
};
if(time()-strtotime($r[2]) > 60*60*24*30)
echo "".
echo "(it's $name's turn)\n";
};
if(time()-strtotime($r[2]) > 60*60*24*30)
echo "".
- "<a href=\"$INDEX?
cancel=1
&me=".$r[0]."\">Cancel?</a>".
+ "<a href=\"$INDEX?
action=cancel
&me=".$r[0]."\">Cancel?</a>".
" (clicking here is final and can't be restored)";
}
" (clicking here is final and can't be restored)";
}