Vergleich admin/inc/functions_themes.php - 1.6.14 - 1.6.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 358Zeile 358
	if(!$stylesheet['cachefile'] && $stylesheet['name'])
{
$stylesheet['cachefile'] = $stylesheet['name'];

	if(!$stylesheet['cachefile'] && $stylesheet['name'])
{
$stylesheet['cachefile'] = $stylesheet['name'];

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

		$db->update_query("themestylesheets", array('cachefile' => $db->escape_string($stylesheet['name'])), "sid='{$stylesheet['sid']}'");

	}

// Still don't have the cache file name or is it not a flat file? Return false

	}

// Still don't have the cache file name or is it not a flat file? Return false

Zeile 371Zeile 371
	{
if(cache_stylesheet($stylesheet['tid'], $stylesheet['cachefile'], $stylesheet['stylesheet']) !== false)
{

	{
if(cache_stylesheet($stylesheet['tid'], $stylesheet['cachefile'], $stylesheet['stylesheet']) !== false)
{

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

			$db->update_query("themestylesheets", array('cachefile' => $db->escape_string($stylesheet['name'])), "sid='{$stylesheet['sid']}'");


update_theme_stylesheet_list($stylesheet['tid']);

if($stylesheet['sid'] != 1)
{


update_theme_stylesheet_list($stylesheet['tid']);

if($stylesheet['sid'] != 1)
{

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

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

			}
}


			}
}