Vergleich install/resources/upgrade30.php - 1.8.19 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 330Zeile 330
	$db->update_query('profilefields', array('viewableby' => '-1', 'editableby' => '-1'));

global $footer_extra;

	$db->update_query('profilefields', array('viewableby' => '-1', 'editableby' => '-1'));

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges2");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges2");

Zeile 480Zeile 480
	$db->update_query('forums', array('usethreadcounts' => 1), 'usepostcounts = 1');

global $footer_extra;

	$db->update_query('forums', array('usethreadcounts' => 1), 'usepostcounts = 1');

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges3");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges3");

Zeile 616Zeile 616
	}

global $footer_extra;

	}

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges4");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges4");

Zeile 747Zeile 747
	$db->update_query("maillogs", $update_array, "tid > '0'");

global $footer_extra;

	$db->update_query("maillogs", $update_array, "tid > '0'");

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges5");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges5");

Zeile 861Zeile 861
	}

global $footer_extra;

	}

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges6");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges6");

Zeile 1304Zeile 1304
	$output->print_contents($contents);

global $footer_extra;

	$output->print_contents($contents);

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_footer($nextact);
}


$output->print_footer($nextact);
}

Zeile 1408Zeile 1408
	}

global $footer_extra;

	}

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize2");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize2");

Zeile 1507Zeile 1507
	}

global $footer_extra;

	}

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize3");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize3");

Zeile 1582Zeile 1582
	}

global $footer_extra;

	}

global $footer_extra;

	$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

	$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize4");


$output->print_contents("<p>Click next to continue with the upgrade process.</p>");
$output->print_footer("30_dbchanges_optimize4");

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 2127Zeile 2126
		$contents = "<p><input type=\"hidden\" name=\"iptask\" value=\"{$next_task}\" />{$iptable}{$ipstart}Done. Click Next to continue the IP conversion.</p>";

global $footer_extra;

		$contents = "<p><input type=\"hidden\" name=\"iptask\" value=\"{$next_task}\" />{$iptable}{$ipstart}Done. Click Next to continue the IP conversion.</p>";

global $footer_extra;

		$footer_extra = "<script type=\"text/javascript\">$(document).ready(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

		$footer_extra = "<script type=\"text/javascript\">$(function() { var button = $('.submit_button'); if(button) { button.val('Automatically Redirecting...'); button.prop('disabled', true); button.css('color', '#aaa'); button.css('border-color', '#aaa'); document.forms[0].submit(); } });</script>";

		$nextact = "30_dbchanges_ip";
}


		$nextact = "30_dbchanges_ip";
}


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']))