Vergleich admin/modules/style/themes.php - 1.8.8 - 1.8.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1028Zeile 1028
		$children = make_child_theme_list($theme['tid']);
$child_tid = $children[0];


		$children = make_child_theme_list($theme['tid']);
$child_tid = $children[0];


		$db->update_query("themes", array('pid' => $theme['pid']), "tid='{$child_tid}'");




		if($child_tid != 0)
{
$db->update_query("themes", array('pid' => $theme['pid']), "tid='{$child_tid}'");
}


$db->delete_query("themes", "tid='{$theme['tid']}'", 1);



$db->delete_query("themes", "tid='{$theme['tid']}'", 1);


Zeile 1746Zeile 1749
				$update_d = true;

$db->update_query("themestylesheets", array('lastmodified' => TIME_NOW), "sid='{$stylesheet['sid']}'", 1);

				$update_d = true;

$db->update_query("themestylesheets", array('lastmodified' => TIME_NOW), "sid='{$stylesheet['sid']}'", 1);

				if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $theme['stylesheet']))

				if(!cache_stylesheet($theme['tid'], str_replace('/', '', $mybb->input['name']), $stylesheet['stylesheet']))

				{
$db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1);
}

				{
$db->update_query("themestylesheets", array('cachefile' => "css.php?stylesheet={$stylesheet['sid']}"), "sid='{$stylesheet['sid']}'", 1);
}