parent
4fdad7aa07
commit
f54c384381
|
@ -1064,7 +1064,7 @@ function user_edit($edit = array()) {
|
|||
$output .= form_item(t("Password"), "<input type=\"password\" name=\"edit[pass1]\" size=\"12\" maxlength=\"24\" /> <input type=\"password\" name=\"edit[pass2]\" size=\"12\" maxlength=\"24\" />", t("Enter your new password twice if you want to change your current password or leave it blank if you are happy with your current password."));
|
||||
$output .= form_submit(t("Save user information"));
|
||||
|
||||
$output = form($output, "post", 0, "enctype=\"multipart/form-data\"");
|
||||
$output = form($output, "post", 0, array("enctype" => "multipart/form-data"));
|
||||
// the "enctype" attribute is required to upload files such as avatars
|
||||
}
|
||||
else {
|
||||
|
@ -1559,8 +1559,7 @@ function user_admin_edit($edit = array()) {
|
|||
$output .= form_submit(t("Save account"));
|
||||
$output .= form_submit(t("Delete account"));
|
||||
|
||||
$output = form($output, "post", 0, "enctype=\"multipart/form-data\"");
|
||||
|
||||
$output = form($output, "post", 0, array("enctype" => "multipart/form-data"));
|
||||
}
|
||||
else {
|
||||
$output = t("No such user");
|
||||
|
|
|
@ -1064,7 +1064,7 @@ function user_edit($edit = array()) {
|
|||
$output .= form_item(t("Password"), "<input type=\"password\" name=\"edit[pass1]\" size=\"12\" maxlength=\"24\" /> <input type=\"password\" name=\"edit[pass2]\" size=\"12\" maxlength=\"24\" />", t("Enter your new password twice if you want to change your current password or leave it blank if you are happy with your current password."));
|
||||
$output .= form_submit(t("Save user information"));
|
||||
|
||||
$output = form($output, "post", 0, "enctype=\"multipart/form-data\"");
|
||||
$output = form($output, "post", 0, array("enctype" => "multipart/form-data"));
|
||||
// the "enctype" attribute is required to upload files such as avatars
|
||||
}
|
||||
else {
|
||||
|
@ -1559,8 +1559,7 @@ function user_admin_edit($edit = array()) {
|
|||
$output .= form_submit(t("Save account"));
|
||||
$output .= form_submit(t("Delete account"));
|
||||
|
||||
$output = form($output, "post", 0, "enctype=\"multipart/form-data\"");
|
||||
|
||||
$output = form($output, "post", 0, array("enctype" => "multipart/form-data"));
|
||||
}
|
||||
else {
|
||||
$output = t("No such user");
|
||||
|
|
Loading…
Reference in New Issue