Unescape invite_desc template variable

This commit is contained in:
Hypolite Petovan 2018-12-27 20:13:36 -05:00
parent ea1946ec03
commit 935b86749d
3 changed files with 3 additions and 6 deletions

View file

@ -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, <a href="%s">follow this link to find a public Friendica site and join us today</a>.'),
get_server() . '/servers'
);
$invite_desc = L10n::t('If you are not yet a member of the free social web, <a href="%s">follow this link to find a public Friendica site and join us today</a>.', get_server() . '/servers');
$o = Renderer::replaceMacros($tpl, [
'$header' => L10n::t('Friend/Connection Request'),

View file

@ -46,7 +46,7 @@
{{include file="field_password.tpl" field=$password2}}
{{/if}}
<p id="register-nickname-desc" >{{$nickdesc}}</p>
<p id="register-nickname-desc" >{{$nickdesc nofilter}}</p>
<div id="register-nickname-wrapper" >
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>

View file

@ -50,7 +50,7 @@
<div id="register-nickname-wrapper" class="form-group">
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
<input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" class="form-control" value="{{$nickname}}">
<span class="help-block" id="nickname_tip">{{$nickdesc}}</span>
<span class="help-block" id="nickname_tip">{{$nickdesc nofilter}}</span>
</div>
<div id="register-nickname-end" ></div>