1
1
Fork 0

fix rego page

This commit is contained in:
Mike Macgirvin 2010-08-03 19:05:07 -07:00
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;