diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-09-14 00:21:07 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-09-14 00:21:07 +0000 |
commit | 626a003eb6721edfbd03deedd16ec8a802f1bbd3 (patch) | |
tree | 9d68c2003aec3f2deef9a739857fb6bf92690388 /phpBB/profile.php | |
parent | 788cc77be50ad881b5a57e9abe41b6028e840646 (diff) | |
download | forums-626a003eb6721edfbd03deedd16ec8a802f1bbd3.tar forums-626a003eb6721edfbd03deedd16ec8a802f1bbd3.tar.gz forums-626a003eb6721edfbd03deedd16ec8a802f1bbd3.tar.bz2 forums-626a003eb6721edfbd03deedd16ec8a802f1bbd3.tar.xz forums-626a003eb6721edfbd03deedd16ec8a802f1bbd3.zip |
Fixed little bug in the registration SQL
git-svn-id: file:///svn/phpbb/trunk@1037 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r-- | phpBB/profile.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index c243627e56..7de0e99fb7 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -116,7 +116,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) "L_GO" => $lang['Go'], "L_JUMP_TO" => $lang['Jump_to'], "L_SELECT_FORUM" => $lang['Select_forum'], - + "S_JUMPBOX_LIST" => $jumpbox, "S_JUMPBOX_ACTION" => append_sid("viewforum.$phpEx")) ); @@ -277,7 +277,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) "L_GO" => $lang['Go'], "L_JUMP_TO" => $lang['Jump_to'], "L_SELECT_FORUM" => $lang['Select_forum'], - + "S_JUMPBOX_LIST" => $jumpbox, "S_JUMPBOX_ACTION" => append_sid("viewforum.$phpEx")) ); @@ -767,9 +767,9 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) $emailer->extra_headers($email_headers); $emailer->assign_vars(array( - "SITENAME" => $board_config['sitename'], + "SITENAME" => $board_config['sitename'], "USERNAME" => $username, - "EMAIL_SIG" => $board_config['board_email'], + "EMAIL_SIG" => $board_config['board_email'], "U_ACTIVATE" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/profile.$phpEx?mode=activate&act_key=$act_key") ); @@ -796,7 +796,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) // Get current date // $sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_avatar, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_timezone, user_dateformat, user_lang, user_template, user_theme, user_level, user_allow_pm, user_active, user_actkey) - VALUES ($new_user_id, '$username', " . time() . ", '$password .', '$email', '$icq .', '$website', '$occupation', '$location', '$interests', '$signature', '$avatar_filename', $viewemail, '$aim', '$yim', '$msn', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $user_timezone, '$user_dateformat', '$user_lang', '$user_template', $user_theme, 0, 1, "; + VALUES ($new_user_id, '$username', " . time() . ", '$password', '$email', '$icq .', '$website', '$occupation', '$location', '$interests', '$signature', '$avatar_filename', $viewemail, '$aim', '$yim', '$msn', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $user_timezone, '$user_dateformat', '$user_lang', '$user_template', $user_theme, 0, 1, "; if($board_config['require_activation'] || $coppa == 1) { @@ -850,7 +850,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) "USERNAME" => $username, "PASSWORD" => $password_confirm, "EMAIL_SIG" => $board_config['board_email'], - + "U_ACTIVATE" => "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . $path . "/profile.$phpEx?mode=activate&act_key=$user_actkey") ); $emailer->send(); @@ -860,7 +860,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) $template->assign_vars(array( "META" => '<meta http-equiv="refresh" content="3;url=index.' . $phpEx . '">') ); - + $message = $message . "<br /><br />" . $lang['Click'] . " <a href=\"" . append_sid("index.$phpEx") . "\">" . $lang['Here'] . "</a> " . $lang['to_return_index']; message_die(GENERAL_MESSAGE, $message); @@ -973,7 +973,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) "L_GO" => $lang['Go'], "L_JUMP_TO" => $lang['Jump_to'], "L_SELECT_FORUM" => $lang['Select_forum'], - + "S_JUMPBOX_LIST" => $jumpbox, "S_JUMPBOX_ACTION" => append_sid("viewforum.$phpEx")) ); |