invite: fix variable name in template and do not substitute the Â@ in the webfinger address with @+

This commit is contained in:
Mario
2021-10-22 09:52:30 +00:00
parent c1bb87db98
commit a209374cbd
2 changed files with 4 additions and 4 deletions

View File

@@ -225,7 +225,7 @@ class Invite extends Controller {
'$projectname' => t('$Projectname'),
'$invite_code' => $invite_code,
'$invite_where' => z_root() . '/register',
'$invite_whereami' => str_replace('@', '@+', $reonar['whereami']),
'$invite_whereami' => $reonar['whereami'],
'$invite_whoami' => z_root() . '/channel/' . $reonar['whoami'],
'$invite_anywhere' => z_root() . '/pubsites'
)

View File

@@ -2,14 +2,14 @@
Please join my community on {{$projectname}}.
{{$linktxt}} {{$invite_where}}
You will need to supply this invitation code:
You will need to supply this invitation code:
{{$invite_code}}
Or:
1. Register at any {{$projectname}} location
1. Register at any {{$projectname}} location
(they are all inter-connected).
2. Enter my {{$Projectname}} network address into the site searchbar.
2. Enter my {{$projectname}} network address into the site searchbar.
{{$invite_whereami}}
or visit {{$invite_whoami}}
3. Click [Connect]