fix rego page
This commit is contained in:
parent
8f7e81a8b3
commit
6af2a79e90
2 changed files with 8 additions and 4 deletions
|
@ -230,7 +230,9 @@ function register_content(&$a) {
|
|||
|
||||
$o = file_get_contents("view/register.tpl");
|
||||
$o = replace_macros($o, array(
|
||||
'$registertext' =>((x($a->config,'register_text'))? $a->config['register_text'] : "" ),
|
||||
'$registertext' =>((x($a->config,'register_text'))
|
||||
? '<div class="error-message">' . $a->config['register_text'] . '</div>'
|
||||
: "" ),
|
||||
'$sitename' => $a->get_hostname()
|
||||
));
|
||||
return $o;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue