summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_imap.inc
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-04 20:28:01 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-04 20:28:01 +0000
commit083b33000fa063e11863e0b1f68e586adf4e1384 (patch)
treed16389e4933e5a657d30f9084b351f73e25cbd52 /roundcubemail/program/include/rcube_imap.inc
parent3b931f067e057d72ab715bca65975875223dab0e (diff)
Added new languages, hierarchical folder tree and attachments in forwarded messages
git-svn-id: https://svn.roundcube.net/trunk@20 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.inc')
-rw-r--r--roundcubemail/program/include/rcube_imap.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_imap.inc b/roundcubemail/program/include/rcube_imap.inc
index e74321418..127409dc8 100644
--- a/roundcubemail/program/include/rcube_imap.inc
+++ b/roundcubemail/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='*')