mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Some minor fixes for the registration procedure
git-svn-id: file:///svn/phpbb/trunk@4732 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c97adb5a2e
commit
d8c35f8b20
2 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ switch ($mode)
|
||||||
eval('$' . str_replace('allow_', '', $switch) . '_no = (!$new[\'' . $switch . "']) ? 'checked=\"checked\"' : '';");
|
eval('$' . str_replace('allow_', '', $switch) . '_no = (!$new[\'' . $switch . "']) ? 'checked=\"checked\"' : '';");
|
||||||
}
|
}
|
||||||
|
|
||||||
$user_char_ary = array('USERNAME_CHARS_ANY' => '.*', 'USERNAME_ALPHA_ONLY' => '[/w]+', 'USERNAME_ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+');
|
$user_char_ary = array('USERNAME_CHARS_ANY' => '.*', 'USERNAME_ALPHA_ONLY' => '[\w]+', 'USERNAME_ALPHA_SPACERS' => '[\w_\+\. \-\[\]]+');
|
||||||
$user_char_options = '';
|
$user_char_options = '';
|
||||||
foreach ($user_char_ary as $lang => $value)
|
foreach ($user_char_ary as $lang => $value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -239,7 +239,7 @@ class ucp_register extends module
|
||||||
'PASSWORD' => $password_confirm,
|
'PASSWORD' => $password_confirm,
|
||||||
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
|
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
|
||||||
|
|
||||||
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&k=$user_actkey")
|
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey")
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($coppa)
|
if ($coppa)
|
||||||
|
@ -276,7 +276,7 @@ class ucp_register extends module
|
||||||
'USERNAME' => $row['username'],
|
'USERNAME' => $row['username'],
|
||||||
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
|
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
|
||||||
|
|
||||||
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&k=$user_actkey")
|
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey")
|
||||||
);
|
);
|
||||||
|
|
||||||
$messenger->send($row['user_notify_type']);
|
$messenger->send($row['user_notify_type']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue