diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-06 05:47:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-06 05:47:52 +0000 |
commit | e66371cac17e35d2cb0c9bf48f792193b79f3a7c (patch) | |
tree | 7a80591383246fb439f9c74960c927071a45b9f8 /modules/color | |
parent | 644657c56b6e04fb41e9b424668c61e0d1d6c1d4 (diff) | |
download | brdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.gz brdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.bz2 |
- Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance.
Diffstat (limited to 'modules/color')
-rw-r--r-- | modules/color/color.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module index 9aabcea4b..04bbb8ff6 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -279,7 +279,8 @@ function color_scheme_form_submit($form_id, $values) { */ function _color_rewrite_stylesheet($theme, &$info, &$paths, $palette) { // Load stylesheet - $style = file_get_contents($paths['source'] .'style.css'); + $themes = list_themes(); + $style = file_get_contents($themes[$theme]->stylesheet); // Prepare color conversion table $conversion = $palette; |