summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-05-01 15:49:51 +0000
committersvncommit <devs@roundcube.net>2006-05-01 15:49:51 +0000
commit4b3af37c354cb8f99f22396c4e55e1619dba3cb3 (patch)
tree9c038102b28151ec1604f54fd1d08bc9a9a50ed1
parent6204390af16bcf50f82da61a1aefc2ad0c0adf94 (diff)
Added new delete behavior options.
-rw-r--r--config/main.inc.php.dist11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 8a60bc6cd..2a0635c74 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -132,6 +132,15 @@ $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk'
// This will make the application run slower
$rcmail_config['skip_deleted'] = FALSE;
+// Set true to Mark deleted messages as read as well as deleted
+// False means that a message's read status is not affected by marking it as deleted
+$rcmail_config['read_when_deleted'] = TRUE;
+
+// When a Trash folder is not present and a message is deleted, flag
+// the message for deletion rather than deleting it immediately. Setting this to
+// false causes deleted messages to be permanantly removed if there is no Trash folder
+$rcmail_config['flag_for_deletion'] = TRUE;
+
// path to a text file which will be added to each sent message
// paths are relative to the RoundCube root folder
$rcmail_config['generic_message_footer'] = '';
@@ -180,6 +189,8 @@ $rcmail_config['message_sort_col'] = 'date';
// default sort order
$rcmail_config['message_sort_order'] = 'DESC';
+// list of configuration option names that need to be available in Javascript.
+$rcmail_config['javascript_config'] = array('read_when_deleted', 'flag_for_deletion');
/***** try to load host-specific configuration *****/