forked from extern/egroupware
Fix mail import message dialog
This commit is contained in:
parent
6cc7ff661d
commit
1889f9f1aa
@ -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');",
|
||||
);
|
||||
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -2,17 +2,30 @@
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="mail.importMessage" template="" lang="" group="0" version="1.9.001">
|
||||
<html id="msg"/>
|
||||
<hbox class="dialogHeader" width="100%" >
|
||||
<description value="Import message" align="center" class="dialogHeader"/>
|
||||
</hbox>
|
||||
<vbox id="divImportArea">
|
||||
<hbox span="all">
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column width="100"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="dialogHeader">
|
||||
<description value="Import message" align="center" span="all" class="et2_fullWidth"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Store to Folder"/>
|
||||
<taglist id="FOLDER" width="50%" autocomplete_url='mail.mail_compose.ajax_searchFolder' autocomplete_params='' maxSelection="1" allowFreeEntries="false" onclick="app.mail.address_click"/>
|
||||
<vfs-select id="vfsfile" mode="open" mime="message/rfc822" onchange="app.mail.vfsUploadForImport"/>
|
||||
<file statustext="Select file to import into Folder" onFinish="app.mail.uploadForImport" mime="/^message\//i" id="uploadForImport" drop_target ="mail-importMessage_divImportArea"/>
|
||||
<taglist id="FOLDER" autocomplete_url='mail.mail_compose.ajax_searchFolder' autocomplete_params='' maxSelection="1" allowFreeEntries="false" onclick="app.mail.address_click"/>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Choose file"/>
|
||||
<hbox>
|
||||
<vfs-select id="vfsfile" button_caption = "" mode="open" mime="message/rfc822" onchange="app.mail.vfsUploadForImport"/>
|
||||
<file statustext="Select file to import into Folder" onFinish="app.mail.uploadForImport" mime="/^message\//i" id="uploadForImport" drop_target ="mail-importMessage" class="mail_importMessageFile"/>
|
||||
</hbox>
|
||||
</vbox>>
|
||||
</row>
|
||||
<row class="dialogFooterToolbar">
|
||||
<buttononly statustext="Closes this window" label="Close" onclick="window.close();" image="close" background_image="1"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user