summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-04 20:28:01 +0000
committerthomascube <thomas@roundcube.net>2005-10-04 20:28:01 +0000
commit597170feb25f5c2e5a90a9c0b1fd62001f169afb (patch)
treebd34ef48a6c0003dcfbc2047e290f00fdd22fd3a /program/include/rcube_imap.inc
parent6dc0269fcc9f11fbd53da1fb647237ab73cf394d (diff)
Added new languages, hierarchical folder tree and attachments in forwarded messages
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r--program/include/rcube_imap.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index e74321418..127409dc8 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -35,6 +35,7 @@ class rcube_imap
var $mailbox = 'INBOX';
var $list_page = 1;
var $page_size = 10;
+ var $delimiter = NULL;
var $caching_enabled = FALSE;
var $default_folders = array('inbox', 'drafts', 'sent', 'junk', 'trash');
var $cache = array();
@@ -153,6 +154,14 @@ class rcube_imap
}
+ function get_hierarchy_delimiter()
+ {
+ if ($this->conn && empty($this->delimiter))
+ $this->delimiter = iil_C_GetHierarchyDelimiter($this->conn);
+
+ return $this->delimiter;
+ }
+
// public method for mailbox listing
// convert mailbox name with root dir first
function list_mailboxes($root='', $filter='*')