From aca15a2a973f16cd87ba029df1628ae327a5a05c Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 6 Apr 2016 16:45:32 +0000 Subject: [PATCH] Mobile theme W.I.P.: - Alway use flat skin for ckeditor regardless of preference - Add freetimesearch dialog --- api/src/Html/CkEditorConfig.php | 2 +- calendar/templates/mobile/freetimesearch.xet | 99 ++++++++++++++++++++ 2 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 calendar/templates/mobile/freetimesearch.xet diff --git a/api/src/Html/CkEditorConfig.php b/api/src/Html/CkEditorConfig.php index 5e06d5e3ea..c8d9fb932d 100644 --- a/api/src/Html/CkEditorConfig.php +++ b/api/src/Html/CkEditorConfig.php @@ -251,7 +251,7 @@ class CkEditorConfig { $skin = "moono"; //this is the basic skin for ckeditor } - self::$skin = $skin; + self::$skin = \EGroupware\Api\Header\UserAgent::mobile()?'flat':$skin; } return self::$skin; diff --git a/calendar/templates/mobile/freetimesearch.xet b/calendar/templates/mobile/freetimesearch.xet new file mode 100644 index 0000000000..7a0b20617d --- /dev/null +++ b/calendar/templates/mobile/freetimesearch.xet @@ -0,0 +1,99 @@ + + + + + +