aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-05-05 06:43:56 +1000
committerRedMatrix <info@friendica.com>2014-05-05 06:43:56 +1000
commitfc5ae78079e314a49390403943ed301da9a4c2ef (patch)
tree8380489cce54470f20fcabc74a55a85b318e4d19 /mod
parent5344e73cdadda2715cb6cf5eae7517c91d14b4ee (diff)
parentf7c77c7821fd11afda7c19b5d21a4d6677fc1aa4 (diff)
downloadvolse-hubzilla-fc5ae78079e314a49390403943ed301da9a4c2ef.tar.gz
volse-hubzilla-fc5ae78079e314a49390403943ed301da9a4c2ef.tar.bz2
volse-hubzilla-fc5ae78079e314a49390403943ed301da9a4c2ef.zip
Merge pull request #442 from cvogeley/master
system notifications mark seen link
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index f327c2fe2..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'],
@@ -95,7 +96,9 @@ function notifications_content(&$a) {
$o .= replace_macros($notif_tpl,array(
'$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;