X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=7b63a8dd02c57d5e7e5931f7d130affb267db819;hb=82d55f120fd2163afaa57cd64c6a10a626abd2e5;hp=376b2dc15e2a11fc08ac82443f3ceaf332a97285;hpb=02fef0bcf54a9e7063c47e9c1ab562eb1274ae13;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index 376b2dc15e..7b63a8dd02 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -150,14 +150,22 @@ function notifications_content(App $a) switch ($it['label']) { case 'friend_suggestion': $notif_content[] = replace_macros($sugg, [ - '$str_notifytype' => L10n::t('Notification type: '), + '$type' => $it['label'], + '$str_notifytype' => L10n::t('Notification type:'), '$notify_type' => $it['notify_type'], '$intro_id' => $it['intro_id'], - '$madeby' => L10n::t('suggested by %s', $it['madeby']), - '$contact_id' => $it['contact-id'], + '$lbl_madeby' => L10n::t('Suggested by:'), + '$madeby' => $it['madeby'], + '$madeby_url' => $it['madeby_url'], + '$madeby_zrl' => $it['madeby_zrl'], + '$madeby_addr' => $it['madeby_addr'], + '$contact_id' => $it['contact_id'], '$photo' => $it['photo'], '$fullname' => $it['name'], '$url' => $it['url'], + '$zrl' => $it['zrl'], + '$lbl_url' => L10n::t('Profile URL'), + '$addr' => $it['addr'], '$hidden' => ['hidden', L10n::t('Hide this contact from others'), ($it['hidden'] == 1), ''], '$knowyou' => $it['knowyou'], @@ -219,8 +227,9 @@ function notifications_content(App $a) } $notif_content[] = replace_macros($tpl, [ + '$type' => $it['label'], '$header' => htmlentities($header), - '$str_notifytype' => L10n::t('Notification type: '), + '$str_notifytype' => L10n::t('Notification type:'), '$notify_type' => $it['notify_type'], '$dfrn_text' => $dfrn_text, '$dfrn_id' => $it['dfrn_id'],