cron.list.php 3.22 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

/*
	Datatypes:
	- INTEGER
	- DOUBLE
	- CURRENCY
	- VARCHAR
	- TEXT
	- DATE
*/



// Name of the list
16
$liste["name"]     = "cron";
17
18

// Database table
19
$liste["table"]    = "cron";
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
28
$liste["records_per_page"]  = "15";
29
30

// Script File of the list
31
$liste["file"]    = "cron_list.php";
32
33

// Script file of the edit form
34
$liste["edit_file"]   = "cron_edit.php";
35
36

// Script File of the delete script
37
$liste["delete_file"]  = "cron_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
48
49
50


/*****************************************************
* Suchfelder
*****************************************************/


51
52
53
54
55
56
57
$liste["item"][] = array( 'field'  => "active",
	'datatype' => "VARCHAR",
	'formtype' => "SELECT",
	'op'  => "=",
	'prefix' => "",
	'suffix' => "",
	'width'  => "",
Marius Cramer's avatar
Marius Cramer committed
58
	'value'  => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('Yes')."</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('No')."</span></div>"));
59
60
61
62
63
64
65
66
67


$liste["item"][] = array( 'field'  => "server_id",
	'datatype' => "VARCHAR",
	'formtype' => "SELECT",
	'op'  => "like",
	'prefix' => "%",
	'suffix' => "%",
	'datasource' => array (  'type' => 'SQL',
68
		'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} AND mirror_server_id = 0 ORDER BY server_name',
69
70
71
72
73
		'keyfield'=> 'server_id',
		'valuefield'=> 'server_name'
	),
	'width'  => "",
	'value'  => "");
74
75

$liste["item"][] = array(   'field'     => "parent_domain_id",
76
77
78
79
80
81
82
83
84
85
86
87
	'datatype'  => "VARCHAR",
	'formtype'  => "SELECT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'datasource'    => array (  'type'  => 'SQL',
		'querystring' => "SELECT domain_id,domain FROM web_domain WHERE type = 'vhost' AND {AUTHSQL} ORDER BY domain",
		'keyfield'=> 'domain_id',
		'valuefield'=> 'domain'
	),
	'width'     => "",
	'value'     => "");
88
89

$liste["item"][] = array(   'field'     => "run_min",
90
91
92
93
94
95
96
	'datatype'  => "VARCHAR",
	'formtype'  => "TEXT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'width'     => "",
	'value'     => "");
97
98

$liste["item"][] = array(   'field'     => "run_hour",
99
100
101
102
103
104
105
	'datatype'  => "VARCHAR",
	'formtype'  => "TEXT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'width'     => "",
	'value'     => "");
106
107

$liste["item"][] = array(   'field'     => "run_mday",
108
109
110
111
112
113
114
	'datatype'  => "VARCHAR",
	'formtype'  => "TEXT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'width'     => "",
	'value'     => "");
115
116

$liste["item"][] = array(   'field'     => "run_month",
117
118
119
120
121
122
123
	'datatype'  => "VARCHAR",
	'formtype'  => "TEXT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'width'     => "",
	'value'     => "");
124
125

$liste["item"][] = array(   'field'     => "run_wday",
126
127
128
129
130
131
132
	'datatype'  => "VARCHAR",
	'formtype'  => "TEXT",
	'op'        => "=",
	'prefix'    => "",
	'suffix'    => "",
	'width'     => "",
	'value'     => "");
133
134


135
136
137
138
139
140
141
142
$liste["item"][] = array( 'field'  => "command",
	'datatype' => "VARCHAR",
	'formtype' => "TEXT",
	'op'  => "like",
	'prefix' => "%",
	'suffix' => "%",
	'width'  => "",
	'value'  => "");
143
144
145
146
147
148
149
150
151









152
?>