Zeile 11 | Zeile 11 |
---|
define("IN_MYBB", 1); define('THIS_SCRIPT', 'contact.php');
|
define("IN_MYBB", 1); define('THIS_SCRIPT', 'contact.php');
|
$templatelist = "contact,post_captcha,post_captcha_recaptcha,post_captcha_recaptcha_invisible,post_captcha_nocaptcha";
| $templatelist = "contact,post_captcha,post_captcha_recaptcha_invisible,post_captcha_nocaptcha,post_captcha_hcaptcha_invisible,post_captcha_hcaptcha";
|
require_once "./global.php"; require_once MYBB_ROOT.'inc/class_captcha.php';
| require_once "./global.php"; require_once MYBB_ROOT.'inc/class_captcha.php';
|
Zeile 278 | Zeile 278 |
---|
} }
|
} }
|
$mybb->input['subject'] = htmlspecialchars_uni($mybb->input['subject']); $mybb->input['message'] = htmlspecialchars_uni($mybb->input['message']);
| $contact_subject = htmlspecialchars_uni($mybb->input['subject']); $contact_message = htmlspecialchars_uni($mybb->input['message']);
|
if($mybb->user['uid'] && !$mybb->get_input('email')) {
|
if($mybb->user['uid'] && !$mybb->get_input('email')) {
|
$mybb->input['email'] = htmlspecialchars_uni($mybb->user['email']);
| $user_email = htmlspecialchars_uni($mybb->user['email']);
|
} else {
|
} else {
|
$mybb->input['email'] = htmlspecialchars_uni($mybb->get_input('email'));
| $user_email = htmlspecialchars_uni($mybb->get_input('email'));
|
}
$plugins->run_hooks('contact_end');
| }
$plugins->run_hooks('contact_end');
|