diff --git a/upload/source/admincp/moderate/moderate_reply.php b/upload/source/admincp/moderate/moderate_reply.php index d50cb79d50d6feba9a61ca6b2d4989ec7414f9b6..2f63cc39a21d618d753a7d1d9da87402298ea4d5 100644 --- a/upload/source/admincp/moderate/moderate_reply.php +++ b/upload/source/admincp/moderate/moderate_reply.php @@ -231,7 +231,7 @@ if(!submitcheck('modsubmit') && !$_GET['fast']) { $pm = 'pm_'.$post['pid']; if($post['authorid'] && $post['authorid'] != $_G['uid']) { $pmlist[] = array( - 'action' => 'modreplies_delete', + 'action' => $_GET[''.$pm] ? 'modreplies_delete_reason' : 'modreplies_delete', 'notevar' => array('pid' => $post['pid'], 'post' => dhtmlspecialchars(cutstr($post['message'], 30)), 'reason' => dhtmlspecialchars($_GET[''.$pm])), 'authorid' => $post['authorid'], ); diff --git a/upload/source/include/modcp/modcp_moderate.php b/upload/source/include/modcp/modcp_moderate.php index c825fc5668d557fb13f29425caad529e61502d4b..62b22547b7017b38622725aee0bd15298771cf1b 100644 --- a/upload/source/include/modcp/modcp_moderate.php +++ b/upload/source/include/modcp/modcp_moderate.php @@ -240,7 +240,7 @@ if($op == 'replies') { } if($post['authorid'] && $post['authorid'] != $_G['uid']) { $pmlist[] = array( - 'act' => 'modreplies_delete', + 'act' => $_GET['reason'] ? 'modreplies_delete_reason' : 'modreplies_delete', 'notevar' => array('reason' => dhtmlspecialchars($_GET['reason']), 'post' => messagecutstr($post['message'], 30)), 'authorid' => $post['authorid'], ); diff --git a/upload/source/language/lang_notification.php b/upload/source/language/lang_notification.php index 48e8f345a413e5885c0fb62548dea4a9fc690b35..f69e86e9d2db949372106a5a80907dc8603173f3 100644 --- a/upload/source/language/lang_notification.php +++ b/upload/source/language/lang_notification.php @@ -109,6 +109,8 @@ $lang = array 'modreplies_delete' => '您发表回复未通过审核,现已被删除!

回复内容:{post}

', + 'modreplies_delete_reason' => '您发表回复未通过审核,现已被删除!

回复内容:{post}

{reason}
', + 'modreplies_validate' => '您发表的回复已审核通过!   查看 ›

回复内容:{post}

', 'transfer' => '您收到一笔来自 {actor} 的积分转账 {credit}   查看 ›