summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-28 13:07:52 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-28 13:07:52 -0400
commita954bb8c0a9b5024209bd4a03ca2ed9329027995 (patch)
treefb016d8bd8b2413ef657a91d5369fc645465ce98 /actions/register.php
parent7b244b2a6699977070fc074a179aca6aa63c88b3 (diff)
show error messages in registration form
darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index cd0486506..d2e54b634 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -117,8 +117,11 @@ class RegisterAction extends Action {
function show_form($error=NULL) {
global $config;
-
+
common_show_header(_t('Register'));
+ if ($error) {
+ common_element('div', 'error', $error);
+ }
common_element_start('form', array('method' => 'POST',
'id' => 'login',
'action' => common_local_url('register')));