diff options
Diffstat (limited to 'skins/classic')
-rw-r--r-- | skins/classic/functions.js | 1 | ||||
-rw-r--r-- | skins/classic/mail.css | 3 | ||||
-rw-r--r-- | skins/classic/templates/mail.html | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js index 5dd332ab7..d10812c57 100644 --- a/skins/classic/functions.js +++ b/skins/classic/functions.js @@ -967,6 +967,7 @@ function rcube_init_mail_ui() rcmail.addEventListener('responseaftergetunread', rcube_render_mailboxlist); rcmail.addEventListener('responseaftercheck-recent', rcube_render_mailboxlist); rcmail.addEventListener('aftercollapse-folder', rcube_render_mailboxlist); + rcmail.addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); }); new rcmail_scroller('#mailboxlist-content', '#mailboxlist-title', '#mailboxlist-footer'); } diff --git a/skins/classic/mail.css b/skins/classic/mail.css index 7c350ca3d..b99c599b4 100644 --- a/skins/classic/mail.css +++ b/skins/classic/mail.css @@ -1600,16 +1600,19 @@ input.from_address vertical-align: middle; } +#upload-form, #attachment-form { padding: 6px; } +#upload-form div, #attachment-form div { padding: 2px; } +#upload-form div.buttons, #attachment-form div.buttons { margin-top: 4px; diff --git a/skins/classic/templates/mail.html b/skins/classic/templates/mail.html index c7010e87c..c3b4004cc 100644 --- a/skins/classic/templates/mail.html +++ b/skins/classic/templates/mail.html @@ -140,7 +140,8 @@ <div id="mailboxoptionsmenu" class="popupmenu"> <ul> <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> - <li class="separator_below"><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> + <li><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> + <li class="separator_below"><roundcube:button name="messageimport" type="link" class="active" label="importmessages" id="uploadformlink" onclick="rcmail_ui.show_popup('uploadform', true); return false" /></li> <li><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li> <roundcube:container name="mailboxoptions" id="mailboxoptionsmenu" /> </ul> @@ -204,5 +205,7 @@ </div> </div> +<roundcube:object name="messageimportform" id="upload-form" attachmentFieldSize="40" class="popupmenu" /> + </body> </html> |