commit | author | age
|
d78707
|
1 |
<?php |
L |
2 |
|
b1a6a5
|
3 |
$liste["name"] = "iptables"; |
MC |
4 |
$liste["table"] = "iptables"; |
|
5 |
$liste["table_idx"] = "iptables_id"; |
|
6 |
$liste["search_prefix"] = "search_"; |
|
7 |
$liste["records_per_page"] = "15"; |
|
8 |
$liste["file"] = "iptables_list.php"; |
|
9 |
$liste["edit_file"] = "iptables_edit.php"; |
|
10 |
$liste["delete_file"] = "iptables_del.php"; |
|
11 |
$liste["paging_tpl"] = "templates/paging.tpl.htm"; |
|
12 |
$liste["auth"] = "yes"; |
d78707
|
13 |
|
b1a6a5
|
14 |
$liste["item"][] = array( 'field' => "active", |
MC |
15 |
'datatype' => "VARCHAR", |
|
16 |
'formtype' => "SELECT", |
|
17 |
'op' => "=", |
|
18 |
'prefix' => "", |
|
19 |
'suffix' => "", |
|
20 |
'width' => "", |
2c408f
|
21 |
'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>")); |
d78707
|
22 |
|
b1a6a5
|
23 |
$liste["item"][] = array( 'field' => "server_id", |
2df826
|
24 |
'datatype' => "INTEGER", |
b1a6a5
|
25 |
'formtype' => "SELECT", |
2df826
|
26 |
'op' => "=", |
MC |
27 |
'prefix' => "", |
|
28 |
'suffix' => "", |
b1a6a5
|
29 |
'datasource' => array ( 'type' => "SQL", |
MC |
30 |
'querystring' => "SELECT server_id,server_name FROM server WHERE {AUTHSQL} AND db_server = 1 ORDER BY server_name", |
|
31 |
'keyfield'=> "server_id", |
|
32 |
'valuefield'=> "server_name"), |
|
33 |
'width' => "", |
|
34 |
'value' => ""); |
d78707
|
35 |
|
b1a6a5
|
36 |
$liste["item"][] = array( 'field' => "singleport", |
MC |
37 |
'datatype' => "VARCHAR", |
|
38 |
'formtype' => "TEXT", |
|
39 |
'op' => "=", |
|
40 |
'prefix' => "", |
|
41 |
'suffix' => "", |
|
42 |
'width' => "", |
|
43 |
'value' => ""); |
d78707
|
44 |
|
b1a6a5
|
45 |
$liste["item"][] = array( 'field' => "multiport", |
MC |
46 |
'datatype' => "VARCHAR", |
|
47 |
'formtype' => "TEXT", |
|
48 |
'op' => "=", |
|
49 |
'prefix' => "", |
|
50 |
'suffix' => "", |
|
51 |
'width' => "", |
|
52 |
'value' => ""); |
d78707
|
53 |
|
L |
54 |
$liste["item"][] = array( 'field' => "protocol", |
b1a6a5
|
55 |
'datatype' => "VARCHAR", |
MC |
56 |
'formtype' => "SELECT", |
|
57 |
'op' => "=", |
|
58 |
'prefix' => "", |
|
59 |
'suffix' => "", |
|
60 |
'width' => "", |
|
61 |
'value' => array('none'=>'None', 'tcp' => "TCP", 'udp' => "UDP")); |
d78707
|
62 |
|
L |
63 |
$liste["item"][] = array( 'field' => "table", |
b1a6a5
|
64 |
'datatype' => "VARCHAR", |
MC |
65 |
'formtype' => "SELECT", |
|
66 |
'op' => "=", |
|
67 |
'prefix' => "", |
|
68 |
'suffix' => "", |
|
69 |
'width' => "", |
|
70 |
'value' => array('INPUT' => "INPUT", 'OUTPUT' => "OUTPUT", 'FORWARD' => "FORWARD")); |
d78707
|
71 |
|
L |
72 |
$liste["item"][] = array( 'field' => "source_ip", |
b1a6a5
|
73 |
'datatype' => "VARCHAR", |
MC |
74 |
'formtype' => "TEXT", |
|
75 |
'op' => "like", |
|
76 |
'prefix' => "%", |
|
77 |
'suffix' => "%", |
|
78 |
'width' => "16", |
|
79 |
'value' => ""); |
d78707
|
80 |
|
L |
81 |
$liste["item"][] = array( 'field' => "destination_ip", |
b1a6a5
|
82 |
'datatype' => "VARCHAR", |
MC |
83 |
'formtype' => "TEXT", |
|
84 |
'op' => "like", |
|
85 |
'prefix' => "%", |
|
86 |
'suffix' => "%", |
|
87 |
'width' => "16", |
|
88 |
'value' => ""); |
d78707
|
89 |
|
b1a6a5
|
90 |
$liste["item"][] = array( 'field' => "target", |
MC |
91 |
'datatype' => "VARCHAR", |
|
92 |
'formtype' => "SELECT", |
|
93 |
'op' => "=", |
|
94 |
'prefix' => "", |
|
95 |
'suffix' => "", |
|
96 |
'width' => "", |
|
97 |
'value' => array('ACCEPT' => "ACCEPT", 'DROP' => "DROP", 'REJECT' => "REJECT", 'LOG' => "LOG")); |
d78707
|
98 |
|
b1a6a5
|
99 |
$liste["item"][] = array( 'field' => "state", |
MC |
100 |
'datatype' => "VARCHAR", |
|
101 |
'formtype' => "TEXT", |
|
102 |
'op' => "=", |
|
103 |
'prefix' => "", |
|
104 |
'suffix' => "", |
|
105 |
'width' => "", |
|
106 |
'value' => ""); |
|
107 |
?> |