1- <?php
2- /*
3- Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
4- All rights reserved.
5-
6- Redistribution and use in source and binary forms, with or without modification,
7- are permitted provided that the following conditions are met:
8-
9- * Redistributions of source code must retain the above copyright notice,
10- this list of conditions and the following disclaimer.
11- * Redistributions in binary form must reproduce the above copyright notice,
12- this list of conditions and the following disclaimer in the documentation
13- and/or other materials provided with the distribution.
14- * Neither the name of ISPConfig nor the names of its contributors
15- may be used to endorse or promote products derived from this software without
16- specific prior written permission.
17-
18- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21- IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25- OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
27- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28- */
29-
30- /*
31- Datatypes:
32- - INTEGER
33- - DOUBLE
34- - CURRENCY
35- - VARCHAR
36- - TEXT
37- - DATE
38- */
39-
40-
41-
42- // Name of the list
43- $ liste ["name " ] = "rr " ;
44-
45- // Database table
46- $ liste ["table " ] = "rr " ;
47-
48- // Index index field of the database table
49- $ liste ["table_idx " ] = "id " ;
50-
51- // Search Field Prefix
52- $ liste ["search_prefix " ] = "search_ " ;
53-
54- // Records per page
55- $ liste ["records_per_page " ] = 15 ;
56-
57- // Script File of the list
58- $ liste ["file " ] = "rr_list.php " ;
59-
60- // Script file of the edit form
61- $ liste ["edit_file " ] = "rr_edit.php " ;
62-
63- // Script File of the delete script
64- $ liste ["delete_file " ] = "rr_del.php " ;
65-
66- // Paging Template
67- $ liste ["paging_tpl " ] = "templates/paging.tpl.htm " ;
68-
69- // Enable auth
70- $ liste ["auth " ] = "yes " ;
71-
72-
73- /*****************************************************
74- * Suchfelder
75- *****************************************************/
76- /*
77- $liste["item"][] = array( 'field' => "server_id",
78- 'datatype' => "VARCHAR",
79- 'formtype' => "TEXT",
80- 'op' => "like",
81- 'prefix' => "%",
82- 'suffix' => "%",
83- 'width' => "",
84- 'value' => "");
85- */
86- $ liste ["item " ][] = array ( 'field ' => "name " ,
87- 'datatype ' => "VARCHAR " ,
88- 'formtype ' => "TEXT " ,
89- 'op ' => "like " ,
90- 'prefix ' => "% " ,
91- 'suffix ' => "% " ,
92- 'width ' => "" ,
93- 'value ' => "" );
94-
95- $ liste ["item " ][] = array ( 'field ' => "type " ,
96- 'datatype ' => "VARCHAR " ,
97- 'formtype ' => "SELECT " ,
98- 'op ' => "= " ,
99- 'prefix ' => "" ,
100- 'suffix ' => "" ,
101- 'width ' => "" ,
102- 'value ' => array ('A ' => 'A ' , 'AAAA ' => 'AAAA ' , 'ALIAS ' => 'ALIAS ' , 'CNAME ' => 'CNAME ' , 'HINFO ' => 'HINFO ' , 'MX ' => 'MX ' , 'NS ' => 'NS ' , 'PTR ' => 'PTR ' , 'RP ' => 'RP ' , 'SRV ' => 'SRV ' , 'TXT ' => 'TXT ' ));
103-
104- $ liste ["item " ][] = array ( 'field ' => "data " ,
105- 'datatype ' => "VARCHAR " ,
106- 'formtype ' => "TEXT " ,
107- 'op ' => "like " ,
108- 'prefix ' => "% " ,
109- 'suffix ' => "% " ,
110- 'width ' => "" ,
111- 'value ' => "" );
112-
113- $ liste ["item " ][] = array ( 'field ' => "aux " ,
114- 'datatype ' => "INTEGER " ,
115- 'formtype ' => "TEXT " ,
116- 'op ' => "= " ,
117- 'prefix ' => "" ,
118- 'suffix ' => "" ,
119- 'width ' => "" ,
120- 'value ' => "" );
121-
122- $ liste ["item " ][] = array ( 'field ' => "ttl " ,
123- 'datatype ' => "INTEGER " ,
124- 'formtype ' => "TEXT " ,
125- 'op ' => "= " ,
126- 'prefix ' => "" ,
127- 'suffix ' => "" ,
128- 'width ' => "" ,
129- 'value ' => "" );
130-
1+ <?php
2+ /*
3+ Copyright (c) 2005, Till Brehm, Falko Timme, projektfarm Gmbh
4+ All rights reserved.
5+
6+ Redistribution and use in source and binary forms, with or without modification,
7+ are permitted provided that the following conditions are met:
8+
9+ * Redistributions of source code must retain the above copyright notice,
10+ this list of conditions and the following disclaimer.
11+ * Redistributions in binary form must reproduce the above copyright notice,
12+ this list of conditions and the following disclaimer in the documentation
13+ and/or other materials provided with the distribution.
14+ * Neither the name of ISPConfig nor the names of its contributors
15+ may be used to endorse or promote products derived from this software without
16+ specific prior written permission.
17+
18+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21+ IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
27+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28+ */
29+
30+ /*
31+ Datatypes:
32+ - INTEGER
33+ - DOUBLE
34+ - CURRENCY
35+ - VARCHAR
36+ - TEXT
37+ - DATE
38+ */
39+
40+
41+
42+ // Name of the list
43+ $ liste ["name " ] = "rr " ;
44+
45+ // Database table
46+ $ liste ["table " ] = "dns_rr " ;
47+
48+ // Index index field of the database table
49+ $ liste ["table_idx " ] = "id " ;
50+
51+ // Search Field Prefix
52+ $ liste ["search_prefix " ] = "search_ " ;
53+
54+ // Records per page
55+ $ liste ["records_per_page " ] = 15 ;
56+
57+ // Script File of the list
58+ $ liste ["file " ] = "rr_list.php " ;
59+
60+ // Script file of the edit form
61+ $ liste ["edit_file " ] = "rr_edit.php " ;
62+
63+ // Script File of the delete script
64+ $ liste ["delete_file " ] = "rr_del.php " ;
65+
66+ // Paging Template
67+ $ liste ["paging_tpl " ] = "templates/paging.tpl.htm " ;
68+
69+ // Enable auth
70+ $ liste ["auth " ] = "yes " ;
71+
72+
73+ /*****************************************************
74+ * Suchfelder
75+ *****************************************************/
76+ /*
77+ $liste["item"][] = array( 'field' => "server_id",
78+ 'datatype' => "VARCHAR",
79+ 'formtype' => "TEXT",
80+ 'op' => "like",
81+ 'prefix' => "%",
82+ 'suffix' => "%",
83+ 'width' => "",
84+ 'value' => "");
85+ */
86+ $ liste ["item " ][] = array ( 'field ' => "name " ,
87+ 'datatype ' => "VARCHAR " ,
88+ 'formtype ' => "TEXT " ,
89+ 'op ' => "like " ,
90+ 'prefix ' => "% " ,
91+ 'suffix ' => "% " ,
92+ 'width ' => "" ,
93+ 'value ' => "" );
94+
95+ $ liste ["item " ][] = array ( 'field ' => "type " ,
96+ 'datatype ' => "VARCHAR " ,
97+ 'formtype ' => "SELECT " ,
98+ 'op ' => "= " ,
99+ 'prefix ' => "" ,
100+ 'suffix ' => "" ,
101+ 'width ' => "" ,
102+ 'value ' => array ('A ' => 'A ' , 'AAAA ' => 'AAAA ' , 'ALIAS ' => 'ALIAS ' , 'CNAME ' => 'CNAME ' , 'HINFO ' => 'HINFO ' , 'MX ' => 'MX ' , 'NS ' => 'NS ' , 'PTR ' => 'PTR ' , 'RP ' => 'RP ' , 'SRV ' => 'SRV ' , 'TXT ' => 'TXT ' ));
103+
104+ $ liste ["item " ][] = array ( 'field ' => "data " ,
105+ 'datatype ' => "VARCHAR " ,
106+ 'formtype ' => "TEXT " ,
107+ 'op ' => "like " ,
108+ 'prefix ' => "% " ,
109+ 'suffix ' => "% " ,
110+ 'width ' => "" ,
111+ 'value ' => "" );
112+
113+ $ liste ["item " ][] = array ( 'field ' => "aux " ,
114+ 'datatype ' => "INTEGER " ,
115+ 'formtype ' => "TEXT " ,
116+ 'op ' => "= " ,
117+ 'prefix ' => "" ,
118+ 'suffix ' => "" ,
119+ 'width ' => "" ,
120+ 'value ' => "" );
121+
122+ $ liste ["item " ][] = array ( 'field ' => "ttl " ,
123+ 'datatype ' => "INTEGER " ,
124+ 'formtype ' => "TEXT " ,
125+ 'op ' => "= " ,
126+ 'prefix ' => "" ,
127+ 'suffix ' => "" ,
128+ 'width ' => "" ,
129+ 'value ' => "" );
130+
131131?>
0 commit comments