zhangjingyu
继续搜索“subject_replytouser_title”,
lib/forum/replypost.class.php文件部分代码:
function sendMail() {
global $db_msgreplynotice,$db_replysendmail,$db_replysitemail,$windid,$winduid;
$ret = $msgNotice = 0;
$this->data['content'] = preg_replace("/\[quote\](.*)\[\/quote\]/is","",$this->data['content']);
if ($db_msgreplynotice && $this->replyToUser && $this->replyToUser != $windid) {
M::sendMessage(
$winduid,
array($this->replyToUser),
array(
'create_uid' => $winduid,
'create_username' => $windid,
'title' => getLangInfo('writemsg','subject_replytouser_title',array(
'windid' => $windid,
'title' => substrs(strip_tags($this->tpcArr['subject']), 30, 'Y')
)),
'content' => getLangInfo('writemsg','subject_reply_content',array(
'tid' => $this->tid,
'pid' => $this->pid,
'windid' => $windid,
'content' => substrs(strip_tags($this->data['content']), 100, 'Y')
)),
),
'sms_reply',
'sms_reply'
);
$msgNotice = 1;