From a209374cbd04f10408c0b834eaab203e0c745902 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 22 Oct 2021 09:52:30 +0000 Subject: [PATCH] =?UTF-8?q?invite:=20fix=20variable=20name=20in=20template?= =?UTF-8?q?=20and=20do=20not=20substitute=20the=20=C3=82@=20in=20the=20web?= =?UTF-8?q?finger=20address=20with=20@+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zotlabs/Module/Invite.php | 2 +- view/en/invite.casual.tpl | 6 +++--- 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]