mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/9837] Make unapproved posts visible to author
review comments PHPBB3-9837
This commit is contained in:
parent
0f57f3d90d
commit
29be971fad
3 changed files with 4 additions and 4 deletions
|
@ -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 doesn’t 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 doesn’t 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',
|
||||||
|
|
|
@ -19,6 +19,6 @@ class add_display_unapproved_posts_config extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
['config.add', ['display_unapproved_posts', 1]],
|
['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->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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue