summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 23ab16676..224b30f6f 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -130,15 +130,27 @@ class LoginAction extends Action
function showContent()
{
$this->elementStart('form', array('method' => 'post',
- 'id' => 'login',
+ 'id' => 'form_login',
+ 'class' => 'form_login',
'action' => common_local_url('login')));
+ $this->elementStart('fieldset');
+ $this->element('legend', null, _('Login to site'));
+ $this->elementStart('ul', 'form_datas');
+ $this->elementStart('li');
$this->input('nickname', _('Nickname'));
+ $this->elementEnd('li');
+ $this->elementStart('li');
$this->password('password', _('Password'));
+ $this->elementEnd('li');
+ $this->elementStart('li');
$this->checkbox('rememberme', _('Remember me'), false,
_('Automatically login in the future; ' .
'not for shared computers!'));
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
$this->submit('submit', _('Login'));
$this->hidden('token', common_session_token());
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$this->elementStart('p');
$this->element('a', array('href' => common_local_url('recoverpassword')),