Vergleich install/resources/upgrade30.php - 1.8.22 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1631Zeile 1631
		"threads" => array("dateline", "lastpost"),
"threadsread" => array("dateline"),
"threadsubscriptions" => array("dateline"),

		"threads" => array("dateline", "lastpost"),
"threadsread" => array("dateline"),
"threadsubscriptions" => array("dateline"),

		"threadsread" => array("dateline"),

 
		"usergroups" => array("reputationpower", "maxreputationsday", "maxreputationsperuser", "maxreputationsperthread", "attachquota"),
"users" => array("regdate", "lastactive", "lastvisit", "lastpost", "timeonline", "moderationtime", "suspensiontime", "suspendsigtime"),
"warningtypes" => array("expirationtime"),

		"usergroups" => array("reputationpower", "maxreputationsday", "maxreputationsperuser", "maxreputationsperthread", "attachquota"),
"users" => array("regdate", "lastactive", "lastvisit", "lastpost", "timeonline", "moderationtime", "suspensiontime", "suspendsigtime"),
"warningtypes" => array("expirationtime"),

Zeile 1914Zeile 1913
						$ip2 = my_inet_pton($db->unescape_binary($data['lastip']));
if($ip1 === false && $ip2 === false)
{

						$ip2 = my_inet_pton($db->unescape_binary($data['lastip']));
if($ip1 === false && $ip2 === false)
{

							continue;

							continue 2;

						}
break;
case 5:
$ip = my_inet_pton($db->unescape_binary($data['ip']));
if($ip === false)
{

						}
break;
case 5:
$ip = my_inet_pton($db->unescape_binary($data['ip']));
if($ip === false)
{

							continue;

							continue 2;

						}
break;
case 6:

						}
break;
case 6:

Zeile 1932Zeile 1931
						$ip = my_inet_pton($db->unescape_binary($data['ipaddress']));
if($ip === false)
{

						$ip = my_inet_pton($db->unescape_binary($data['ipaddress']));
if($ip === false)
{

							continue;

							continue 2;

						}
break;
}

						}
break;
}

Zeile 2169Zeile 2168
	$stylesheets = my_unserialize($theme['stylesheets']);

$old = array("global.css", "usercp.css", "modcp.css", "star_ratings.css");

	$stylesheets = my_unserialize($theme['stylesheets']);

$old = array("global.css", "usercp.css", "modcp.css", "star_ratings.css");

	require_once MYBB_ROOT."inc/class_xml.php";

 
	$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme.xml');

	$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme.xml');

	$parser = new XMLParser($colors);

	$parser = create_xml_parser($colors);

	$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['theme']))

	$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['theme']))

Zeile 2200Zeile 2198
					$sid = $db->insert_query("themestylesheets", $new_stylesheet);
$css_url = "css.php?stylesheet={$sid}";


					$sid = $db->insert_query("themestylesheets", $new_stylesheet);
$css_url = "css.php?stylesheet={$sid}";


					$cached = cache_stylesheet($tid, $stylesheet['attributes']['name'], $stylesheet['value']);

					$cached = cache_stylesheet(1, $stylesheet['attributes']['name'], $stylesheet['value']);


if($cached)
{


if($cached)
{

Zeile 2319Zeile 2317
			$properties['logo'] = "images/logo.png";
}


			$properties['logo'] = "images/logo.png";
}


		require_once MYBB_ROOT."inc/class_xml.php";

 
		$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme_colors.xml');

		$colors = @file_get_contents(INSTALL_ROOT.'resources/mybb_theme_colors.xml');

		$parser = new XMLParser($colors);

		$parser = create_xml_parser($colors);

		$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['colors']))

		$tree = $parser->get_tree();

if(is_array($tree) && is_array($tree['colors']))