Vergleich install/resources/upgrade12.php - 1.8.26 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 557Zeile 557

include_once MYBB_ROOT."inc/functions_task.php";
$tasks = file_get_contents(INSTALL_ROOT.'resources/tasks.xml');


include_once MYBB_ROOT."inc/functions_task.php";
$tasks = file_get_contents(INSTALL_ROOT.'resources/tasks.xml');

	$parser = new XMLParser($tasks);

	$parser = create_xml_parser($tasks);

	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


Zeile 762Zeile 762
	$db->update_query("settings", array('value' => 'classic'), "name='postlayout' AND value != 'horizontal'");

$db->update_query("settings", array('optionscode' => $db->escape_string('php

	$db->update_query("settings", array('value' => 'classic'), "name='postlayout' AND value != 'horizontal'");

$db->update_query("settings", array('optionscode' => $db->escape_string('php

<select name=\"upsetting[{$setting[\'name\']}]\"><option value=\"standard\">".($lang->setting_searchtype_standard?$lang->setting_searchtype_standard:"Standard")."</option>".($db->supports_fulltext("threads") && $db->supports_fulltext_boolean("posts")?"<option value=\"fulltext\"".($setting[\'value\']=="fulltext"?" selected=\"selected\"":"").">".($lang->setting_searchtype_fulltext?$lang->setting_searchtype_fulltext:"Full Text")."</option>":"")."</select>')), "name='searchtype'", 1);

<select name=\"upsetting[{$setting[\'name\']}]\"><option value=\"standard\">".(isset($lang->setting_searchtype_standard)?$lang->setting_searchtype_standard:"Standard")."</option>".($db->supports_fulltext("threads") && $db->supports_fulltext_boolean("posts")?"<option value=\"fulltext\"".($setting[\'value\']=="fulltext"?" selected=\"selected\"":"").">".(isset($lang->setting_searchtype_fulltext)?$lang->setting_searchtype_fulltext:"Full Text")."</option>":"")."</select>')), "name='searchtype'", 1);


$contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>";


$contents = "Done</p>";
$contents .= "<p>Click next to continue with the upgrade process.</p>";

Zeile 914Zeile 914
	}

$adminoptions = file_get_contents(INSTALL_ROOT.'resources/adminoptions.xml');

	}

$adminoptions = file_get_contents(INSTALL_ROOT.'resources/adminoptions.xml');

	$parser = new XMLParser($adminoptions);

	$parser = create_xml_parser($adminoptions);

	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


Zeile 1239Zeile 1239
	) ENGINE=MyISAM{$collation};");

$views = file_get_contents(INSTALL_ROOT.'resources/adminviews.xml');

	) ENGINE=MyISAM{$collation};");

$views = file_get_contents(INSTALL_ROOT.'resources/adminviews.xml');

	$parser = new XMLParser($views);

	$parser = create_xml_parser($views);

	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


	$parser->collapse_dups = 0;
$tree = $parser->get_tree();


Zeile 1791Zeile 1791
	if(!$cachewritable)
{
$not_writable = true;

	if(!$cachewritable)
{
$not_writable = true;

		@fclose($cachewritable);

 
	}
else
{

	}
else
{

Zeile 1822Zeile 1821
	if(!$themewritable)
{
$not_writable = true;

	if(!$themewritable)
{
$not_writable = true;

		@fclose($themewritable);

 
	}
else
{

	}
else
{