diff options
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/actions/register.php b/actions/register.php index d2c87f7bb..cad5c2ed7 100644 --- a/actions/register.php +++ b/actions/register.php @@ -115,16 +115,19 @@ class RegisterAction extends Action { return $result; } - function show_form($error=NULL) { - global $config; - - common_show_header(_t('Register')); + function show_top($error=NULL) { if ($error) { - common_element('div', 'error', $error); + common_element('p', 'error', $error); } else { - common_element('div', 'instructions', - _t('You can create a new account to start posting notices. ')); + common_element('p', 'instructions', + _t('You can create a new account to start posting notices.')); } + } + + function show_form($error=NULL) { + global $config; + + common_show_header(_t('Register'), NULL, $error, array($this, 'show_top')); common_element_start('form', array('method' => 'POST', 'id' => 'login', 'action' => common_local_url('register'))); |