Mercurial > hg > rc1
diff plugins/advanced_search/config-default.inc.php @ 34:50ac5484d514
one fix to distro
author | Charlie Root |
---|---|
date | Sun, 27 May 2018 16:53:56 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/advanced_search/config-default.inc.php Sun May 27 16:53:56 2018 -0400 @@ -0,0 +1,45 @@ +<?php + +$rcmail_config['advanced_search_plugin'] = array( + // The menu where to place the advanced search button by default + 'target_menu' => 'messagemenu', + + // Every criteria which takes a email as argument + 'email_criteria' => array('HEADER FROM', 'HEADER TO', 'CC', 'BCC'), + + // Every criteria which takes a date as argument + 'date_criteria' => array('BEFORE', 'ON', 'SINCE', 'SENTBEFORE', 'SENTON', 'SENTSINCE'), + + // Every criteria which doesn't take an argument + 'flag_criteria' => array('ANSWERED', 'DELETED', 'DRAFT', 'FLAGGED', 'SEEN'), + + // Prefered criteria to show on the top of lists + 'prefered_criteria' => array('SUBJECT', 'BODY', 'HEADER FROM', 'HEADER TO', 'SENTSINCE', 'LARGER'), + + // Other criteria, anything not in the above lists, except 'prefered_criteria' + 'other_criteria' => array('SUBJECT', 'BODY', 'KEYWORD', 'LARGER', 'SMALLER'), + + // All filter criteria + 'criteria' => array( + 'ANSWERED' => 'Answered', + 'BCC' => 'Bcc', + 'BEFORE' => 'Before', + 'CC' => 'Cc', + 'DELETED' => 'Deleted', + 'DRAFT' => 'Draft', + 'FLAGGED' => 'Flagged', + 'KEYWORD' => 'Keyword', + 'LARGER' => 'Larger Than', + 'BODY' => 'Message Body', + 'ON' => 'On', + 'SEEN' => 'Read', + 'SENTBEFORE' => 'Sent Before', + 'HEADER FROM' => 'From', + 'SENTON' => 'Sent On', + 'SENTSINCE' => 'Sent Since', + 'HEADER TO' => 'To', + 'SINCE' => 'Since', + 'SMALLER' => 'Smaller Than', + 'SUBJECT' => 'Subject Contains' + ) +);