Quick bugfixes.

git-svn-id: file:///svn/phpbb/trunk@860 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
dougk_ff7 2001-08-13 22:14:11 +00:00
parent 095fe73436
commit fe77fae929
2 changed files with 2 additions and 2 deletions

View file

@ -654,7 +654,7 @@ else if($HTTP_POST_VARS[submit] && $HTTP_POST_VARS['user_id'])
{ {
$sql = "UPDATE " . USERS_TABLE . " $sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '$email', user_icq = '$icq', user_website = '$website', user_occ = '$occupation', user_from = '$location', user_interests = '$interests', user_sig = '$signature', user_viewemail = $viewemail, user_aim = '$aim', user_yim = '$yim', user_msnm = '$msn', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify_pm = $notifypm, user_timezone = $user_timezone, user_dateformat = '$user_dateformat', user_lang = '$user_lang', user_active = '1', user_actkey = '$user_actkey'" . $avatar_sql . " SET " . $username_sql . $passwd_sql . "user_email = '$email', user_icq = '$icq', user_website = '$website', user_occ = '$occupation', user_from = '$location', user_interests = '$interests', user_sig = '$signature', user_viewemail = $viewemail, user_aim = '$aim', user_yim = '$yim', user_msnm = '$msn', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify_pm = $notifypm, user_timezone = $user_timezone, user_dateformat = '$user_dateformat', user_lang = '$user_lang', user_active = '1', user_actkey = '$user_actkey'" . $avatar_sql . "
WHERE poster_id = $user_id"; WHERE user_id = $user_id";
if($result = $db->sql_query($sql)) if($result = $db->sql_query($sql))
{ {
$template->set_filenames(array( $template->set_filenames(array(

View file

@ -781,7 +781,7 @@ $lang['Emotion'] = "Emotion";
// User Management // User Management
$lang['User_admin'] = "Administration"; $lang['User_admin'] = "Administration";
$lang['User_admin_explain'] = "Here you can change your user's information. Do not abuse this power.<br />Deleting users is not provided here, nor is changing admin status. <br />Use the banning and user permission pages respectively."; $lang['User_admin_explain'] = "Here you can change your user's information. Do not abuse this power. Changing admin status is not provided here. Use the user permission pages for this. <br />Developer To-Do: <br />Add support to modify /"invisible/" fields.";
$lang['User_delete'] = "Delete this user"; $lang['User_delete'] = "Delete this user";
$lang['User_delete_explain'] = "Click here to delete this user. This cannot be undone."; $lang['User_delete_explain'] = "Click here to delete this user. This cannot be undone.";
$lang['User_deleted'] = "User was successfully deleted."; $lang['User_deleted'] = "User was successfully deleted.";