From: Hypolite Petovan Date: Fri, 28 Dec 2018 01:13:36 +0000 (-0500) Subject: Unescape invite_desc template variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=935b86749d9a6ab20dac4c99a2f8fde52dc2bb60;p=friendica.git Unescape invite_desc template variable --- diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 15e11c3dab..9f0583711f 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -632,10 +632,7 @@ function dfrn_request_content(App $a) $page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:"); - $invite_desc = sprintf( - L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.'), - get_server() . '/servers' - ); + $invite_desc = L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.', get_server() . '/servers'); $o = Renderer::replaceMacros($tpl, [ '$header' => L10n::t('Friend/Connection Request'), diff --git a/view/templates/register.tpl b/view/templates/register.tpl index b3a6a2c086..4da865d4cf 100644 --- a/view/templates/register.tpl +++ b/view/templates/register.tpl @@ -46,7 +46,7 @@ {{include file="field_password.tpl" field=$password2}} {{/if}} -

{{$nickdesc}}

+

{{$nickdesc nofilter}}

diff --git a/view/theme/frio/templates/register.tpl b/view/theme/frio/templates/register.tpl index 7436d0d38d..feb8035fa3 100644 --- a/view/theme/frio/templates/register.tpl +++ b/view/theme/frio/templates/register.tpl @@ -50,7 +50,7 @@
- {{$nickdesc}} + {{$nickdesc nofilter}}