summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 02:04:08 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 02:04:08 -0400
commit44ea9e4863b0c1a15e54a95775112f45fde7bba1 (patch)
treefdac96503784965e00bcae0abec775f00c5e06d5
parent28b6a088b7a8bd2d73a25cf7b08383ad97abdc9d (diff)
Change user messages a bit
-rw-r--r--src/views/Template.class.php1
-rw-r--r--src/views/pages/users/created.html.php4
-rw-r--r--src/views/pages/users/new.html.php2
3 files changed, 5 insertions, 2 deletions
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);
}