mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
Allow custom theme for mobile template
This commit is contained in:
parent
e9d29852ad
commit
0bbbad3a8c
@ -841,6 +841,7 @@ abstract class Framework extends Framework\Extra
|
|||||||
$themes_to_check = array();
|
$themes_to_check = array();
|
||||||
if (Header\UserAgent::mobile() || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'fw_mobile')
|
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.'/mobile/fw_mobile.css';
|
||||||
}
|
}
|
||||||
$themes_to_check[] = $this->template_dir.'/css/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
|
$themes_to_check[] = $this->template_dir.'/css/'.$GLOBALS['egw_info']['user']['preferences']['common']['theme'].'.css';
|
||||||
|
Loading…
Reference in New Issue
Block a user