mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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();
|
$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