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