From 1966c53255495890dd7f25c31bac73d97ecc3291 Mon Sep 17 00:00:00 2001 From: svncommit Date: Mon, 19 Jun 2006 19:04:51 +0000 Subject: Added Drafts support (Feature #1326839) (richs) --- skins/default/images/buttons/drafts_act.png | Bin 0 -> 4447 bytes skins/default/images/buttons/drafts_pas.png | Bin 0 -> 4416 bytes skins/default/images/icons/folder-drafts.png | Bin 0 -> 511 bytes skins/default/mail.css | 9 +++++++-- skins/default/templates/compose.html | 8 ++++++++ 5 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 skins/default/images/buttons/drafts_act.png create mode 100644 skins/default/images/buttons/drafts_pas.png create mode 100644 skins/default/images/icons/folder-drafts.png (limited to 'skins') diff --git a/skins/default/images/buttons/drafts_act.png b/skins/default/images/buttons/drafts_act.png new file mode 100644 index 000000000..3fc718a7f Binary files /dev/null and b/skins/default/images/buttons/drafts_act.png differ diff --git a/skins/default/images/buttons/drafts_pas.png b/skins/default/images/buttons/drafts_pas.png new file mode 100644 index 000000000..424709e77 Binary files /dev/null and b/skins/default/images/buttons/drafts_pas.png differ diff --git a/skins/default/images/icons/folder-drafts.png b/skins/default/images/icons/folder-drafts.png new file mode 100644 index 000000000..d828b5687 Binary files /dev/null and b/skins/default/images/icons/folder-drafts.png differ diff --git a/skins/default/mail.css b/skins/default/mail.css index 3bdbf6d16..808ab6ccb 100644 --- a/skins/default/mail.css +++ b/skins/default/mail.css @@ -225,6 +225,11 @@ background-image: url(images/icons/folder-inbox.png); } +#mailboxlist li.drafts +{ + background-image: url(images/icons/folder-drafts.png); +} + #mailboxlist li.sent { background-image: url(images/icons/folder-sent.png); @@ -674,14 +679,14 @@ div.message-part pre #priority-selector { position: absolute; - left: 220px; + left: 280px; top: 10px; } #receipt-selector { position: absolute; - left: 390px; + left: 450px; top: 10px; } diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html index e2f41a007..0544d7ab6 100644 --- a/skins/default/templates/compose.html +++ b/skins/default/templates/compose.html @@ -20,6 +20,13 @@ function rcmail_toggle_display(id) return false; } +function rcmail_auto_save() + { + rcmail.command('savedraft','',this); + self.setTimeout('rcmail_auto_save()',300000); + } +self.setTimeout('rcmail_auto_save()',300000); + //--> @@ -36,6 +43,7 @@ function rcmail_toggle_display(id) +
-- cgit v1.2.3