Marius Cramer
2015-08-06 37b29231e47a0c4458dc1c15d98588f16f07e1e2
commit | author | age
b17cc6 1 <?php
F 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"]     = "client_circle";
b17cc6 17
F 18 // Database table
b1a6a5 19 $liste["table"]    = "client_circle";
b17cc6 20
F 21 // Index index field of the database table
b1a6a5 22 $liste["table_idx"]   = "circle_id";
b17cc6 23
F 24 // Search Field Prefix
b1a6a5 25 $liste["search_prefix"]  = "search_";
b17cc6 26
F 27 // Records per page
b1a6a5 28 $liste["records_per_page"]  = "15";
b17cc6 29
F 30 // Script File of the list
b1a6a5 31 $liste["file"]    = "client_circle_list.php";
b17cc6 32
F 33 // Script file of the edit form
b1a6a5 34 $liste["edit_file"]   = "client_circle_edit.php";
b17cc6 35
F 36 // Script File of the delete script
b1a6a5 37 $liste["delete_file"]  = "client_circle_del.php";
b17cc6 38
F 39 // Paging Template
b1a6a5 40 $liste["paging_tpl"]  = "templates/paging.tpl.htm";
b17cc6 41
F 42 // Enable authe
b1a6a5 43 $liste["auth"]    = "yes";
b17cc6 44
F 45
46 /*****************************************************
47 * Suchfelder
48 *****************************************************/
49
b1a6a5 50 $liste["item"][] = array( 'field'  => "circle_id",
MC 51     'datatype' => "INTEGER",
52     'formtype' => "TEXT",
53     'op'  => "=",
54     'prefix' => "",
55     'suffix' => "",
56     'width'  => "",
57     'value'  => "");
b17cc6 58
b1a6a5 59 $liste["item"][] = array( 'field'  => "active",
MC 60     'datatype' => "VARCHAR",
61     'formtype' => "SELECT",
62     'op'  => "=",
63     'prefix' => "",
64     'suffix' => "",
65     'width'  => "",
2c408f 66     '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>"));
b17cc6 67
b1a6a5 68 $liste["item"][] = array( 'field'  => "circle_name",
MC 69     'datatype' => "VARCHAR",
70     'formtype' => "TEXT",
71     'op'  => "like",
72     'prefix' => "%",
73     'suffix' => "%",
74     'width'  => "",
75     'value'  => "");
b17cc6 76
b1a6a5 77 $liste["item"][] = array( 'field'  => "description",
MC 78     'datatype' => "VARCHAR",
79     'formtype' => "TEXT",
80     'op'  => "like",
81     'prefix' => "%",
82     'suffix' => "%",
83     'width'  => "",
84     'value'  => "");
85
86 ?>