Unescape invite_desc template variable

pull/6372/head
Hypolite Petovan 2018-12-27 20:13:36 -05:00
rodzic ea1946ec03
commit 935b86749d
3 zmienionych plików z 3 dodań i 6 usunięć

Wyświetl plik

@ -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:"); $page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:");
$invite_desc = sprintf( $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');
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, [ $o = Renderer::replaceMacros($tpl, [
'$header' => L10n::t('Friend/Connection Request'), '$header' => L10n::t('Friend/Connection Request'),

Wyświetl plik

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

Wyświetl plik

@ -50,7 +50,7 @@
<div id="register-nickname-wrapper" class="form-group"> <div id="register-nickname-wrapper" class="form-group">
<label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label> <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}}"> <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>
<div id="register-nickname-end" ></div> <div id="register-nickname-end" ></div>