Menu option to display the search text

This commit is contained in:
Michael 2024-04-05 07:35:21 +00:00
parent 44344af055
commit 50b1de5959
9 changed files with 152 additions and 44 deletions

View file

@ -443,6 +443,8 @@ class Item
$menu[$this->l10n->t('Languages')] = 'javascript:alert(\'' . ItemModel::getLanguageMessage($item) . '\');';
}
$menu[$this->l10n->t('Search Text')] = 'javascript:displaySearchText(' . $item['uri-id'] . ');';
if ((($cid == 0) || ($rel == Contact::FOLLOWER)) &&
in_array($item['network'], Protocol::FEDERATED)
) {