Vergleich usercp.php - 1.4.4 - 1.4.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: usercp.php 4254 2008-10-29 21:52:31Z Tikitiki $

 * $Id: usercp.php 4314 2009-01-31 00:43:26Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 199Zeile 199
			"away" => 1,
"date" => $awaydate,
"returndate" => $returndate,

			"away" => 1,
"date" => $awaydate,
"returndate" => $returndate,

			"awayreason" => $db->escape_string($mybb->input['awayreason'])

			"awayreason" => $mybb->input['awayreason']

		);
}
else

		);
}
else

Zeile 527Zeile 527
		else
{
$value = htmlspecialchars_uni($userfield);

		else
{
$value = htmlspecialchars_uni($userfield);

			$code = "<input type=\"text\" name=\"profile_fields[$field]\" class=\"textbox\" size=\"{$profilefield['length']}\" maxlength=\"{$profilefield['maxlength']}\" value=\"$value\" />";






			$maxlength = "";
if($profilefield['maxlength'] > 0)
{
$maxlength = " maxlength=\"{$profilefield['maxlength']}\"";
}
$code = "<input type=\"text\" name=\"profile_fields[$field]\" class=\"textbox\" size=\"{$profilefield['length']}\"{$maxlength} value=\"$value\" />";

		}
if($profilefield['required'] == 1)
{

		}
if($profilefield['required'] == 1)
{

Zeile 718Zeile 723
	if($user['hideemail'] == 1)
{
$hideemailcheck = "checked=\"checked\"";

	if($user['hideemail'] == 1)
{
$hideemailcheck = "checked=\"checked\"";

	}

	}

	else
{
$hideemailcheck = "";

	else
{
$hideemailcheck = "";

Zeile 741Zeile 746
	{
$showsigscheck = "checked=\"checked\"";;
}

	{
$showsigscheck = "checked=\"checked\"";;
}

	else
{
$showsigscheck = "";
}

	else
{
$showsigscheck = "";
}


if($user['showavatars'] == 1)


if($user['showavatars'] == 1)

	{

	{

		$showavatarscheck = "checked=\"checked\"";
}
else
{
$showavatarscheck = "";

		$showavatarscheck = "checked=\"checked\"";
}
else
{
$showavatarscheck = "";

	}


	}


	if($user['showquickreply'] == 1)
{
$showquickreplycheck = "checked=\"checked\"";

	if($user['showquickreply'] == 1)
{
$showquickreplycheck = "checked=\"checked\"";

Zeile 777Zeile 782
	{
$receivepmscheck = "checked=\"checked\"";
}

	{
$receivepmscheck = "checked=\"checked\"";
}

	else
{
$receivepmscheck = "";
}

	else
{
$receivepmscheck = "";
}


if($user['pmnotice'] == 1 || $user['pmnotice'] == 2)


if($user['pmnotice'] == 1 || $user['pmnotice'] == 2)

	{

	{

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

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

	}


	}


	if($user['dstcorrection'] == 2)

	if($user['dstcorrection'] == 2)

	{

	{

		$dst_auto_selected = "selected=\"selected\"";
}
else if($user['dstcorrection'] == 1)

		$dst_auto_selected = "selected=\"selected\"";
}
else if($user['dstcorrection'] == 1)

	{

	{

		$dst_enabled_selected = "selected=\"selected\"";
}
else
{
$dst_disabled_selected = "selected=\"selected\"";

		$dst_enabled_selected = "selected=\"selected\"";
}
else
{
$dst_disabled_selected = "selected=\"selected\"";

	}

	}


if($user['showcodebuttons'] == 1)


if($user['showcodebuttons'] == 1)

	{

	{

		$showcodebuttonscheck = "checked=\"checked\"";

		$showcodebuttonscheck = "checked=\"checked\"";

	}

	}

	else
{
$showcodebuttonscheck = "";
}

if($user['showredirect'] != 0)

	else
{
$showcodebuttonscheck = "";
}

if($user['showredirect'] != 0)

	{

	{

		$showredirectcheck = "checked=\"checked\"";
}
else

		$showredirectcheck = "checked=\"checked\"";
}
else

Zeile 1292Zeile 1297
			}
}


			}
}


 
		$icon_cache = $cache->read("posticons");


		// Now we can build our subscription list
foreach($subscriptions as $thread)
{

		// Now we can build our subscription list
foreach($subscriptions as $thread)
{