X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=ed0831aabd058f5454efc60c42a39557f1d5cf38;hb=a41b4c6e6726b1158a8d05f37c1630d67e462fe5;hp=93ca82bb0ccfb0d999096bd94db5f187090368c8;hpb=f57f9852b198ec15ea7e9dbd20ebcf97a09112a9;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index 93ca82bb0c..ed0831aabd 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -65,12 +65,11 @@ function notifications_content(&$a) { else $sql_extra = " AND `ignore` = 0 "; - - $tpl = load_view_file('view/intros-top.tpl'); - $o .= replace_macros($tpl,array( - '$hide_url' => ((strlen($sql_extra)) ? 'notifications/all' : 'notifications' ), - '$hide_text' => ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests')) - )); + $o .= '

' . t('Pending Friend/Connect Notifications') . '

' . "\r\n"; + + $o .= '
'; + $o .= '' + . ((strlen($sql_extra)) ? t('Show Ignored Requests') : t('Hide Ignored Requests')) . '
' . "\r\n"; $r = q("SELECT COUNT(*) AS `total` FROM `intro` @@ -141,7 +140,7 @@ function notifications_content(&$a) { if ($a->config['register_policy'] == REGISTER_APPROVE && $a->config['admin_email'] === $a->user['email']){ - $o .= load_view_file('view/registrations-top.tpl'); + $o .= '

' . t('User registrations waiting for confirm') . '

' . "\r\n"; $r = q("SELECT `register`.*, `contact`.`name`, `user`.`email` FROM `register`