fix rememberme checkboxes on login, register

darcs-hash:20080702125457-84dde-d27e405d7003c86886ad81b87bbbf20cbf6fba1c.gz
This commit is contained in:
Evan Prodromou 2008-07-02 08:54:57 -04:00
parent c6ddd4268b
commit 4ee649058f
2 changed files with 18 additions and 18 deletions

View File

@ -70,7 +70,7 @@ class LoginAction extends Action {
'action' => common_local_url('login'))); 'action' => common_local_url('login')));
common_input('nickname', _t('Nickname')); common_input('nickname', _t('Nickname'));
common_password('password', _t('Password')); common_password('password', _t('Password'));
common_checkbox('rememberme', _t('Remember me'), common_checkbox('rememberme', _t('Remember me'), false,
_t('Automatically login in the future; ' . _t('Automatically login in the future; ' .
'not for shared computers!')); 'not for shared computers!'));
common_submit('submit', _t('Login')); common_submit('submit', _t('Login'));

View File

@ -174,7 +174,7 @@ class RegisterAction extends Action {
_t('Same as password above')); _t('Same as password above'));
common_input('email', _t('Email'), NULL, common_input('email', _t('Email'), NULL,
_t('Used only for updates, announcements, and password recovery')); _t('Used only for updates, announcements, and password recovery'));
common_checkbox('rememberme', _t('Remember me'), common_checkbox('rememberme', _t('Remember me'), false,
_t('Automatically login in the future; ' . _t('Automatically login in the future; ' .
'not for shared computers!')); 'not for shared computers!'));
common_element_start('p'); common_element_start('p');