Marius Cramer
2015-08-06 37b29231e47a0c4458dc1c15d98588f16f07e1e2
commit | author | age
532ae5 1 <?php
L 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"]    = "dns_template";
532ae5 17
L 18 // Database table
b1a6a5 19 $liste["table"]   = "dns_template";
532ae5 20
L 21 // Index index field of the database table
b1a6a5 22 $liste["table_idx"]  = "template_id";
532ae5 23
L 24 // Search Field Prefix
b1a6a5 25 $liste["search_prefix"]  = "search_";
532ae5 26
L 27 // Records per page
b1a6a5 28 $liste["records_per_page"]  = "15";
532ae5 29
L 30 // Script File of the list
b1a6a5 31 $liste["file"]   = "dns_template_list.php";
532ae5 32
L 33 // Script file of the edit form
b1a6a5 34 $liste["edit_file"]  = "dns_template_edit.php";
532ae5 35
L 36 // Script File of the delete script
b1a6a5 37 $liste["delete_file"]  = "dns_template_del.php";
532ae5 38
L 39 // Paging Template
b1a6a5 40 $liste["paging_tpl"]  = "templates/paging.tpl.htm";
532ae5 41
L 42 // Enable auth
b1a6a5 43 $liste["auth"]   = "yes";
532ae5 44
L 45
46 /*****************************************************
47 * Suchfelder
48 *****************************************************/
49
50
222ea2 51 $liste["item"][] = array(   'field'     => "visible",
b1a6a5 52     'datatype' => "VARCHAR",
MC 53     'formtype' => "SELECT",
54     'op' => "=",
55     'prefix' => "",
56     'suffix' => "",
57     'width' => "",
2c408f 58     '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>"));
532ae5 59
L 60
b1a6a5 61 $liste["item"][] = array(   'field' => "name",
MC 62     'datatype' => "VARCHAR",
63     'formtype' => "TEXT",
64     'op' => "like",
65     'prefix' => "%",
66     'suffix' => "%",
67     'width' => "",
68     'value' => "");
532ae5 69
b1a6a5 70 ?>