aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-07 13:24:26 +0000
committerMario <mario@mariovavti.com>2024-07-07 13:24:26 +0000
commit2ddc0875128e17a9e36393974d721f19ccbe64e3 (patch)
treefa799b1fdf8bdd4083dd190516a56d7151efba19 /Zotlabs
parentb0fe94b4b33126d0bfb1c10869262d47e31a337d (diff)
downloadvolse-hubzilla-2ddc0875128e17a9e36393974d721f19ccbe64e3.tar.gz
volse-hubzilla-2ddc0875128e17a9e36393974d721f19ccbe64e3.tar.bz2
volse-hubzilla-2ddc0875128e17a9e36393974d721f19ccbe64e3.zip
notifications: provide possibility to only display system notofications
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Notifications.php2
1 files changed, 2 insertions, 0 deletions
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;