]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Merge pull request #932 from annando/master
[friendica.git] / mod / notify.php
index ae8273a1d3eda064c7a7b2f5697162e3955f018c..256bb77932bfb9ea304de9a3be94b2998281b2cb 100644 (file)
@@ -40,14 +40,14 @@ function notify_content(&$a) {
                return login();
 
                $notif_tpl = get_markup_template('notifications.tpl');
-               
+
                $not_tpl = get_markup_template('notify.tpl');
                require_once('include/bbcode.php');
 
                $r = q("SELECT * from notify where uid = %d and seen = 0 order by date desc",
                        intval(local_user())
                );
-               
+
                if (count($r) > 0) {
                        foreach ($r as $it) {
                                $notif_content .= replace_macros($not_tpl,array(
@@ -60,8 +60,8 @@ function notify_content(&$a) {
                } else {
                        $notif_content .= t('No more system notifications.');
                }
-               
-               $o .= replace_macros($notif_tpl,array(
+
+               $o .= replace_macros($notif_tpl, array(
                        '$notif_header' => t('System Notifications'),
                        '$tabs' => '', // $tabs,
                        '$notif_content' => $notif_content,
@@ -70,4 +70,4 @@ function notify_content(&$a) {
        return $o;
 
 
-}
\ No newline at end of file
+}