| | |
| | | $result = array('reload' => false, 'update' => false, 'errors' => array()); |
| | | $folders = array(); |
| | | $uids = rcube_utils::get_input_value('_uid', RCUBE_INPUT_POST); |
| | | $search_request = get_input_value('_search', RCUBE_INPUT_GPC); |
| | | |
| | | if ($uids == '*') { |
| | | $index = $storage->index(null, rcmail_sort_column(), rcmail_sort_order()); |
| | |
| | | $rcmail->output->show_message($this->gettext('archived'), 'confirmation'); |
| | | } |
| | | |
| | | // refresh saved search set after moving some messages |
| | | if ($search_request && $rcmail->storage->get_search_set()) { |
| | | $_SESSION['search'] = $rcmail->storage->refresh_search(); |
| | | } |
| | | |
| | | if ($_POST['_from'] == 'show' && !empty($result['update'])) { |
| | | if ($next = get_input_value('_next_uid', RCUBE_INPUT_GPC)) { |
| | | $rcmail->output->command('show_message', $next); |