From 93be5b7606ed7a85323732b074ce380ac06875b7 Mon Sep 17 00:00:00 2001 From: svncommit Date: Thu, 26 Jul 2007 12:13:34 +0000 Subject: Move folder rendering functions so they can be used in the settings section. --- program/steps/mail/func.inc | 217 +------------------------------------------- 1 file changed, 1 insertion(+), 216 deletions(-) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 4267b48fe..8c5f987c3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -76,221 +76,6 @@ if (!$OUTPUT->ajax_call) rcube_add_label('checkingmail'); -// return the mailboxlist in HTML -function rcmail_mailbox_list($attrib) - { - global $IMAP, $CONFIG, $OUTPUT, $COMM_PATH; - static $s_added_script = FALSE; - static $a_mailboxes; - - // add some labels to client - rcube_add_label('purgefolderconfirm'); - rcube_add_label('deletemessagesconfirm'); - -// $mboxlist_start = rcube_timer(); - - $type = $attrib['type'] ? $attrib['type'] : 'ul'; - $add_attrib = $type=='select' ? array('style', 'class', 'id', 'name', 'onchange') : - array('style', 'class', 'id'); - - if ($type=='ul' && !$attrib['id']) - $attrib['id'] = 'rcmboxlist'; - - // allow the following attributes to be added to the