- Prevent from setting INBOX as any of special folders (#1486114)
| | |
| | | CHANGELOG RoundCube Webmail |
| | | =========================== |
| | | |
| | | - Prevent from setting INBOX as any of special folders (#1486114) |
| | | - Fix regular expression for e-mail address (#1486152) |
| | | - Fix Received header format |
| | | - Implemented sorting by message index - added 'index_sort' option (#1485936) |
| | |
| | | $this->add_texts('localization'); |
| | | |
| | | $rcmail = rcmail::get_instance(); |
| | | $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30)); |
| | | $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, |
| | | 'maxlength' => 30, 'exceptions' => array('INBOX'))); |
| | | |
| | | $args['blocks']['main']['options']['archive_mbox'] = array( |
| | | 'title' => $this->gettext('archivefolder'), |
| | |
| | | { |
| | | global $RCMAIL; |
| | | |
| | | $p += array('maxlength' => 100, 'relanames' => false); |
| | | $p += array('maxlength' => 100, 'realnames' => false); |
| | | $a_mailboxes = array(); |
| | | |
| | | foreach ($RCMAIL->imap->list_mailboxes() as $folder) |
| | | rcmail_build_folder_tree($a_mailboxes, $folder, $RCMAIL->imap->get_hierarchy_delimiter()); |
| | | if (empty($p['exceptions']) || !in_array($folder, $p['exceptions'])) |
| | | rcmail_build_folder_tree($a_mailboxes, $folder, $RCMAIL->imap->get_hierarchy_delimiter()); |
| | | |
| | | $select = new html_select($p); |
| | | |
| | |
| | | // Configure special folders |
| | | if (!isset($no_override['default_imap_folders'])) { |
| | | $RCMAIL->imap_init(true); |
| | | $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30)); |
| | | $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, |
| | | 'maxlength' => 30, 'exceptions' => array('INBOX'))); |
| | | |
| | | if (!isset($no_override['drafts_mbox'])) |
| | | $blocks['main']['options']['drafts_mbox'] = array( |