diff --git a/mod/register.php b/mod/register.php index c00d2315c..5e011cb9a 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 ff650e247..4b74e54f7 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}}