34
|
1 <?php
|
|
2
|
|
3 $rcmail_config['advanced_search_plugin'] = array(
|
|
4 // The menu where to place the advanced search button by default
|
|
5 'target_menu' => 'messagemenu',
|
|
6
|
|
7 // Every criteria which takes a email as argument
|
|
8 'email_criteria' => array('HEADER FROM', 'HEADER TO', 'CC', 'BCC'),
|
|
9
|
|
10 // Every criteria which takes a date as argument
|
|
11 'date_criteria' => array('BEFORE', 'ON', 'SINCE', 'SENTBEFORE', 'SENTON', 'SENTSINCE'),
|
|
12
|
|
13 // Every criteria which doesn't take an argument
|
|
14 'flag_criteria' => array('ANSWERED', 'DELETED', 'DRAFT', 'FLAGGED', 'SEEN'),
|
|
15
|
|
16 // Prefered criteria to show on the top of lists
|
|
17 'prefered_criteria' => array('SUBJECT', 'BODY', 'HEADER FROM', 'HEADER TO', 'SENTSINCE', 'LARGER'),
|
|
18
|
|
19 // Other criteria, anything not in the above lists, except 'prefered_criteria'
|
|
20 'other_criteria' => array('SUBJECT', 'BODY', 'KEYWORD', 'LARGER', 'SMALLER'),
|
|
21
|
|
22 // All filter criteria
|
|
23 'criteria' => array(
|
|
24 'ANSWERED' => 'Answered',
|
|
25 'BCC' => 'Bcc',
|
|
26 'BEFORE' => 'Before',
|
|
27 'CC' => 'Cc',
|
|
28 'DELETED' => 'Deleted',
|
|
29 'DRAFT' => 'Draft',
|
|
30 'FLAGGED' => 'Flagged',
|
|
31 'KEYWORD' => 'Keyword',
|
|
32 'LARGER' => 'Larger Than',
|
|
33 'BODY' => 'Message Body',
|
|
34 'ON' => 'On',
|
|
35 'SEEN' => 'Read',
|
|
36 'SENTBEFORE' => 'Sent Before',
|
|
37 'HEADER FROM' => 'From',
|
|
38 'SENTON' => 'Sent On',
|
|
39 'SENTSINCE' => 'Sent Since',
|
|
40 'HEADER TO' => 'To',
|
|
41 'SINCE' => 'Since',
|
|
42 'SMALLER' => 'Smaller Than',
|
|
43 'SUBJECT' => 'Subject Contains'
|
|
44 )
|
|
45 );
|