suppress #divAppboxHeader #divGenTime_mail; disable actions displayastext and displayashtml on preview action menu (not supported yet)

This commit is contained in:
Klaus Leithoff 2014-03-07 14:26:16 +00:00
parent ffb1159851
commit 5a49a57c5f
5 changed files with 21 additions and 35 deletions

View File

@ -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 <style> tags
$GLOBALS['egw_info']['flags']['css'] = preg_replace('|</?style[^>]*>|i', '', $additionalStyle);
$GLOBALS['egw_info']['flags']['nofooter']=true;
$GLOBALS['egw_info']['flags']['nonavbar']=true;
// do NOT include any default CSS
egw_framework::includeCSS('mail', 'preview', true, true);

View File

@ -498,21 +498,9 @@ input[type=button] {
-moz-opacity:1;
filter: Alpha(opacity=100);
}
/*
#divGenTime {
background-color:#efefdf;
max-height: 10%;
position: fixed;
bottom: 1px;
border: 1px solid red;
border-top: 1px solid black;
left: 3px;
right: 3px;
opacity: 1;
-moz-opacity:1:
filter: Alpha(opacity=100);
#divGenTime_mail {
display: none;
}
*/
div.mail-display > div:first-parent > div.first-parent
{
height: 99%;

View File

@ -38,3 +38,9 @@ blockquote[type=cite] {
margin-left: 0;
color: blue;
}
.pageGenTime {
display: none;
}
#divAppboxHeader {
display: none;
}

View File

@ -495,21 +495,6 @@ input[type=button] {
-moz-opacity: 1;
filter: alpha(opacity=100);
}
/*
#divGenTime {
background-color:#efefdf;
max-height: 10%;
position: fixed;
bottom: 1px;
border: 1px solid red;
border-top: 1px solid black;
left: 3px;
right: 3px;
opacity: 1;
-moz-opacity:1:
filter: Alpha(opacity=100);
}
*/
div.mail-display > div:first-parent > div.first-parent {
height: 99%;
}
@ -1584,6 +1569,9 @@ div#mail-index div#mail-index_mailPreview div#mail-index_mailPreviewHeadersSubje
#mail-display .mail_DisplayNone {
display: none;
}
#divGenTime_mail {
display: none;
}
/**
* et2_toolbar
*/

View File

@ -598,6 +598,10 @@ div#mail-index{
} // Ende Dialog
#divGenTime_mail {
display: none;
}
/* ##################################################################################
* E-Mail Dialog "Ansehen"
* Preview
@ -832,10 +836,6 @@ div#mail-index{
display: none;
}
} // Ende Display
@ -1787,4 +1787,4 @@ div.mailDisplayHeaders div.mail_extraEmails.visible {
}
}
//
//