From 44ea9e4863b0c1a15e54a95775112f45fde7bba1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Sep 2011 02:04:08 -0400 Subject: Change user messages a bit --- src/views/Template.class.php | 1 + src/views/pages/users/created.html.php | 4 +++- src/views/pages/users/new.html.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/views/Template.class.php b/src/views/Template.class.php index f57d5dc..7d4d1ff 100644 --- a/src/views/Template.class.php +++ b/src/views/Template.class.php @@ -173,6 +173,7 @@ class Template { 'id'=>'password')); $str.= $this->tag('input', array('type'=>'submit', 'value'=>'Login')); + $str.= $this->link($this->url("users/new"),'New Account'); $str.= $this->closeTag('form'); } $str.= $this->closeTag('div'); diff --git a/src/views/pages/users/created.html.php b/src/views/pages/users/created.html.php index 72aa26e..d485b77 100644 --- a/src/views/pages/users/created.html.php +++ b/src/views/pages/users/created.html.php @@ -5,7 +5,7 @@ $username = $VARS['username']; $t->status('201 Created'); header('Location: '.$t->url("users/$username")); $t->header('User created'); -$t->paragraph("You can go ahead and fill out more of your ". +/*$t->paragraph("You can go ahead and fill out more of your ". "user information, (click the @username link at ". "the top) but will need to wait for an ". "administrator to approve your account before ". @@ -13,4 +13,6 @@ $t->paragraph("You can go ahead and fill out more of your ". "filling your info out might help approval, so ". "that the administrator can more easily see who ". "you are."); +*/ +$t->tag('h2',array(), $t->link($t->url("users/$username"), 'Go on to step 2')); $t->footer(); diff --git a/src/views/pages/users/new.html.php b/src/views/pages/users/new.html.php index 6b78b5e..d9a6c75 100644 --- a/src/views/pages/users/new.html.php +++ b/src/views/pages/users/new.html.php @@ -6,7 +6,7 @@ $t->header('Create new user'); $t->openTag('form', array('method'=>'post', 'action'=>$t->url('users'))); -$t->openFieldset("New User: basic login"); +$t->openFieldset("New User: Step 1"); if (in_array('illegal name', $VARS['errors'])) { $t->inputP("That is a forbidden username.", true); } -- cgit v1.2.3-2-g168b