From 5a49a57c5fba06a5640af81e40ac875afa0f7ce2 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 7 Mar 2014 14:26:16 +0000 Subject: [PATCH] suppress #divAppboxHeader #divGenTime_mail; disable actions displayastext and displayashtml on preview action menu (not supported yet) --- mail/inc/class.mail_ui.inc.php | 6 +++++- mail/templates/default/app.css | 16 ++-------------- mail/templates/default/preview.css | 6 ++++++ mail/templates/pixelegg/app.css | 18 +++--------------- mail/templates/pixelegg/app.less | 10 +++++----- 5 files changed, 21 insertions(+), 35 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index cfece40a7b..8c9fcb085a 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1617,6 +1617,9 @@ unset($query['actions']); } } unset($actionsenabled['drag_mail']); + //error_log(array2string($actionsenabled['view'])); + unset($actionsenabled['view']['children']['openastext']);//not supported in preview + unset($actionsenabled['view']['children']['openashtml']);//not supported in preview return $actionsenabled; } @@ -2751,7 +2754,8 @@ $this->partID = $partID; { // egw_info[flags][css] already include