From f905ab181fb7a6457ca20ecf516cf4f8d6ba0711 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 21 Oct 2005 09:07:12 +0000 Subject: - Patch #34031 by drewish: delete button on the edit user account form should be after the submit button. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index fcec8547a..e6175e03e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1278,7 +1278,7 @@ function user_edit($category = 'account') { $form = _user_forms($edit, $account, $category); $form['submit'] = array('#type' => 'submit', '#value' => t('Submit'), '#weight' => 30); if (user_access('administer users')) { - $form['delete'] = array('#type' => 'submit', '#value' => t('Delete'), '#weight' => 30); + $form['delete'] = array('#type' => 'submit', '#value' => t('Delete'), '#weight' => 31); } $form['#attributes'] = array('enctype' => 'multipart/form-data'); -- cgit v1.2.3