Zeile 2569 | Zeile 2569 |
---|
"profile_fields" => $mybb->get_input('profile_fields', MyBB::INPUT_ARRAY), "profile_fields_editable" => true, "website" => $mybb->get_input('website'),
|
"profile_fields" => $mybb->get_input('profile_fields', MyBB::INPUT_ARRAY), "profile_fields_editable" => true, "website" => $mybb->get_input('website'),
|
"icq" => $mybb->get_input('icq'),
| |
"skype" => $mybb->get_input('skype'), "google" => $mybb->get_input('google'), "signature" => $mybb->get_input('signature'),
| "skype" => $mybb->get_input('skype'), "google" => $mybb->get_input('google'), "signature" => $mybb->get_input('signature'),
|
Zeile 2776 | Zeile 2775 |
---|
if(!my_validate_url($user['website'])) { $user['website'] = '';
|
if(!my_validate_url($user['website'])) { $user['website'] = '';
|
}
if($user['icq'] != "0") { $user['icq'] = (int)$user['icq'];
| |
}
if(!$errors)
| }
if(!$errors)
|
Zeile 2803 | Zeile 2797 |
---|
}
// Sanitize all input
|
}
// Sanitize all input
|
foreach(array('usertitle', 'website', 'icq', 'skype', 'google', 'signature', 'birthday_day', 'birthday_month', 'birthday_year') as $field)
| foreach(array('usertitle', 'website', 'skype', 'google', 'signature', 'birthday_day', 'birthday_month', 'birthday_year') as $field)
|
{ $mybb->input[$field] = htmlspecialchars_uni($mybb->get_input($field)); }
| { $mybb->input[$field] = htmlspecialchars_uni($mybb->get_input($field)); }
|
Zeile 3012 | Zeile 3006 |
---|
} } elseif($type == "select")
|
} } elseif($type == "select")
|
{ $expoptions = explode("\n", $options); if(is_array($expoptions)) { foreach($expoptions as $key => $val)
| { $expoptions = explode("\n", $options); if(is_array($expoptions)) { foreach($expoptions as $key => $val)
|
{ $val = trim($val); $val = str_replace("\n", "\\n", $val);
| { $val = trim($val); $val = str_replace("\n", "\\n", $val);
|
Zeile 3273 | Zeile 3267 |
---|
$birthday_year = $mybb->input['birthday_year']; $user_website = $mybb->input['website'];
|
$birthday_year = $mybb->input['birthday_year']; $user_website = $mybb->input['website'];
|
$user_icq = $mybb->input['icq'];
| |
$user_skype = $mybb->input['skype']; $user_google = $mybb->input['google'];
| $user_skype = $mybb->input['skype']; $user_google = $mybb->input['google'];
|
Zeile 3398 | Zeile 3391 |
---|
if($user['invisible'] == 1 && $mybb->usergroup['canviewwolinvis'] != 1 && $user['uid'] != $mybb->user['uid']) {
|
if($user['invisible'] == 1 && $mybb->usergroup['canviewwolinvis'] != 1 && $user['uid'] != $mybb->user['uid']) {
|
$lastdate = $lang->lastvisit_never;
if($user['lastvisit']) { // We have had at least some active time, hide it instead $lastdate = $lang->lastvisit_hidden; }
| // We have had at least some active time, hide it instead $lastdate = $lang->lastvisit_hidden; } else if($user['lastvisit']) { $lastdate = my_date('relative', $user['lastvisit']);
|
} else {
|
} else {
|
$lastdate = my_date('relative', $user['lastvisit']);
| $lastdate = $lang->lastvisit_never;
|
}
$usergroup = htmlspecialchars_uni($usergroups_cache[$user['usergroup']]['title']);
| }
$usergroup = htmlspecialchars_uni($usergroups_cache[$user['usergroup']]['title']);
|