summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 15:01:42 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 15:01:42 -0400
commitbb13901a50bd65bf83411aa2140220ed697b91ed (patch)
treeb9af1372876334b453e2ca2bcf73faba6d39ed8f /actions
parent07eb05157a86f83a853e5591862f413d44e0babb (diff)
fixup login form
darcs-hash:20080517190142-84dde-ec4cc3dc256c2daca29ffe6710507188829f04ba.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php14
-rw-r--r--actions/register.php2
2 files changed, 8 insertions, 8 deletions
diff --git a/actions/login.php b/actions/login.php
index 4795dfdbd..60c95343f 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -56,11 +56,11 @@ class LoginAction extends Action {
common_element_start('form', array('method' => 'POST',
'id' => 'login',
'action' => common_local_url('login')));
- common_element('label', array('for' => 'username'),
+ common_element('label', array('for' => 'nickname'),
_t('Name'));
- common_element('input', array('name' => 'username',
+ common_element('input', array('name' => 'nickname',
'type' => 'text',
- 'id' => 'username'));
+ 'id' => 'nickname'));
common_element('label', array('for' => 'password'),
_t('Password'));
common_element('input', array('name' => 'password',
@@ -68,12 +68,12 @@ class LoginAction extends Action {
'id' => 'password'));
common_element('input', array('name' => 'submit',
'type' => 'submit',
- 'id' => 'submit'),
- _t('Login'));
+ 'id' => 'submit',
+ 'value' => _t('Login')));
common_element('input', array('name' => 'cancel',
'type' => 'button',
- 'id' => 'cancel'),
- _t('Cancel'));
+ 'id' => 'cancel',
+ 'value' => _t('Cancel')));
common_element_end('form');
}
}
diff --git a/actions/register.php b/actions/register.php
index a6cdbb51b..29a7a70f7 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -125,7 +125,7 @@ class RegisterAction extends Action {
common_element('input', array('name' => 'submit',
'type' => 'submit',
'id' => 'submit',
- 'value' => _t('Login')));
+ 'value' => _t('Register')));
common_element('input', array('name' => 'cancel',
'type' => 'button',
'id' => 'cancel',