aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-22 09:52:30 +0000
committerMario <mario@mariovavti.com>2021-10-22 09:52:30 +0000
commita209374cbd04f10408c0b834eaab203e0c745902 (patch)
treef968c7684003d594c8158aa0f0d55dd7026752e9
parentc1bb87db98eca35be6fa65d3a02393aaebd9e92a (diff)
downloadvolse-hubzilla-a209374cbd04f10408c0b834eaab203e0c745902.tar.gz
volse-hubzilla-a209374cbd04f10408c0b834eaab203e0c745902.tar.bz2
volse-hubzilla-a209374cbd04f10408c0b834eaab203e0c745902.zip
invite: fix variable name in template and do not substitute the Â@ in the webfinger address with @+
-rw-r--r--Zotlabs/Module/Invite.php2
-rw-r--r--view/en/invite.casual.tpl6
2 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index c301aaea2..2a126ac27 100644
--- a/Zotlabs/Module/Invite.php
+++ b/Zotlabs/Module/Invite.php
@@ -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'
)
diff --git a/view/en/invite.casual.tpl b/view/en/invite.casual.tpl
index 4fd031c63..f2a3b2330 100644
--- a/view/en/invite.casual.tpl
+++ b/view/en/invite.casual.tpl
@@ -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]