mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-20 10:18:54 +00:00
Merge branch 'develop-ascraeus' into develop
# By Nicofuma # Via Nathaniel Guse (1) and Nicofuma (1) * develop-ascraeus: [ticket/12445] Change the formulation [ticket/12445] Disapproved post: the name of the poster should be in logs
This commit is contained in:
commit
a3995d123a
2 changed files with 3 additions and 3 deletions
|
@ -1059,7 +1059,7 @@ class mcp_queue
|
|||
if ($is_disapproving)
|
||||
{
|
||||
$l_log_message = ($log_data['type'] == 'topic') ? 'LOG_TOPIC_DISAPPROVED' : 'LOG_POST_DISAPPROVED';
|
||||
add_log('mod', $log_data['forum_id'], $log_data['topic_id'], $l_log_message, $log_data['post_subject'], $disapprove_reason);
|
||||
add_log('mod', $log_data['forum_id'], $log_data['topic_id'], $l_log_message, $log_data['post_subject'], $disapprove_reason, $log_data['post_username']);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -550,7 +550,7 @@ $lang = array_merge($lang, array(
|
|||
'LOG_PM_REPORT_CLOSED' => '<strong>Closed PM report</strong><br />» %s',
|
||||
'LOG_PM_REPORT_DELETED' => '<strong>Deleted PM report</strong><br />» %s',
|
||||
'LOG_POST_APPROVED' => '<strong>Approved post</strong><br />» %s',
|
||||
'LOG_POST_DISAPPROVED' => '<strong>Disapproved post “%1$s” with the following reason</strong><br />» %2$s',
|
||||
'LOG_POST_DISAPPROVED' => '<strong>Disapproved post “%1$s” written by “%3$s” for the following reason</strong><br />» %2$s',
|
||||
'LOG_POST_EDITED' => '<strong>Edited post “%1$s” written by</strong><br />» %2$s',
|
||||
'LOG_POST_RESTORED' => '<strong>Restored post</strong><br />» %s',
|
||||
'LOG_REPORT_CLOSED' => '<strong>Closed report</strong><br />» %s',
|
||||
|
@ -563,7 +563,7 @@ $lang = array_merge($lang, array(
|
|||
|
||||
'LOG_TOPIC_APPROVED' => '<strong>Approved topic</strong><br />» %s',
|
||||
'LOG_TOPIC_RESTORED' => '<strong>Restored topic</strong><br />» %s',
|
||||
'LOG_TOPIC_DISAPPROVED' => '<strong>Disapproved topic “%1$s” with the following reason</strong><br />%2$s',
|
||||
'LOG_TOPIC_DISAPPROVED' => '<strong>Disapproved topic “%1$s” written by “%3$s” for the following reason</strong><br />» %2$s',
|
||||
'LOG_TOPIC_RESYNC' => '<strong>Resynchronised topic counters</strong><br />» %s',
|
||||
'LOG_TOPIC_TYPE_CHANGED' => '<strong>Changed topic type</strong><br />» %s',
|
||||
'LOG_UNLOCK' => '<strong>Unlocked topic</strong><br />» %s',
|
||||
|
|
Loading…
Add table
Reference in a new issue