From: Tobias Diekershoff Date: Mon, 13 Jan 2014 13:40:26 +0000 (+0100) Subject: move
to the register.tpl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b84502c4e66e4e002c5f89aeae8d628b5d154220;p=friendica.git move
to the register.tpl --- diff --git a/mod/register.php b/mod/register.php index c00d2315ce..5e011cb9a9 100644 --- a/mod/register.php +++ b/mod/register.php @@ -264,7 +264,7 @@ function register_content(&$a) { '$realpeople' => $realpeople, '$regtitle' => t('Registration'), '$registertext' =>((x($a->config,'register_text')) - ? '
' . bbcode($a->config['register_text']) . '
' + ? bbcode($a->config['register_text']) : "" ), '$fillwith' => $fillwith, '$fillext' => $fillext, diff --git a/view/templates/register.tpl b/view/templates/register.tpl index ff650e2470..4b74e54f70 100644 --- a/view/templates/register.tpl +++ b/view/templates/register.tpl @@ -1,15 +1,11 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}}

{{$regtitle}}

- {{$registertext}} + {{if $registertext != ""}}
'{{$registertext}} '
'{{/if}} +

{{$realpeople}}