Zeile 329 | Zeile 329 |
---|
$updated_theme = array( "stylesheets" => $db->escape_string(my_serialize($theme_stylesheets)) );
|
$updated_theme = array( "stylesheets" => $db->escape_string(my_serialize($theme_stylesheets)) );
|
if(is_array($properties['disporder'])) { asort($properties['disporder'], SORT_NUMERIC);
// Because inherited stylesheets can mess this up $loop = 1; $orders = array(); foreach($properties['disporder'] as $filename => $order) { $orders[$filename] = $loop; ++$loop; }
$properties['disporder'] = $orders; $updated_theme['properties'] = $db->escape_string(my_serialize($properties)); }
| |
$db->update_query("themes", $updated_theme, "tid='{$theme_id}'"); }
| $db->update_query("themes", $updated_theme, "tid='{$theme_id}'"); }
|
Zeile 511 | Zeile 494 |
---|
}
/**
|
}
/**
|
| * @deprecated
|
* @param string $url * * @return string
| * @param string $url * * @return string
|
Zeile 538 | Zeile 522 |
---|
}
/**
|
}
/**
|
| * @deprecated
|
* @param string $url * * @return string
| * @param string $url * * @return string
|
Zeile 638 | Zeile 623 |
---|
); $properties['logo'] = parse_theme_variables($properties['logo'], $theme_vars); }
|
); $properties['logo'] = parse_theme_variables($properties['logo'], $theme_vars); }
|
| $updated_theme = array();
|
if(!empty($stylesheets)) { $updated_theme['stylesheets'] = $db->escape_string(my_serialize($stylesheets));
| if(!empty($stylesheets)) { $updated_theme['stylesheets'] = $db->escape_string(my_serialize($stylesheets));
|