X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpassword.php;h=c5ab28ee973e8708b656542808f87045bb06ccd2;hb=6396504aa60a3ae7505211ab7e99733b1c74267b;hp=3fd94b66ad7b486784d4d3b98e41a91f5857a4e5;hpb=3803cf2153091c4f319c379c3ac24cc8fc844b0a;p=quix0rs-gnu-social.git diff --git a/actions/password.php b/actions/password.php index 3fd94b66ad..c5ab28ee97 100644 --- a/actions/password.php +++ b/actions/password.php @@ -17,7 +17,9 @@ * along with this program. If not, see . */ -if (!defined('LACONICA')) { exit(1) } +if (!defined('LACONICA')) { exit(1); } + +require_once(INSTALLDIR.'/lib/settingsaction.php'); class PasswordAction extends SettingsAction { @@ -25,7 +27,7 @@ class PasswordAction extends SettingsAction { 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() {