Marius Burkard
2016-07-01 49441bdd0f3ff75d5092d5b832b97ea722a66363
commit | author | age
e22f1e 1 <?php
T 2
3 /*
4     Datatypes:
5     - INTEGER
6     - DOUBLE
7     - CURRENCY
8     - VARCHAR
9     - TEXT
10     - DATE
11 */
12
13
14
15 // Name of the list
b1a6a5 16 $liste["name"]     = "mail_blacklist";
e22f1e 17
T 18 // Database table
b1a6a5 19 $liste["table"]    = "mail_access";
e22f1e 20
T 21 // Index index field of the database table
b1a6a5 22 $liste["table_idx"]   = "access_id";
e22f1e 23
T 24 // Search Field Prefix
b1a6a5 25 $liste["search_prefix"]  = "search_";
e22f1e 26
T 27 // Records per page
b1a6a5 28 $liste["records_per_page"]  = "15";
e22f1e 29
T 30 // Script File of the list
b1a6a5 31 $liste["file"]    = "mail_blacklist_list.php";
e22f1e 32
T 33 // Script file of the edit form
b1a6a5 34 $liste["edit_file"]   = "mail_blacklist_edit.php";
e22f1e 35
T 36 // Script File of the delete script
b1a6a5 37 $liste["delete_file"]  = "mail_blacklist_del.php";
e22f1e 38
T 39 // Paging Template
b1a6a5 40 $liste["paging_tpl"]  = "templates/paging.tpl.htm";
e22f1e 41
T 42 // Enable auth
b1a6a5 43 $liste["auth"]    = "yes";
e22f1e 44
T 45
46 /*****************************************************
47 * Suchfelder
48 *****************************************************/
49
b1a6a5 50 $liste["item"][] = array( 'field'  => "active",
MC 51     'datatype' => "VARCHAR",
52     'formtype' => "SELECT",
53     'op'  => "=",
54     'prefix' => "",
55     'suffix' => "",
56     'width'  => "",
0ea7b9 57     'value'  => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('yes_txt')."</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('no_txt')."</span></div>"));
08caf7 58
e22f1e 59
T 60
b1a6a5 61 $liste["item"][] = array( 'field'  => "server_id",
MC 62     'datatype' => "VARCHAR",
63     'formtype' => "SELECT",
64     'op'  => "like",
65     'prefix' => "%",
66     'suffix' => "%",
67     'datasource' => array (  'type' => 'SQL',
aff9ac 68         'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} AND mirror_server_id = 0 ORDER BY server_name',
b1a6a5 69         'keyfield'=> 'server_id',
MC 70         'valuefield'=> 'server_name'
71     ),
72     'width'  => "",
73     'value'  => "");
e22f1e 74
b1a6a5 75 $liste["item"][] = array( 'field'  => "source",
MC 76     'datatype' => "VARCHAR",
77     'formtype' => "TEXT",
78     'op'  => "like",
79     'prefix' => "%",
80     'suffix' => "%",
81     'width'  => "",
82     'value'  => "");
e22f1e 83
T 84
b1a6a5 85 $liste["item"][] = array( 'field'  => "type",
MC 86     'datatype' => "VARCHAR",
87     'formtype' => "SELECT",
88     'op'  => "=",
89     'prefix' => "",
90     'suffix' => "",
91     'width'  => "",
92     'value'  => array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client'));
45f11e 93
e22f1e 94
b1a6a5 95 ?>