From 2ddc0875128e17a9e36393974d721f19ccbe64e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 Jul 2024 13:24:26 +0000 Subject: notifications: provide possibility to only display system notofications --- Zotlabs/Widget/Notifications.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zotlabs') diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php index b16303be6..eeef1d7d4 100644 --- a/Zotlabs/Widget/Notifications.php +++ b/Zotlabs/Widget/Notifications.php @@ -173,6 +173,8 @@ class Notifications { '$notifications' => $notifications, '$no_notifications' => t('Sorry, you have got no notifications at the moment'), '$loading' => t('Loading'), + '$sys_only' => empty($arr['sys_only']) ? 0 : 1 + ]); return $o; -- cgit v1.2.3