1
0
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:
v12mike 2019-11-19 07:20:44 -05:00 committed by Marc Alexander
parent 0f57f3d90d
commit 29be971fad
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
3 changed files with 4 additions and 4 deletions

View File

@ -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 doesnt 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',

View File

@ -19,6 +19,6 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
{
return [
['config.add', ['display_unapproved_posts', 1]],
];
];
}
}

View File

@ -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()