diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 8b88a89161..60b836e21e 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1946,6 +1946,13 @@ class mail_ui ); $actions['tracker']['toolbarDefault'] = true; $actions['forward']['toolbarDefault'] = true; + if (html::$ua_mobile) { + foreach($actions as $key => $action) + { + if (in_array($key,array('calendar', 'infolog' ,'tracker' ))) $actions[$key]['toolbarDefault'] = false; + $actions['save']['children']['save2disk']['toolbarDefault'] = $actions['print']['toolbarDefault'] = false; + } + } $compose = $actions['composeasnew']; unset($actions['composeasnew']); $actions = array_reverse($actions,true); diff --git a/mail/templates/mobile/display.xet b/mail/templates/mobile/display.xet new file mode 100644 index 0000000000..b681b63293 --- /dev/null +++ b/mail/templates/mobile/display.xet @@ -0,0 +1,84 @@ + + + + +