- '$type' => $notification->getLabel(),
- '$str_notification_type' => DI::l10n()->t('Notification type:'),
- '$str_type' => $notification->getType(),
- '$intro_id' => $notification->getIntroId(),
- '$lbl_madeby' => DI::l10n()->t('Suggested by:'),
- '$madeby' => $notification->getMadeBy(),
- '$madeby_url' => $notification->getMadeByUrl(),
- '$madeby_zrl' => $notification->getMadeByZrl(),
- '$madeby_addr' => $notification->getMadeByAddr(),
- '$contact_id' => $notification->getContactId(),
- '$photo' => $notification->getPhoto(),
- '$fullname' => $notification->getName(),
- '$url' => $notification->getUrl(),
- '$zrl' => $notification->getZrl(),
- '$lbl_url' => DI::l10n()->t('Profile URL'),
- '$addr' => $notification->getAddr(),
- '$hidden' => ['hidden', DI::l10n()->t('Hide this contact from others'), $notification->isHidden(), ''],
- '$knowyou' => $notification->getKnowYou(),
- '$approve' => DI::l10n()->t('Approve'),
- '$note' => $notification->getNote(),
- '$request' => $notification->getRequest(),
- '$ignore' => DI::l10n()->t('Ignore'),
- '$discard' => DI::l10n()->t('Discard'),
+ '$type' => $Introduction->getLabel(),
+ '$str_notification_type' => $this->t('Notification type:'),
+ '$str_type' => $Introduction->getType(),
+ '$intro_id' => $Introduction->getIntroId(),
+ '$lbl_madeby' => $this->t('Suggested by:'),
+ '$madeby' => $Introduction->getMadeBy(),
+ '$madeby_url' => $Introduction->getMadeByUrl(),
+ '$madeby_zrl' => $Introduction->getMadeByZrl(),
+ '$madeby_addr' => $Introduction->getMadeByAddr(),
+ '$contact_id' => $Introduction->getContactId(),
+ '$photo' => $Introduction->getPhoto(),
+ '$fullname' => $Introduction->getName(),
+ '$dfrn_url' => $owner['url'],
+ '$url' => $Introduction->getUrl(),
+ '$zrl' => $Introduction->getZrl(),
+ '$lbl_url' => $this->t('Profile URL'),
+ '$addr' => $Introduction->getAddr(),
+ '$action' => 'contact/follow',
+ '$approve' => $this->t('Approve'),
+ '$note' => $Introduction->getNote(),
+ '$ignore' => $this->t('Ignore'),
+ '$discard' => $this->t('Discard'),
+ '$is_mobile' => $this->mode->isMobile(),