$follow_link = '';
$unfollow_link = '';
$wallmessage_link = '';
+ $showforum_link = '';
$photo = Contact::getPhoto($contact);
'$unfollow_link' => $unfollow_link,
'$wallmessage' => DI::l10n()->t('Message'),
'$wallmessage_link' => $wallmessage_link,
+ '$showforum' => DI::l10n()->t('Show forum'),
+ '$showforum_link' => $showforum_link,
+ '$mentioning' => DI::l10n()->t('Mention'),
+ '$post2group' => DI::l10n()->t('Post to group'),
]);
}
}
<div id="mention-link-button">
<button type="button" id="mention-link" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="openWallMessage('compose/0?body={{if $contact.forum==1}}!{{else}}@{{/if}}{{$contact.addr}}')">
<span class=""><i class="fa fa-pencil-square-o"></i></span>
- <span class="">{{$mentioning}}</span>
+ <span class="">{{if $contact.forum==1}}{{$post2group}}{{else}}{{$mentioning}}{{/if}}</span>
</button>
</div>
{{/if}}