aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-05-29 17:16:37 +0200
committerPayBas <contact@paybas.com>2014-06-15 10:02:10 +0200
commit976bda83dbfe207a29bf6c3a6fe72ceed75cd98f (patch)
tree66ea722fffa8368a70d72fe208f6dfdbb4071aee /phpBB/phpbb/notification
parent49a1896a76f205b30f7daf41056dca445eecb1d7 (diff)
downloadforums-976bda83dbfe207a29bf6c3a6fe72ceed75cd98f.tar
forums-976bda83dbfe207a29bf6c3a6fe72ceed75cd98f.tar.gz
forums-976bda83dbfe207a29bf6c3a6fe72ceed75cd98f.tar.bz2
forums-976bda83dbfe207a29bf6c3a6fe72ceed75cd98f.tar.xz
forums-976bda83dbfe207a29bf6c3a6fe72ceed75cd98f.zip
[ticket/12608] Improved LTR and various bugfixes
PHPBB3-12608
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