mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
invite: fix variable name in template and do not substitute the Â@ in the webfinger address with @+
This commit is contained in:
@@ -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'
|
||||
)
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user