- add 'Deleted' to search filter
| | |
| | | // False means that a message's read status is not affected by marking it as deleted |
| | | $rcmail_config['read_when_deleted'] = TRUE; |
| | | |
| | | // When a Trash folder is not present and a message is deleted, flag |
| | | // the message for deletion rather than deleting it immediately. Setting this to |
| | | // false causes deleted messages to be permanantly removed if there is no Trash folder |
| | | // Set to TRUE to newer delete messages immediately |
| | | // Use 'Purge' to remove messages marked as deleted |
| | | $rcmail_config['flag_for_deletion'] = FALSE; |
| | | |
| | | // Default interval for keep-alive/check-recent requests (in seconds) |
| | |
| | | $labels['unread'] = 'Unread'; |
| | | $labels['flagged'] = 'Flagged'; |
| | | $labels['unanswered'] = 'Unanswered'; |
| | | $labels['deleted'] = 'Deleted'; |
| | | $labels['invert'] = 'Invert'; |
| | | $labels['filter'] = 'Filter'; |
| | | $labels['compact'] = 'Compact'; |
| | |
| | | $messages['errorsaving'] = 'An error occurred while saving'; |
| | | $messages['errormoving'] = 'Could not move the message'; |
| | | $messages['errordeleting'] = 'Could not delete the message'; |
| | | $messages['errormarking'] = 'Could not mark the message'; |
| | | $messages['deletecontactconfirm'] = 'Do you really want to delete the selected contact(s)?'; |
| | | $messages['deletemessagesconfirm'] = 'Do you really want to delete the selected message(s)?'; |
| | | $messages['deletefolderconfirm'] = 'Do you really want to delete this folder?'; |
| | |
| | | $labels['unread'] = 'Unread'; |
| | | $labels['flagged'] = 'Flagged'; |
| | | $labels['unanswered'] = 'Unanswered'; |
| | | $labels['deleted'] = 'Deleted'; |
| | | $labels['invert'] = 'Invert'; |
| | | $labels['filter'] = 'Filter'; |
| | | |
| | |
| | | $messages['errorsaving'] = 'An error occured while saving'; |
| | | $messages['errormoving'] = 'Could not move the message'; |
| | | $messages['errordeleting'] = 'Could not delete the message'; |
| | | $messages['errormarking'] = 'Could not mark the message'; |
| | | $messages['deletecontactconfirm'] = 'Do you really want to delete the selected contact(s)?'; |
| | | $messages['deletemessagesconfirm'] = 'Do you really want to delete the selected message(s)?'; |
| | | $messages['deletefolderconfirm'] = 'Do you really want to delete this folder?'; |
| | |
| | | $labels['unread'] = 'Nieprzeczytane'; |
| | | $labels['flagged'] = 'Oznaczone'; |
| | | $labels['unanswered'] = 'Bez odpowiedzi'; |
| | | $labels['deleted'] = 'Usunięte'; |
| | | $labels['invert'] = 'Odwróć'; |
| | | $labels['filter'] = 'Filtr'; |
| | | $labels['compact'] = 'Porządkuj'; |
| | |
| | | $messages['errorsaving'] = 'Wystąpił błąd podczas zapisu!'; |
| | | $messages['errormoving'] = 'Nie można przenieść wybranej wiadomości!'; |
| | | $messages['errordeleting'] = 'Nie można usunąć wiadomości!'; |
| | | $messages['errormarking'] = 'Nie można oznaczyć wiadomości!'; |
| | | $messages['deletecontactconfirm'] = 'Czy na pewno chcesz usunąć wybrane kontakty?'; |
| | | $messages['deletemessagesconfirm'] = 'Czy na pewno chcesz usunąć wybrane wiadomości?'; |
| | | $messages['deletefolderconfirm'] = 'Czy na pewno chcesz usunąć wybrany folder?'; |
| | |
| | | |
| | | function rcmail_search_filter($attrib) |
| | | { |
| | | global $OUTPUT; |
| | | global $OUTPUT, $CONFIG; |
| | | |
| | | if (!strlen($attrib['id'])) |
| | | $attrib['id'] = 'rcmlistfilter'; |
| | |
| | | $select_filter->add(rcube_label('unread'), 'UNSEEN'); |
| | | $select_filter->add(rcube_label('flagged'), 'FLAGGED'); |
| | | $select_filter->add(rcube_label('unanswered'), 'UNANSWERED'); |
| | | if (!$CONFIG['skip_deleted']) |
| | | $select_filter->add(rcube_label('deleted'), 'DELETED'); |
| | | |
| | | $out = $select_filter->show($_SESSION['search_filter']); |
| | | |