summaryrefslogtreecommitdiffstats
path: root/include/functions.php
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25mysql optimization: don't quote integers as strings in WHEREArun Persaud1-16/+16
2013-01-20BUGFIX: fixed previous commit about sending mail in utf-8Arun Persaud1-3/+3
2013-01-19TRANSLATION: marked more strings for translationArun Persaud1-3/+3
2013-01-19BUGFIX: send emails in utf-8Arun Persaud1-6/+7
2013-01-15BUGFIX: use english language as default in set_languageArun Persaud1-6/+9
before the previous language was kept which could have been e.g. German, even if the person didn't choose German.
2013-01-14BUGIFX: added some set_language functions, fixed some strings for ↵Arun Persaud1-6/+7
translation, fixed typo
2013-01-12BUGFIX: fixed wrong uid value in mymail functionArun Persaud1-3/+3
used the array instead of a value in the array
2013-01-12TRANSLATION: marked more messages for translationArun Persaud1-4/+4
2013-01-12TRANSLATION: updated setup for translation: use utf-8; updated pot fileArun Persaud1-0/+1
2013-01-12updated copyright for 2013Arun Persaud1-1/+1
2012-12-31set languages can also be used by UID now; make mymail langauge sensitiveArun Persaud1-81/+91
mymail used to use the language of the person triggering the email.
2012-12-31improved language detection using browser information; set the language ↵Arun Persaud1-0/+28
directly in more places previously one had to reload to get the language correct, now it should be correct right away. We also read out the browser request for a language now.
2012-09-22updated to better password hash: use crypt instead of md5Arun Persaud1-0/+49
the upgrade will be done automatically when a user logs in, password recovery is still based on md5, but that should be OK, since it's a random generated password anyway
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