commit | author | age
|
f14188
|
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 |
|
16 |
$liste["name"] = "dns_a"; |
|
17 |
|
|
18 |
// Database table |
|
19 |
$liste["table"] = "dns_rr"; |
|
20 |
|
|
21 |
// Index index field of the database table |
|
22 |
$liste["table_idx"] = "id"; |
|
23 |
|
|
24 |
// Search Field Prefix |
|
25 |
$liste["search_prefix"] = "search_"; |
|
26 |
|
|
27 |
// Records per page |
a2e66c
|
28 |
$liste["records_per_page"] = "15"; |
f14188
|
29 |
|
T |
30 |
// Script File of the list |
|
31 |
$liste["file"] = "dns_a_list.php"; |
|
32 |
|
|
33 |
// Script file of the edit form |
|
34 |
$liste["edit_file"] = "dns_a_edit.php"; |
|
35 |
|
|
36 |
// Script File of the delete script |
|
37 |
$liste["delete_file"] = "dns_a_del.php"; |
|
38 |
|
|
39 |
// Paging Template |
|
40 |
$liste["paging_tpl"] = "templates/paging.tpl.htm"; |
|
41 |
|
|
42 |
// Enable auth |
|
43 |
$liste["auth"] = "yes"; |
|
44 |
|
|
45 |
|
|
46 |
/***************************************************** |
|
47 |
* Suchfelder |
|
48 |
*****************************************************/ |
|
49 |
|
|
50 |
|
|
51 |
$liste["item"][] = array( 'field' => "active", |
|
52 |
'datatype' => "VARCHAR", |
|
53 |
'formtype' => "SELECT", |
|
54 |
'op' => "=", |
|
55 |
'prefix' => "", |
|
56 |
'suffix' => "", |
|
57 |
'width' => "", |
f7fcee
|
58 |
'value' => array('Y' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>",'N' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>")); |
f14188
|
59 |
|
T |
60 |
|
|
61 |
$liste["item"][] = array( 'field' => "server_id", |
|
62 |
'datatype' => "VARCHAR", |
|
63 |
'formtype' => "SELECT", |
|
64 |
'op' => "like", |
|
65 |
'prefix' => "%", |
|
66 |
'suffix' => "%", |
|
67 |
'datasource' => array ( 'type' => 'SQL', |
|
68 |
'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name', |
|
69 |
'keyfield'=> 'server_id', |
|
70 |
'valuefield'=> 'server_name' |
|
71 |
), |
|
72 |
'width' => "", |
|
73 |
'value' => ""); |
|
74 |
|
|
75 |
$liste["item"][] = array( 'field' => "zone", |
|
76 |
'datatype' => "VARCHAR", |
|
77 |
'formtype' => "SELECT", |
|
78 |
'op' => "like", |
|
79 |
'prefix' => "%", |
|
80 |
'suffix' => "%", |
|
81 |
'datasource' => array ( 'type' => 'SQL', |
|
82 |
'querystring' => 'SELECT id,origin FROM dns_soa WHERE {AUTHSQL} ORDER BY origin', |
|
83 |
'keyfield'=> 'id', |
|
84 |
'valuefield'=> 'origin' |
|
85 |
), |
|
86 |
'width' => "", |
|
87 |
'value' => ""); |
|
88 |
|
|
89 |
$liste["item"][] = array( 'field' => "name", |
|
90 |
'datatype' => "VARCHAR", |
|
91 |
'formtype' => "TEXT", |
|
92 |
'op' => "like", |
|
93 |
'prefix' => "%", |
|
94 |
'suffix' => "%", |
|
95 |
'width' => "", |
|
96 |
'value' => ""); |
|
97 |
|
ea3796
|
98 |
$liste["item"][] = array( 'field' => "data", |
T |
99 |
'datatype' => "VARCHAR", |
|
100 |
'formtype' => "TEXT", |
|
101 |
'op' => "like", |
|
102 |
'prefix' => "%", |
|
103 |
'suffix' => "%", |
|
104 |
'width' => "", |
|
105 |
'value' => ""); |
|
106 |
|
a3ec01
|
107 |
$liste["item"][] = array( 'field' => "aux", |
T |
108 |
'datatype' => "VARCHAR", |
|
109 |
'formtype' => "TEXT", |
|
110 |
'op' => "like", |
|
111 |
'prefix' => "%", |
|
112 |
'suffix' => "%", |
|
113 |
'width' => "", |
|
114 |
'value' => ""); |
|
115 |
|
f14188
|
116 |
|
T |
117 |
$liste["item"][] = array( 'field' => "type", |
|
118 |
'datatype' => "VARCHAR", |
|
119 |
'formtype' => "SELECT", |
|
120 |
'op' => "like", |
|
121 |
'prefix' => "", |
|
122 |
'suffix' => "", |
|
123 |
'width' => "", |
830d11
|
124 |
'value' => array('A'=>'A','AAAA' => 'AAAA','ALIAS'=>'ALIAS','CNAME'=>'CNAME','HINFO'=>'HINFO','MX'=>'MX','NS'=>'NS','PTR'=>'PTR','RP'=>'RP','SRV'=>'SRV','TXT'=>'TXT')); |
f14188
|
125 |
|
T |
126 |
|
|
127 |
?> |