summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 16:22:36 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 16:22:36 +0000
commit05b00cc7df22d2e998d642e91fee6cea317a9b83 (patch)
treea178503a5cb6c8f42528369395e47b255da9d1cb /actions
parente7687c66b21fec1a2db524842505d229ce896e72 (diff)
Login styles
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')),