X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=8bde0329331b1dd3f0e1f427a4b92b82c6561fc3;hb=2973ed6448f56dd807df3ec0d20d095226d14b65;hp=ca5db3e08105b7372f14f85a37cfc860b8962f07;hpb=38e5733b6ee10f5a6dd7f017b6b6e7acfde80565;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index ca5db3e081..8bde032933 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; @@ -116,6 +132,8 @@ function editpost_content(App $a) '$message' => DI::l10n()->t('Message'), '$browser' => DI::l10n()->t('Browser'), '$shortpermset' => DI::l10n()->t('permissions'), + + '$compose_link_title' => DI::l10n()->t('Open Compose page'), ]); return $o; @@ -127,7 +145,7 @@ function undo_post_tagging($s) { if ($cnt) { foreach ($matches as $mtch) { if (in_array($mtch[1], ['!', '@'])) { - $contact = Contact::getDetailsByURL($mtch[2]); + $contact = Contact::getByURL($mtch[2], false, ['addr']); $mtch[3] = empty($contact['addr']) ? $mtch[2] : $contact['addr']; } $s = str_replace($mtch[0], $mtch[1] . $mtch[3],$s);