alecpl
2010-03-19 63ab02a9f219f1e03ca47df57bae5bf0c9016e74
plugins/archive/archive.php
@@ -110,12 +110,19 @@
  function prefs_table($args)
  {
    global $CURR_SECTION;
    if ($args['section'] == 'folders') {
      $this->add_texts('localization');
      $rcmail = rcmail::get_instance();
      $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true,
        'maxlength' => 30, 'exceptions' => array('INBOX')));
      // load folders list when needed
      if ($CURR_SECTION)
        $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true,
          'maxlength' => 30, 'exceptions' => array('INBOX')));
      else
        $select = new html_select();
      $args['blocks']['main']['options']['archive_mbox'] = array(
          'title' => $this->gettext('archivefolder'),