From 554818bcd078eab8a6184034e3b5940c6caaa02f Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 4 Oct 2010 12:27:06 +0000 Subject: - Add Reply-to-List feature (#1484252) - Add Mail-Followup-To/Mail-Reply-To support (#1485547) git-svn-id: https://svn.roundcube.net/trunk@4032 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/skins/default/common.css | 25 +++++++++++++++++++- roundcubemail/skins/default/functions.js | 14 +++++------ roundcubemail/skins/default/images/dbutton.png | Bin 0 -> 465 bytes .../skins/default/includes/replyallmenu.html | 7 ++++++ roundcubemail/skins/default/mail.css | 8 ++++--- roundcubemail/skins/default/templates/compose.html | 26 +++++++++++++++++---- roundcubemail/skins/default/templates/mail.html | 3 +++ roundcubemail/skins/default/templates/message.html | 3 +++ 8 files changed, 70 insertions(+), 16 deletions(-) create mode 100644 roundcubemail/skins/default/images/dbutton.png create mode 100644 roundcubemail/skins/default/includes/replyallmenu.html (limited to 'roundcubemail/skins/default') diff --git a/roundcubemail/skins/default/common.css b/roundcubemail/skins/default/common.css index 4a9155211..c068ca270 100644 --- a/roundcubemail/skins/default/common.css +++ b/roundcubemail/skins/default/common.css @@ -462,6 +462,30 @@ img background-color: #F2F2F2 !important; } +.dropbutton, +.dropbutton span +{ + float: left; + height: 32px; +} + +.dropbutton:hover +{ + background: url(images/dbutton.png) 0 0 no-repeat transparent; +} + +.dropbutton span +{ + width: 9px; + background: url(images/dbutton.png) -53px 0 no-repeat transparent; +} + +.dropbutton span:hover +{ + cursor: pointer; + background-position: -64px 0; +} + /***** common table settings ******/ @@ -752,4 +776,3 @@ font.bold { font-weight: bold; } - \ No newline at end of file diff --git a/roundcubemail/skins/default/functions.js b/roundcubemail/skins/default/functions.js index 4615a462a..64a6d9921 100644 --- a/roundcubemail/skins/default/functions.js +++ b/roundcubemail/skins/default/functions.js @@ -29,6 +29,7 @@ function rcube_mail_ui() { this.popups = { markmenu: {id:'markmessagemenu'}, + replyallmenu: {id:'replyallmenu'}, searchmenu: {id:'searchmenu', editable:1}, messagemenu: {id:'messagemenu'}, listmenu: {id:'listmenu', editable:1}, @@ -293,16 +294,15 @@ switch_preview_pane: function(elem) /* Message composing */ init_compose_form: function() { - var cc_field = document.getElementById('_cc'), - bcc_field = document.getElementById('_bcc'), + var f, field, fields = ['cc', 'bcc', 'replyto', 'mailreplyto', 'mailfollowupto'], div = document.getElementById('compose-div'), headers_div = document.getElementById('compose-headers-div'); - if (cc_field && cc_field.value != '') - rcmail_ui.show_header_form('cc'); - - if (bcc_field && bcc_field.value != '') - rcmail_ui.show_header_form('bcc'); + // Show input elements with non-empty value + for (f=0; f + + diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index 8baf836e4..84313a8da 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -13,7 +13,7 @@ /* border: 1px solid #cccccc; */ } -#messagetoolbar > a +#messagetoolbar a { display: block; float: left; @@ -27,7 +27,7 @@ width: 32px; height: 32px; padding: 0; - margin-right: 10px; + margin: 0 5px; overflow: hidden; background: url(images/mail_toolbar.png) 0 0 no-repeat transparent; opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ @@ -1228,7 +1228,9 @@ td.hide-headers #compose-cc, #compose-bcc, -#compose-replyto +#compose-replyto, +#compose-mailreplyto, +#compose-mailfollowupto { display: none; } diff --git a/roundcubemail/skins/default/templates/compose.html b/roundcubemail/skins/default/templates/compose.html index 2e08b8669..f99afdd9e 100644 --- a/roundcubemail/skins/default/templates/compose.html +++ b/roundcubemail/skins/default/templates/compose.html @@ -78,6 +78,18 @@ + + + + + + + + + + + + @@ -86,27 +98,31 @@ | + | + + | + - +
- +
- - + +
- +
diff --git a/roundcubemail/skins/default/templates/mail.html b/roundcubemail/skins/default/templates/mail.html index 55fbc73a1..a0847283a 100644 --- a/roundcubemail/skins/default/templates/mail.html +++ b/roundcubemail/skins/default/templates/mail.html @@ -120,7 +120,9 @@ + + @@ -138,6 +140,7 @@
+
diff --git a/roundcubemail/skins/default/templates/message.html b/roundcubemail/skins/default/templates/message.html index 6bc1e2953..809da3333 100644 --- a/roundcubemail/skins/default/templates/message.html +++ b/roundcubemail/skins/default/templates/message.html @@ -21,7 +21,9 @@ + + @@ -29,6 +31,7 @@
+
-- cgit v1.2.3