aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorv12mike <github@ingenious.co.nz>2019-09-11 04:52:07 -0400
committerMarc Alexander <admin@m-a-styles.de>2019-11-21 13:44:21 +0100
commit9fff4cf2536821ef75e4908cc22be2122dcc67a9 (patch)
tree2f90c110416d7956d476a3861dfe7fdcd3262a3d
parent1f10cd51ffaa8015bf29a3ca3173528f319f8e78 (diff)
downloadforums-9fff4cf2536821ef75e4908cc22be2122dcc67a9.tar
forums-9fff4cf2536821ef75e4908cc22be2122dcc67a9.tar.gz
forums-9fff4cf2536821ef75e4908cc22be2122dcc67a9.tar.bz2
forums-9fff4cf2536821ef75e4908cc22be2122dcc67a9.tar.xz
forums-9fff4cf2536821ef75e4908cc22be2122dcc67a9.zip
[ticket/9837] Make unapproved posts visible to posters
Add tests Tidy up code Improve user message formatting PHPBB3-9837
-rw-r--r--phpBB/phpbb/content_visibility.php10
-rw-r--r--phpBB/styles/prosilver/theme/colours.css4
2 files changed, 5 insertions, 9 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php
index 57f47ccb82..276a9d9d23 100644
--- a/phpBB/phpbb/content_visibility.php
+++ b/phpBB/phpbb/content_visibility.php
@@ -76,7 +76,7 @@ class content_visibility
* @param string $topics_table Topics table name
* @param string $users_table Users table name
*/
- public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table)
+ public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table)
{
$this->auth = $auth;
$this->config = $config;
@@ -200,8 +200,8 @@ class content_visibility
* @var array forum_id The forum id in which the search is made.
* @var string table_alias Table alias to prefix in SQL queries
* @var mixed get_visibility_sql_overwrite If a string, forces the function to return get_forums_visibility_sql_overwrite after executing the event
- * If false, get_visibility_sql continues normally
- * It must be either boolean or string
+ * If false, get_visibility_sql continues normally
+ * It must be either boolean or string
* @since 3.1.4-RC1
*/
$vars = array(
@@ -270,8 +270,8 @@ class content_visibility
* @var string table_alias Table alias to prefix in SQL queries
* @var array approve_forums Array of forums where the user has m_approve permissions
* @var mixed get_forums_visibility_sql_overwrite If a string, forces the function to return get_forums_visibility_sql_overwrite after executing the event
- * If false, get_forums_visibility_sql continues normally
- * It must be either boolean or string
+ * If false, get_forums_visibility_sql continues normally
+ * It must be either boolean or string
* @since 3.1.3-RC1
*/
$vars = array(
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index c44b5cd37d..ffaa71034f 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -1161,7 +1161,3 @@ li.notification-reported strong, li.notification-disapproved strong {
background-color: #D31141;
color: #ffffff;
}
-
-.information {
- background-color: #b8d3e0;
-}