diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-01-13 08:34:13 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-01-13 08:34:13 +0400 |
commit | 38dbcd42476216f96192d6284f9ae13537a8def5 (patch) | |
tree | a23f8e400be2bcf18b8c16d274010ddaa1d906b3 /core/Theme.php | |
parent | 8a6d8c428e32a38211403f3712d8cb0e4a9dd26a (diff) |
Fixes #4443 Theming CSS rewrite should now rewrite all CSS
+ Removing the help_grey.png reference, merging with help.png
+ Making form inputs/selects look nice in calendar + site selector search
Diffstat (limited to 'core/Theme.php')
-rw-r--r-- | core/Theme.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Theme.php b/core/Theme.php index 5b376f9032..16db5efb91 100644 --- a/core/Theme.php +++ b/core/Theme.php @@ -91,9 +91,12 @@ class Theme // Images as well '~(src|href)=[\'"]([^\'"]+)[\'"]~', - // rewrite images in CSS files, i.e. url(plugins/Morpheus/overrides/themes/default/images/help.png); + // rewrite images in CSS files '~(url\()[\'"]([^\)]?[plugins]+[^\)]+[.jpg|png|gif|svg]?)[\'"][\)]~', + // url(plugins/....) + '~(url\()([^\)]?[plugins]+[^\)]+[.jpg|png|gif|svg]?)[\)]~', + // rewrites images in JS files '~(=)[\s]?[\'"]([^\'"]+[.jpg|.png|.gif|svg]?)[\'"]~', ); |