X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=c754b384d33f20ba76a3ab680cc82c3ca0bfa218;hb=f58d42e317cbf323fb2c802a0cb71a4799863008;hp=96dc06ab016ce48406068a081cec0c1c2b2cedb4;hpb=5dfee31108fc92a7abca5f99b8fdf1b34aec5dd5;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index 96dc06ab01..c754b384d3 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -1,10 +1,25 @@ . + * */ use Friendica\App; -use Friendica\Core\L10n; use Friendica\Core\Protocol; use Friendica\Core\Renderer; use Friendica\Database\DBA; @@ -116,22 +131,11 @@ function unfollow_content(App $a) $o = Renderer::replaceMacros($tpl, [ '$header' => DI::l10n()->t('Disconnect/Unfollow'), - '$desc' => '', - '$pls_answer' => '', - '$does_know_you' => '', - '$add_note' => '', '$page_desc' => '', - '$friendica' => '', - '$statusnet' => '', - '$diaspora' => '', - '$diasnote' => '', '$your_address' => DI::l10n()->t('Your Identity Address:'), '$invite_desc' => '', - '$emailnet' => '', '$submit' => DI::l10n()->t('Submit Request'), '$cancel' => DI::l10n()->t('Cancel'), - '$nickname' => '', - '$name' => $contact['name'], '$url' => $contact['url'], '$zrl' => Contact::magicLink($contact['url']), '$url_label' => DI::l10n()->t('Profile URL'), @@ -142,7 +146,7 @@ function unfollow_content(App $a) ]); DI::page()['aside'] = ''; - Profile::load($a, '', 0, Contact::getDetailsByURL($contact['url'])); + Profile::load($a, '', Contact::getDetailsByURL($contact['url'])); $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => DI::l10n()->t('Status Messages and Posts')]);