Age | Commit message (Collapse) | Author | Files | Lines |
|
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
|
|
just a small cleanup.
|
|
just need to switch them... should be ok now.
|
|
Players who set their preference on this setting to 'no' are not considered as players in a new game.
|
|
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
all emails subject should have the list header in them, forgot to add it to the ones that are sent out when starting a new game. Also renamed a variable for more consistency.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
once you started a game you only got a message telling you that, but no way to get back to your user page with all the links.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
to DB_xxx
should be very easy now to change to a different database. also made the code look nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
no more if, but one nice switch statement in index.php
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
created an include dir and almost everything that was in index.php is now in separate
files and gets only included in index.php... makes index.php look a lot nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|