diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/notification/type/base.php | 15 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/disapprove_post.php | 4 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/disapprove_topic.php | 4 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/report_pm.php | 4 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/report_post.php | 4 | ||||
-rw-r--r-- | phpBB/phpbb/notification/type/type_interface.php | 4 |
6 files changed, 13 insertions, 22 deletions
diff --git a/phpBB/phpbb/notification/type/base.php b/phpBB/phpbb/notification/type/base.php index db0446f510..910f51b3a6 100644 --- a/phpBB/phpbb/notification/type/base.php +++ b/phpBB/phpbb/notification/type/base.php @@ -308,24 +308,15 @@ abstract class base implements \phpbb\notification\type\type_interface return array( 'NOTIFICATION_ID' => $this->notification_id, - - 'STYLING' => $this->get_styling(), - + 'STYLING' => $this->get_style_class(), 'AVATAR' => $this->get_avatar(), - 'FORMATTED_TITLE' => $this->get_title(), - 'REFERENCE' => $this->get_reference(), - 'FORUM' => $this->get_forum(), - 'REASON' => $this->get_reason(), - 'URL' => $this->get_url(), 'TIME' => $this->user->format_date($this->notification_time), - 'UNREAD' => !$this->notification_read, - 'U_MARK_READ' => (!$this->notification_read) ? $u_mark_read : '', ); } @@ -345,11 +336,11 @@ abstract class base implements \phpbb\notification\type\type_interface } /** - * Get the styling of the notification (fall back) + * Get the CSS style class of the notification (fall back) * * @return string */ - public function get_styling() + public function get_style_class() { return ''; } diff --git a/phpBB/phpbb/notification/type/disapprove_post.php b/phpBB/phpbb/notification/type/disapprove_post.php index 004c484409..044658c016 100644 --- a/phpBB/phpbb/notification/type/disapprove_post.php +++ b/phpBB/phpbb/notification/type/disapprove_post.php @@ -31,11 +31,11 @@ class disapprove_post extends \phpbb\notification\type\approve_post } /** - * Get the styling of the notification + * Get the CSS style class of the notification * * @return string */ - public function get_styling() + public function get_style_class() { return 'reported'; } diff --git a/phpBB/phpbb/notification/type/disapprove_topic.php b/phpBB/phpbb/notification/type/disapprove_topic.php index 42ca693f7a..812045b352 100644 --- a/phpBB/phpbb/notification/type/disapprove_topic.php +++ b/phpBB/phpbb/notification/type/disapprove_topic.php @@ -31,11 +31,11 @@ class disapprove_topic extends \phpbb\notification\type\approve_topic } /** - * Get the styling of the notification + * Get the CSS style class of the notification * * @return string */ - public function get_styling() + public function get_style_class() { return 'reported'; } diff --git a/phpBB/phpbb/notification/type/report_pm.php b/phpBB/phpbb/notification/type/report_pm.php index 55bc52927f..d3d91dcd54 100644 --- a/phpBB/phpbb/notification/type/report_pm.php +++ b/phpBB/phpbb/notification/type/report_pm.php @@ -31,11 +31,11 @@ class report_pm extends \phpbb\notification\type\pm } /** - * Get the styling of the notification + * Get the CSS style class of the notification * * @return string */ - public function get_styling() + public function get_style_class() { return 'reported'; } diff --git a/phpBB/phpbb/notification/type/report_post.php b/phpBB/phpbb/notification/type/report_post.php index c982042cb3..5a8febe927 100644 --- a/phpBB/phpbb/notification/type/report_post.php +++ b/phpBB/phpbb/notification/type/report_post.php @@ -30,11 +30,11 @@ class report_post extends \phpbb\notification\type\post_in_queue } /** - * Get the styling of the notification + * Get the CSS style class of the notification * * @return string */ - public function get_styling() + public function get_style_class() { return 'reported'; } diff --git a/phpBB/phpbb/notification/type/type_interface.php b/phpBB/phpbb/notification/type/type_interface.php index b1e54d9b6b..5c5a110836 100644 --- a/phpBB/phpbb/notification/type/type_interface.php +++ b/phpBB/phpbb/notification/type/type_interface.php @@ -88,11 +88,11 @@ interface type_interface public function load_special($data, $notifications); /** - * Get the styling of the notification + * Get the CSS style class of the notification * * @return string */ - public function get_styling(); + public function get_style_class(); /** * Get the HTML formatted title of this notification |