aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-05-04 18:17:11 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-05-04 18:17:11 +0200
commitf7c77c7821fd11afda7c19b5d21a4d6677fc1aa4 (patch)
treeca182de557d63d302ea2d1087fb0c69baa890f87 /mod
parentb2e0b6f11d82aa10ef844fc99a6e1946071edd18 (diff)
downloadvolse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.tar.gz
volse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.tar.bz2
volse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.zip
Add link to system notifications page
to mark notifications seen
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 1a4a2b6a9..09f89e88a 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -81,6 +81,7 @@ function notifications_content(&$a) {
);
if (count($r) > 0) {
+ $notifications_available =1;
foreach ($r as $it) {
$notif_content .= replace_macros($not_tpl,array(
'$item_link' => $a->get_baseurl(true).'/notify/view/'. $it['id'],
@@ -97,6 +98,7 @@ function notifications_content(&$a) {
'$notif_header' => t('System Notifications'),
'$notif_link_mark_seen' => t('Mark all system notifications seen'),
'$notif_content' => $notif_content,
+ '$notifications_available' => $notifications_available,
));
return $o;