1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12236] Move AOL Instant Messanger field to custom profile field

PHPBB3-12236
This commit is contained in:
Joas Schilling
2014-03-05 22:13:22 +01:00
parent a1dab58f6d
commit f2059f52f3
40 changed files with 141 additions and 136 deletions

View File

@@ -1360,7 +1360,6 @@ class acp_users
$user_row['iso_lang_id'] = $row['lang_id'];
$data = array(
'aim' => request_var('aim', $user_row['user_aim']),
'jabber' => utf8_normalize_nfc(request_var('jabber', $user_row['user_jabber'], true)),
'bday_day' => 0,
'bday_month' => 0,
@@ -1381,7 +1380,6 @@ class acp_users
if ($submit)
{
$error = validate_data($data, array(
'aim' => array('string', true, 3, 255),
'jabber' => array(
array('string', true, 5, 255),
array('jabber')),
@@ -1406,7 +1404,6 @@ class acp_users
if (!sizeof($error))
{
$sql_ary = array(
'user_aim' => $data['aim'],
'user_jabber' => $data['jabber'],
'user_birthday' => $data['user_birthday'],
);
@@ -1451,9 +1448,7 @@ class acp_users
unset($now);
$template->assign_vars(array(
'AIM' => $data['aim'],
'JABBER' => $data['jabber'],
'S_BIRTHDAY_DAY_OPTIONS' => $s_birthday_day_options,
'S_BIRTHDAY_MONTH_OPTIONS' => $s_birthday_month_options,
'S_BIRTHDAY_YEAR_OPTIONS' => $s_birthday_year_options,