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

This commit is contained in:
Hadi Nategh 2015-10-01 14:45:50 +00:00
parent faf859d2aa
commit 0d583634a8

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