mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-23 09:00:48 +01:00
[ticket/9837] Make unapproved posts visible to author
review comments PHPBB3-9837
This commit is contained in:
parent
0f57f3d90d
commit
29be971fad
@ -53,7 +53,7 @@ $lang = array_merge($lang, array(
|
||||
'DISPLAY_LAST_SUBJECT' => 'Display subject of last added post on forum list',
|
||||
'DISPLAY_LAST_SUBJECT_EXPLAIN' => 'The subject of the last added post will be displayed in the forum list with a hyperlink to the post. Subjects from password protected forums and forums in which user doesn’t have read access are not shown.',
|
||||
'DISPLAY_UNAPPROVED_POSTS' => 'Display unapproved posts to the author',
|
||||
'DISPLAY_UNAPPROVED_POSTS_EXPLAIN' => 'Unapproved posts in the moderation queue can be viewed by the author. Does not apply to Guest posts',
|
||||
'DISPLAY_UNAPPROVED_POSTS_EXPLAIN' => 'Unapproved posts can be viewed by the author. Does not apply to Guest posts.',
|
||||
'GUEST_STYLE' => 'Guest style',
|
||||
'GUEST_STYLE_EXPLAIN' => 'The board style for guests.',
|
||||
'OVERRIDE_STYLE' => 'Override user style',
|
||||
|
@ -19,6 +19,6 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
|
||||
{
|
||||
return [
|
||||
['config.add', ['display_unapproved_posts', 1]],
|
||||
];
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -244,8 +244,8 @@ class phpbb_functional_visibility_unapproved_test extends phpbb_functional_test_
|
||||
$this->assertNotContains('Unapproved Posts Test Topic #2', $crawler->filter('html')->text());
|
||||
$this->logout();
|
||||
|
||||
// revert the configuration
|
||||
$this->config_display_unapproved_posts_state(false);
|
||||
// revert the configuration (if necessary)
|
||||
//$this->config_display_unapproved_posts_state(false);
|
||||
}
|
||||
|
||||
public function test_reset_flood_interval()
|
||||
|
Loading…
x
Reference in New Issue
Block a user