move <div> to the register.tpl
This commit is contained in:
parent
c52ae17df4
commit
b84502c4e6
2 changed files with 3 additions and 7 deletions
|
@ -264,7 +264,7 @@ function register_content(&$a) {
|
||||||
'$realpeople' => $realpeople,
|
'$realpeople' => $realpeople,
|
||||||
'$regtitle' => t('Registration'),
|
'$regtitle' => t('Registration'),
|
||||||
'$registertext' =>((x($a->config,'register_text'))
|
'$registertext' =>((x($a->config,'register_text'))
|
||||||
? '<div class="error-message">' . bbcode($a->config['register_text']) . '</div>'
|
? bbcode($a->config['register_text'])
|
||||||
: "" ),
|
: "" ),
|
||||||
'$fillwith' => $fillwith,
|
'$fillwith' => $fillwith,
|
||||||
'$fillext' => $fillext,
|
'$fillext' => $fillext,
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
<h3>{{$regtitle}}</h3>
|
<h3>{{$regtitle}}</h3>
|
||||||
|
|
||||||
<form action="register" method="post" id="register-form">
|
<form action="register" method="post" id="register-form">
|
||||||
|
|
||||||
<input type="hidden" name="photo" value="{{$photo}}" />
|
<input type="hidden" name="photo" value="{{$photo}}" />
|
||||||
|
|
||||||
{{$registertext}}
|
{{if $registertext != ""}}<div class="error-message">'{{$registertext}} '</div>'{{/if}}
|
||||||
|
|
||||||
|
|
||||||
<p id="register-realpeople">{{$realpeople}}</p>
|
<p id="register-realpeople">{{$realpeople}}</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue