mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Allow custom theme for mobile template
This commit is contained in:
parent
a8ffe5ab05
commit
4e0be8a887
@ -841,6 +841,7 @@ abstract class Framework extends Framework\Extra
|
||||
$themes_to_check = array();
|
||||
if (Header\UserAgent::mobile() || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'fw_mobile')
|
||||
{
|
||||
$themes_to_check[] = $this->template_dir.'/mobile/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
|
||||
$themes_to_check[] = $this->template_dir.'/mobile/fw_mobile.css';
|
||||
}
|
||||
$themes_to_check[] = $this->template_dir.'/css/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
|
||||
|
Loading…
Reference in New Issue
Block a user