]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/profilesettings.php
add stub email canonicalizer
[quix0rs-gnu-social.git] / actions / profilesettings.php
index 95462133ee3fb5a5b42e7106375d83c74d95cffa..ae060dd9086e50f82fd3a2704a130998605be724 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 ProfilesettingsAction extends SettingsAction {
        
@@ -25,7 +25,7 @@ class ProfilesettingsAction extends SettingsAction {
                common_show_header(_t('Profile settings'));
                $this->settings_menu();
                $this->message($msg, $success);
-               common_start_element('form', array('method' => 'POST',
+               common_element_start('form', array('method' => 'POST',
                                                                                   'id' => 'profilesettings',
                                                                                   'action' => 
                                                                                   common_local_url('profilesettings')));
@@ -43,6 +43,7 @@ class ProfilesettingsAction extends SettingsAction {
                                                                          'type' => 'button',
                                                                          'id' => 'cancel'),
                                           _t('Cancel'));
+               common_element_end('form');
                common_show_footer();
        }