X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=af2b3e50629d9a02025aa6bab9fcb99d3d59b360;hp=04d1bde7ec785ad779ed391322ad23d9c5b1449d;hb=787e92af6d8af34b9f7b73b80b81346a8ed43888;hpb=66ddaaf798a7ac2ed368ac19d9f64db3d957f20d diff --git a/include/functions.php b/include/functions.php index 04d1bde..af2b3e5 100644 --- a/include/functions.php +++ b/include/functions.php @@ -75,7 +75,7 @@ function config_check() function mymail($uid,$subject,$message) { - global $EmailName; + global $EmailName,$WIKI; /* do we send the email right away or save it in the database? */ $send_now = 1; @@ -89,8 +89,7 @@ function mymail($uid,$subject,$message) "-- \n". "You can change your mail delivery mode in the preference menu.\n". 'web: http://doko.nubati.net '. - 'help: http://wiki.nubati.net/EmailDoko '. - 'bugs: http://wiki.nubati.net/EmailDokoIssues'; + "help, bugs, etc.: $WIKI"; if(is_array($uid)) { @@ -939,7 +938,7 @@ function display_table () $lastlogin = strtotime($r[6]); date_default_timezone_set($timezone); $timenow = strtotime(date("Y-m-d H:i:s")); - $gravatar = "$name
"; + $gravatar = "$name
\"$name's"; echo "
\n"; @@ -972,12 +971,12 @@ function display_table () $cards = DB_get_all_hand($userhash); $trumpNR = count_trump($cards,'all'); if($trumpNR) - echo " \"poverty"; + echo " \"poverty"; else - echo " \"poverty"; + echo " \"poverty"; } else - echo " \"poverty\" title=\"poverty partner\" />"; + echo " \"poverty"; if($GT=="dpoverty") if($party=="re")