fix rego page

This commit is contained in:
Mike Macgirvin
2010-08-03 19:05:07 -07:00
parent 8f7e81a8b3
commit 6af2a79e90
2 changed files with 8 additions and 4 deletions

View File

@@ -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;