diff -r 6358f769ecb1 -r 745200a9cc2a plugins/PrivateMessages.php --- a/plugins/PrivateMessages.php Wed Aug 19 01:28:47 2009 -0400 +++ b/plugins/PrivateMessages.php Thu Aug 20 20:01:55 2009 -0400 @@ -12,8 +12,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.1.6 (Caoineag beta 1) - * Copyright (C) 2006-2008 Dan Fuhry + * Copyright (C) 2006-2009 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. @@ -83,7 +82,7 @@
get('privmsgs_lbl_message_from', array('sender' => htmlspecialchars($r['message_from']))); ?> | |||
---|---|---|---|
get('privmsgs_lbl_subject') ?> | |||
get('privmsgs_lbl_date') ?> | |||
get('privmsgs_lbl_date') ?> | |||
get('privmsgs_lbl_message') ?> | get('etc_access_denied_short'), ' You are not authorized to view the contents of this message. '); } $subj = 'Re: ' . $r['subject']; - $text = "\n\n\nOn " . enano_date('M j, Y G:i', $r['date']) . ", " . $r['message_from'] . " wrote:\n> " . str_replace("\n", "\n> ", $r['message_text']); // Way less complicated than using a regex ;-) + $text = "\n\n\nOn " . enano_date(ED_DATE | ED_TIME, $r['date']) . ", " . $r['message_from'] . " wrote:\n> " . str_replace("\n", "\n> ", $r['message_text']); // Way less complicated than using a regex ;-) $tbuf = $text; while( preg_match("/\n([\> ]*?)\> \>/", $text) ) @@ -637,7 +636,7 @@ { echo ''; } - echo ' | '.enano_date('M j, Y G:i', $r['date']).' | '.enano_date(ED_DATE | ED_TIME, $r['date']).' | '; } $db->free_result(); } |