X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fpassword.php;h=c5ab28ee973e8708b656542808f87045bb06ccd2;hb=6396504aa60a3ae7505211ab7e99733b1c74267b;hp=fb670ecc9ea2a2bbffa938ff084b2a14b94a3c75;hpb=3b14b7901c65144835d74b712279d0492c267c0c;p=quix0rs-gnu-social.git diff --git a/actions/password.php b/actions/password.php index fb670ecc9e..c5ab28ee97 100644 --- a/actions/password.php +++ b/actions/password.php @@ -19,13 +19,15 @@ if (!defined('LACONICA')) { exit(1); } +require_once(INSTALLDIR.'/lib/settingsaction.php'); + class PasswordAction extends SettingsAction { function show_form($msg=NULL, $success=false) { common_show_header(_t('Change password')); $this->settings_menu(); $this->message($msg, $success); - common_start_element('form', array('method' => 'POST', + common_element_start('form', array('method' => 'POST', 'id' => 'password', 'action' => common_local_url('password'))); @@ -40,6 +42,7 @@ class PasswordAction extends SettingsAction { 'type' => 'button', 'id' => 'cancel'), _t('Cancel')); + common_element_end('form'); } function handle_post() {