From 1889f9f1aa489e404e5cc48085bb0d1495e70518 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 22 Aug 2014 13:40:25 +0000 Subject: [PATCH] Fix mail import message dialog --- mail/inc/class.mail_hooks.inc.php | 2 +- mail/templates/default/app.css | 8 ++++- mail/templates/default/importMessage.xet | 37 ++++++++++++++++-------- mail/templates/pixelegg/app.css | 7 +++++ 4 files changed, 40 insertions(+), 14 deletions(-) diff --git a/mail/inc/class.mail_hooks.inc.php b/mail/inc/class.mail_hooks.inc.php index 8d83d5b788..fe98690eb5 100644 --- a/mail/inc/class.mail_hooks.inc.php +++ b/mail/inc/class.mail_hooks.inc.php @@ -570,7 +570,7 @@ class mail_hooks ); $file += array( - 'import message' => "javascript:egw_openWindowCentered2('".egw::link('/index.php', $linkData,false)."','importMessageDialog',870,125,'no','$appname');", + 'import message' => "javascript:egw_openWindowCentered2('".egw::link('/index.php', $linkData,false)."','importMessageDialog',600,100,'no','$appname');", ); } diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index 0b0e5b23d6..4d9a0fc443 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -682,7 +682,13 @@ div.mailPreviewHeaders #mail-index_previewAttachmentArea.visible { height: 500px; overflow: auto; } - +.mail_importMessageFile{ + width: 40%; +} +#mail-importMessage .dialogHeader { + font-weight: bold; + font-size:150%; +} /* MAIL PRINT */ @media print { .mailDisplayHeaders { diff --git a/mail/templates/default/importMessage.xet b/mail/templates/default/importMessage.xet index 6c654e5797..8d44e5ed7b 100644 --- a/mail/templates/default/importMessage.xet +++ b/mail/templates/default/importMessage.xet @@ -2,17 +2,30 @@ diff --git a/mail/templates/pixelegg/app.css b/mail/templates/pixelegg/app.css index 72892c1006..80f0354c38 100755 --- a/mail/templates/pixelegg/app.css +++ b/mail/templates/pixelegg/app.css @@ -676,6 +676,13 @@ div.mailPreviewHeaders #mail-index_previewAttachmentArea.visible { height: 500px; overflow: auto; } +.mail_importMessageFile { + width: 40%; +} +#mail-importMessage .dialogHeader { + font-weight: bold; + font-size: 150%; +} /* MAIL PRINT */ @media print { .mailDisplayHeaders {