diff --git a/mod/register.php b/mod/register.php index 1370eb42f1..5e011cb9a9 100644 --- a/mod/register.php +++ b/mod/register.php @@ -1,6 +1,7 @@ $realpeople, '$regtitle' => t('Registration'), '$registertext' =>((x($a->config,'register_text')) - ? '
' . $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..15fcf29938 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}}