From b84502c4e66e4e002c5f89aeae8d628b5d154220 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 13 Jan 2014 14:40:26 +0100 Subject: [PATCH] move
to the register.tpl --- mod/register.php | 2 +- view/templates/register.tpl | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) 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}}