aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/type/disapprove_post.php10
-rw-r--r--phpBB/phpbb/notification/type/disapprove_topic.php10
2 files changed, 20 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/type/disapprove_post.php b/phpBB/phpbb/notification/type/disapprove_post.php
index c3dbe4e91d..004c484409 100644
--- a/phpBB/phpbb/notification/type/disapprove_post.php
+++ b/phpBB/phpbb/notification/type/disapprove_post.php
@@ -31,6 +31,16 @@ class disapprove_post extends \phpbb\notification\type\approve_post
}
/**
+ * Get the styling of the notification
+ *
+ * @return string
+ */
+ public function get_styling()
+ {
+ return 'reported';
+ }
+
+ /**
* Language key used to output the text
*
* @var string
diff --git a/phpBB/phpbb/notification/type/disapprove_topic.php b/phpBB/phpbb/notification/type/disapprove_topic.php
index 2f29bb271e..42ca693f7a 100644
--- a/phpBB/phpbb/notification/type/disapprove_topic.php
+++ b/phpBB/phpbb/notification/type/disapprove_topic.php
@@ -31,6 +31,16 @@ class disapprove_topic extends \phpbb\notification\type\approve_topic
}
/**
+ * Get the styling of the notification
+ *
+ * @return string
+ */
+ public function get_styling()
+ {
+ return 'reported';
+ }
+
+ /**
* Language key used to output the text
*
* @var string