From afb18fa21381d9b745f5a87504ce64efbfdd9e6d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 21 Jul 2014 14:22:15 +0200 Subject: [PATCH] Add proper support for stacked notifications triggered by guests (WIP) --- .../templates/notificationList.tpl | 8 ++- .../UserNotificationAction.class.php | 60 +++++++++---------- .../DailyMailNotificationCronjob.class.php | 13 ++-- .../UserNotificationHandler.class.php | 22 ++++--- ...tractSharedUserNotificationEvent.class.php | 4 +- .../AbstractUserNotificationEvent.class.php | 9 +-- .../event/IUserNotificationEvent.class.php | 3 +- ...CommentLikeUserNotificationEvent.class.php | 2 +- ...esponseLikeUserNotificationEvent.class.php | 2 +- ...sponseOwnerUserNotificationEvent.class.php | 2 +- ...entResponseUserNotificationEvent.class.php | 2 +- ...fileCommentUserNotificationEvent.class.php | 33 ++++++---- wcfsetup/install/lang/de.xml | 12 ++-- wcfsetup/install/lang/en.xml | 8 +-- wcfsetup/setup/db/install.sql | 3 +- 15 files changed, 95 insertions(+), 88 deletions(-) diff --git a/com.woltlab.wcf/templates/notificationList.tpl b/com.woltlab.wcf/templates/notificationList.tpl index 5bf55adc74..6c4843ac00 100644 --- a/com.woltlab.wcf/templates/notificationList.tpl +++ b/com.woltlab.wcf/templates/notificationList.tpl @@ -105,15 +105,17 @@ {if !$notification[confirmed]}{lang}wcf.message.new{/lang}{/if} {$notification[event]->getTitle()} - + {@$notification[time]|time}

{@$notification[event]->getMessage()}

-