summaryrefslogtreecommitdiffstats
path: root/include/functions.php
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19another few "->'Arun Persaud1-8/+8
2012-09-19replaces some more " with 'Arun Persaud1-4/+4
2012-09-19better message when working on the database or having edoko offline for ↵Arun Persaud1-2/+5
other reasons.
2012-09-17Mark the starting player until the game actually starts ;)Arun Persaud1-2/+8
just a small text above the player with some CSS
2012-09-17fixed typo and added a commentArun Persaud1-1/+4
2012-06-09Remove games from digest where the player already movedArun Persaud1-1/+1
2012-02-18speed up get score tableArun Persaud1-15/+20
instead of looping over all games and have 3 database querries for each gameid, we now only do 5 querries: one for the gameids, scores and gametype and then one for each player to get his party
2012-02-10updated copyright notice for 2012Arun Persaud1-1/+1
2011-11-19LAYOUT: remove text "game" from "it's your turn" listArun Persaud1-1/+1
2011-11-19LAYOUT, BUGFIX: don't show current game in "it's your turn" list, also fix ↵Arun Persaud1-7/+16
layout for this on newgame.php
2011-11-16BUGFIX: make "It's your turn in ..." a comma separated listArun Persaud1-1/+5
2011-11-15LAYOUT: redone layout of table and cardsArun Persaud1-12/+53
scales a lot better now and should be better for mobile devices
2011-11-14LAYOUT: moved game status to top; cleaned up some cssArun Persaud1-4/+4
2011-11-13CLEANUP: fixed html output a bitArun Persaud1-4/+4
added whitespaces and line breaks
2011-11-13LAYOUT: move display of cards below switch for mystatusArun Persaud1-0/+15
This should make for a more consistent html layout and fix some issues that show up on different browsers and display sizes.
2011-10-07move #tricks to new line and center itArun Persaud1-5/+6
2011-10-06fix html and css for buttonsArun Persaud1-37/+45
2011-03-20TRANSLATION: marked subjects lines in emails for translationArun Persaud1-12/+12
2011-03-20CLEANUP: added gameid to mymail and generate subject line in mymail directlyArun Persaud1-2/+58
this way it will be easier to add translation and also to add the gameid into the database for the digest
2010-11-07BUGFIX: 9-cards rule for re/contra: couldn't call <=60 with more than 9 ↵Arun Persaud1-2/+2
cards and no90 called only this special case was wrong, everything else looks ok.
2010-10-11BUGFIX: fixed some html validation errorsArun Persaud1-4/+4
2010-04-19updated link to wiki and bugzillaArun Persaud1-3/+2
links were hardcoded, changed to link from config file
2010-03-14marked more strings for translationArun Persaud1-1/+1
2010-03-13NEW FEATURE: having only low trump (fox and below) can now be a VorbehaltArun Persaud1-8/+44
The low trump can either be treated as poverty or similar to 5 nines, that is the game is canceled unless someone plays a solo. Also minor code cleanup.
2010-03-04CLEANUP: moved more statistics into the sortable tableArun Persaud1-3/+50
2010-02-07CLEANUP: removed ereg-functions (deprecated in newer php versions)Arun Persaud1-10/+10
used strpos and preg_replace instead
2010-02-06added copyright notice and GPL referenceArun Persaud1-0/+19
2010-02-04NEW FEATURE: provide an RSS feed for each user showing in which games it's ↵Arun Persaud1-0/+14
his turn the feed shows the same as the "It's your turn in these games" box.
2010-02-02highlight the call if this is the last round where you can make this callArun Persaud1-13/+72
also added some more comments
2009-10-30NEW FEATURE: use gravatars as icons for playersArun Persaud1-3/+7
use icons at the table and on the user page (for last players logged in).
2009-06-23added option for email digestArun Persaud1-37/+42
you can now select to get emails only every N hours. They are saved in the database and a cron script will send them out.
2009-05-11NEW FEATURE: show number of tricks a person madeArun Persaud1-0/+17
only shows 0,1,few or many tricks, so that we don't give too much information away. Might adjust or change this in the future. This addresses issues #11.
2009-04-29CLEANUP: all email now uses the standard header and footerArun Persaud1-6/+21
some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.
2009-04-03BUGFIX: showed cancled games in user menuArun Persaud1-1/+1
used to test for 'pre' or 'play' games by doing a ...!='gameover', this doesn't work anymore with canceled games being another option for the game status.
2009-03-29LAYOUT: fixed a typo and made clock icon smallerArun Persaud1-1/+1
The validator should be happy again ;) and the clocks should look a bit better.
2009-03-29BUGFIX: store canceled games, don't delete themArun Persaud1-0/+31
deleting the games could result in the same people getting the same hand redealt over and over again. By just keeping track of the hands in the game table, this problem should be gone. Fixed issue #50.
2009-02-23CLEANUP: made emails a bit more personalArun Persaud1-2/+3
included the name of the person in the email
2009-02-23CLEANUP: make emails more uniformArun Persaud1-2/+41
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
2009-02-23LAYOUT: added an icon for the time informationArun Persaud1-1/+3
gets rid of a bit of text and should leave more time for other buttons
2009-02-12NEW FEATURE + CLEANUP: added some table sorting to the statistics page via ↵Arun Persaud1-15/+18
jquery using jquery to add table sorting, might also use it for other things later. Also optimized some DB-queries and cleaned up some code.
2009-01-30NEW FEATURE: vacation supportArun Persaud1-3/+48
users can specify a vacation start and end date and a message. Once they are on vacation their name will be shown in a different color at the table and on the user page (in case it is their turn).
2009-01-24BUGFIX: when a fox was given back in poverty a no-trump icon was shown at ↵Arun Persaud1-5/+10
the table used the same function to count the number of trump cards as was used to determine poverty status. Therefore, foxes were not accounted for. Fixed now.
2009-01-16NEW FEATURE: always show current score on main pageArun Persaud1-3/+3
show the current score as the link to the score table
2009-01-16CLEANUP: small code cleanupArun Persaud1-3/+6
moved some DB queries out of loops
2009-01-16LAYOUT: add names of players to end of score table for long sessionsArun Persaud1-11/+32
if a session has more than 12 games, add the names of the players also at the end of the score table.
2009-01-15NEW FEATURE: add tooltips to icons at tableArun Persaud1-24/+24
makes it easier to figure out what they mean. Solves issue #27.
2008-12-02NEW FEATURE: new sorting algorithmArun Persaud1-4/+22
you can now sort your hand "low to high" and change your default using the setting dialog
2008-11-01CLEANUP: cleaned up CSS a bitArun Persaud1-5/+5
the bug where you couldn't click on the prev/next button shouldn't show up that often now, since that area is now a bit bigger, but the bug is still there... Signed-off-by: Arun Persaud <arun@nubati.net>
2008-11-01BUGFIX: fixed some small typo/layout issues in the "game over" emailArun Persaud1-6/+6
added a line break, made the score table look better Signed-off-by: Arun Persaud <arun@nubati.net>
2008-10-20BUGFIX: make user menu and personal notes appear againArun Persaud1-10/+5
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>