'refresh' => SMOPT_REFRESH_NONE,
'posvals' => array(SMPREF_NONE => _("No Citation"),
'author_said' => _("AUTHOR Said"),
+ 'date_time_author' => _("On DATE, AUTHOR Said"),
'quote_who' => _("Quote Who XML"),
'user-defined' => _("User-Defined"))
);
return $url_replytoallcc;
}
-function getReplyCitation($orig_from) {
+function getReplyCitation($orig_from, $orig_date) {
global $reply_citation_style, $reply_citation_start, $reply_citation_end;
$orig_from = decodeHeader($orig_from->getAddress(false),false,false,true);
// $from = decodeHeader($orig_header->getAddr_s('from',"\n$indent"),false,false);
$start = '<' . _("quote") . ' ' . _("who") . '="';
$end = '">';
break;
+ case 'date_time_author':
+ $start = 'On ' . getLongDateString($orig_date) . ', ';
+ $end = ' ' . _("said") . ':';
+ break;
case 'user-defined':
$start = $reply_citation_start .
($reply_citation_start == '' ? '' : ' ');
$body .= '> ' . str_replace("\n", "\n> ", rtrim($line)) . "\n";
}
}
- $body = getReplyCitation($from) . $body;
+ $body = getReplyCitation($from , $orig_header->date) . $body;
$composeMessage->reply_rfc822_header = $orig_header;
break;