[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' => '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_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' => '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' => 'Guest style',
'GUEST_STYLE_EXPLAIN' => 'The board style for guests.', 'GUEST_STYLE_EXPLAIN' => 'The board style for guests.',
'OVERRIDE_STYLE' => 'Override user style', 'OVERRIDE_STYLE' => 'Override user style',

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->assertNotContains('Unapproved Posts Test Topic #2', $crawler->filter('html')->text());
$this->logout(); $this->logout();
// revert the configuration // revert the configuration (if necessary)
$this->config_display_unapproved_posts_state(false); //$this->config_display_unapproved_posts_state(false);
} }
public function test_reset_flood_interval() public function test_reset_flood_interval()