From: Sean M. P. <peg...@us...> - 2008-04-07 18:44:25
|
Update of /cvsroot/helpmeict/Helpdesk/system In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv26604/system Modified Files: Tag: v1_r1 mail.php Log Message: Index: mail.php =================================================================== RCS file: /cvsroot/helpmeict/Helpdesk/system/mail.php,v retrieving revision 1.1.2.5.2.3 retrieving revision 1.1.2.5.2.4 diff -C2 -d -r1.1.2.5.2.3 -r1.1.2.5.2.4 *** mail.php 7 Feb 2007 00:44:14 -0000 1.1.2.5.2.3 --- mail.php 7 Apr 2008 18:44:15 -0000 1.1.2.5.2.4 *************** *** 6,9 **** --- 6,12 ---- Set of mail functions. + Changelog: + 2008-04-02 pegasus: Changed hard-coded date formats to use a new 'dateformat' global pref from the DB. + ---- *************** *** 28,31 **** --- 31,35 ---- require_once 'system/db.php'; require_once 'system/lang.php'; + require_once 'system/global_preferences.php'; // For the date format fromt the DB $mailtemplate['verify'] = "mail_verifyemail.tpl"; *************** *** 192,196 **** foreach ($remarks as $mark) { $issuetxt .= "\n------------------------\n"; ! $issuetxt .= strftime('%d/%m/%y %H:%M',$mark[reportedon]). " : ". $mark[reportedbyname]. "\n"; if ($repl) { --- 196,200 ---- foreach ($remarks as $mark) { $issuetxt .= "\n------------------------\n"; ! $issuetxt .= strftime($global_prefs['dateformat'].' %H:%M',$mark[reportedon]). " : ". $mark[reportedbyname]. "\n"; if ($repl) { |