From f46626aaf2426cb1374628c8c4194c64bc716fd6 Mon Sep 17 00:00:00 2001 From: robin Date: Thu, 26 Jul 2007 12:13:34 +0000 Subject: Move folder rendering functions so they can be used in the settings section. git-svn-id: https://svn.roundcube.net/trunk@652 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 217 +----------------------------- 1 file changed, 1 insertion(+), 216 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 4267b48fe..8c5f987c3 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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