Vergleich member.php - 1.6.13 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 148Zeile 148
		"subscriptionmethod" => $mybb->input['subscriptionmethod'],
"receivepms" => $mybb->input['receivepms'],
"pmnotice" => $mybb->input['pmnotice'],

		"subscriptionmethod" => $mybb->input['subscriptionmethod'],
"receivepms" => $mybb->input['receivepms'],
"pmnotice" => $mybb->input['pmnotice'],

		"emailpmnotify" => $mybb->input['emailpmnotify'],

		"pmnotify" => $mybb->input['pmnotify'],

		"invisible" => $mybb->input['invisible'],
"dstcorrection" => $mybb->input['dstcorrection']
);

		"invisible" => $mybb->input['invisible'],
"dstcorrection" => $mybb->input['dstcorrection']
);

Zeile 217Zeile 217
			$pmnoticecheck = " checked=\"checked\"";
}


			$pmnoticecheck = " checked=\"checked\"";
}


		if($mybb->input['emailpmnotify'] == 1)

		if($mybb->input['pmnotify'] == 1)

		{

		{

			$emailpmnotifycheck = "checked=\"checked\"";

			$pmnotifycheck = "checked=\"checked\"";

		}

if($mybb->input['invisible'] == 1)

		}

if($mybb->input['invisible'] == 1)

Zeile 705Zeile 705
			$emailnotifycheck = '';
$receivepmscheck = "checked=\"checked\"";
$pmnoticecheck = " checked=\"checked\"";

			$emailnotifycheck = '';
$receivepmscheck = "checked=\"checked\"";
$pmnoticecheck = " checked=\"checked\"";

			$emailpmnotifycheck = '';

			$pmnotifycheck = '';

			$invisiblecheck = '';
if($mybb->settings['dstcorrection'] == 1)
{

			$invisiblecheck = '';
if($mybb->settings['dstcorrection'] == 1)
{

Zeile 766Zeile 766
		foreach($languages as $lname => $language)
{
$language = htmlspecialchars_uni($language);

		foreach($languages as $lname => $language)
{
$language = htmlspecialchars_uni($language);

			if($user['language'] == $lname)

			if(isset($user['language']) && $user['language'] == $lname)

			{
$langoptions .= "<option value=\"$lname\" selected=\"selected\">$language</option>\n";
}

			{
$langoptions .= "<option value=\"$lname\" selected=\"selected\">$language</option>\n";
}

Zeile 789Zeile 789

if($mybb->input['username'])
{


if($mybb->input['username'])
{

		switch($mybb->settings['username'])

		switch($mybb->settings['username_method'])

		{
case 0:
$query = $db->simple_select("users", "*", "LOWER(username)='".$db->escape_string(my_strtolower($mybb->input['username']))."'", array('limit' => 1));

		{
case 0:
$query = $db->simple_select("users", "*", "LOWER(username)='".$db->escape_string(my_strtolower($mybb->input['username']))."'", array('limit' => 1));

Zeile 996Zeile 996
			$email = $user['email'];
$activationcode = $user['activationcode'];
$emailsubject = $lang->sprintf($lang->emailsubject_lostpw, $mybb->settings['bbname']);

			$email = $user['email'];
$activationcode = $user['activationcode'];
$emailsubject = $lang->sprintf($lang->emailsubject_lostpw, $mybb->settings['bbname']);

			switch($mybb->settings['username_method'])
{
case 0:

			switch($mybb->settings['username_method'])
{
case 0:

					$emailmessage = $lang->sprintf($lang->email_lostpw, $username, $mybb->settings['bbname'], $mybb->settings['bburl'], $uid, $activationcode);
break;
case 1:

					$emailmessage = $lang->sprintf($lang->email_lostpw, $username, $mybb->settings['bbname'], $mybb->settings['bburl'], $uid, $activationcode);
break;
case 1:

Zeile 1067Zeile 1067
	}
if($mybb->input['code'] && $user['uid'])
{

	}
if($mybb->input['code'] && $user['uid'])
{

		$query = $db->simple_select("awaitingactivation", "*", "uid='".$user['uid']."' AND type='p'");
$activation = $db->fetch_array($query);

		$query = $db->simple_select("awaitingactivation", "code", "uid='".$user['uid']."' AND type='p'");
$activationcode = $db->fetch_field($query, 'code');

		$now = TIME_NOW;

		$now = TIME_NOW;

		if($activation['code'] != $mybb->input['code'])

		if(!$activationcode || $activationcode != $mybb->input['code'])

		{
error($lang->error_badlostpwcode);
}

		{
error($lang->error_badlostpwcode);
}