exit(1);
}
-require_once INSTALLDIR.'/lib/accountsettingsaction.php';
+
/**
* Change password
* @link http://status.net/
*/
-class PasswordsettingsAction extends AccountSettingsAction
+class PasswordsettingsAction extends SettingsAction
{
/**
* Title of the page
}
$this->elementStart('li');
$this->password('newpassword', _('New password'),
- _('6 or more characters'));
+ _('6 or more characters.'));
$this->elementEnd('li');
$this->elementStart('li');
$this->password('confirm', _('Confirm'),
- _('Same as password above'));
+ _('Same as password above.'));
$this->elementEnd('li');
$this->elementEnd('ul');
*
* @return void
*/
-
function handlePost()
{
// CSRF protection
}
if (!$user->update($original)) {
- $this->serverError(_('Can\'t save new password.'));
+ $this->serverError(_('Cannot save new password.'));
return;
}
Event::handle('EndChangePassword', array($user));