Move poke module to src/

- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
This commit is contained in:
Hypolite Petovan 2020-04-20 11:42:27 -04:00
parent 7899892351
commit 7f04aea8b1
12 changed files with 212 additions and 273 deletions

View file

@ -1235,7 +1235,7 @@ class Contact
}
if (($contact['network'] == Protocol::DFRN) && !$contact['self'] && empty($contact['pending'])) {
$poke_link = DI::baseUrl() . '/poke/?c=' . $contact['id'];
$poke_link = 'contact/' . $contact['id'] . '/poke';
}
$contact_url = DI::baseUrl() . '/contact/' . $contact['id'];