]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/password.php
add stub email canonicalizer
[quix0rs-gnu-social.git] / actions / password.php
index 3fd94b66ad7b486784d4d3b98e41a91f5857a4e5..c9869f1778dd2111b6f7569b333dfaa442d9bd4f 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
 
 class PasswordAction extends SettingsAction {
        
@@ -25,7 +25,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 +40,7 @@ class PasswordAction extends SettingsAction {
                                                                          'type' => 'button',
                                                                          'id' => 'cancel'),
                                           _t('Cancel'));
+               common_element_end('form');
        }
        
        function handle_post() {