support themes on application level: $app/templates/$template/app-$theme.css

This commit is contained in:
Ralf Becker 2015-09-18 15:53:20 +00:00
parent a4c7d64a4c
commit 0f0728316d

View File

@ -1397,6 +1397,7 @@ abstract class egw_framework
self::includeCSS($theme_css);
// search for app specific css file, so it can customize the theme
self::includeCSS($GLOBALS['egw_info']['flags']['currentapp'], 'app-'.$GLOBALS['egw_info']['user']['preferences']['common']['theme']) ||
self::includeCSS($GLOBALS['egw_info']['flags']['currentapp'], 'app');
// sending print css last, so it can overwrite anything