mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
respect selected theme
This commit is contained in:
parent
1463d87637
commit
afa38cf57a
@ -20,10 +20,11 @@
|
||||
$bodyheader .= '';
|
||||
}
|
||||
|
||||
#_debug_array($GLOBALS['phpgw_info']['user']['preferences']['common']);
|
||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
|
||||
if (!file_exists($theme_css))
|
||||
{
|
||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/idots.css';
|
||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
|
||||
}
|
||||
|
||||
$pngfix = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/pngfix.js';
|
||||
|
Loading…
Reference in New Issue
Block a user