X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=256bb77932bfb9ea304de9a3be94b2998281b2cb;hb=84189ac775b3e1bc36d9e9d8945624c1bca7fb55;hp=b4d60a747c0bb5fcf871f9775c8fb8b909e5932c;hpb=e935fa78c61b31223814192b47c00fd1ccb91ed2;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index b4d60a747c..256bb77932 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -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,7 +60,7 @@ function notify_content(&$a) { } else { $notif_content .= t('No more system notifications.'); } - + $o .= replace_macros($notif_tpl, array( '$notif_header' => t('System Notifications'), '$tabs' => '', // $tabs,