diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-03 19:05:07 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-03 19:05:07 -0700 |
commit | 6af2a79e9078656f89ff68048ae460c3e1f27332 (patch) | |
tree | 3f7393422793af2fa36dfc93cd696ecc667bccc7 /mod | |
parent | 8f7e81a8b31aa8d734d9fe014ecdb7d2a13301d2 (diff) | |
download | volse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.tar.gz volse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.tar.bz2 volse-hubzilla-6af2a79e9078656f89ff68048ae460c3e1f27332.zip |
fix rego page
Diffstat (limited to 'mod')
-rw-r--r-- | mod/register.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php index f74f57146..fc7301d52 100644 --- a/mod/register.php +++ b/mod/register.php @@ -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; |