This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tca.php
124 lines (119 loc) · 3.84 KB
/
tca.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
/**
* This is a file of the caretaker project.
* Copyright 2008 by n@work Internet Informationssystem GmbH (www.work.de)
*
* @Author Thomas Hempel <[email protected]>
* @Author Martin Ficzel <[email protected]>
* @Author Tobias Liebig <[email protected]>
* @Author Christopher Hlubek <[email protected]>
* @Author Patrick Kollodzik <[email protected]>
*
* $$Id: tca.php 46 2008-06-19 16:09:17Z martin $$
*/
if (!defined ('TYPO3_MODE')) die ('Access denied.');
$TCA['tx_caretakerselenium_server'] = array (
'ctrl' => $TCA['tx_caretakerselenium_server']['ctrl'],
'interface' => array (
'showRecordFieldList' => 'hidden,exec_interval,testservice,testconf,name,last_exec'
),
'feInterface' => $TCA['tx_caretakerselenium_server']['feInterface'],
'columns' => Array (
'hidden' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
'config' => Array (
'type' => 'check',
'default' => '0'
),
),
'starttime' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
'config' => Array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'default' => '0',
'checkbox' => '0'
)
),
'endtime' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
'config' => Array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'date',
'checkbox' => '0',
'default' => '0',
'range' => Array (
'upper' => mktime(0,0,0,12,31,2020),
'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
)
)
),
'fe_group' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
'config' => Array (
'type' => 'select',
'items' => Array (
Array('', 0),
Array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
Array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
Array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--')
),
'foreign_table' => 'fe_groups'
)
),
'title' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:caretaker_selenium/locallang_db.xml:tx_caretakerselenium_server.title',
'config' => Array (
'type' => 'input',
'size' => '30',
'eval' => 'trim',
)
),
'hostname' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:caretaker_selenium/locallang_db.xml:tx_caretakerselenium_server.hostname',
'config' => Array (
'type' => 'input',
'size' => '30',
'eval' => 'trim',
)
),
'browser' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:caretaker_selenium/locallang_db.xml:tx_caretakerselenium_server.browser',
'config' => Array (
'type' => 'input',
'size' => '30',
'eval' => 'trim',
)
),
'selftestInstanceUid' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:caretaker_selenium/locallang_db.xml:tx_caretakerselenium_server.selftestInstanceUid',
'config' => Array (
'type' => 'select',
'foreign_table' => 'tx_caretaker_instance',
'minitems' => 0,
'maxitems' => 1,
'size' => 1,
'default' => 0,
'items' => array ( array ('--none--' , 0) )
)
),
),
'types' => array (
'0' => array('showitem' => 'title;;1;;1-1-1, hostname, browser, selftestInstanceUid')
),
'palettes' => array (
'1' => array('showitem' => 'hidden, starttime,endtime,fe_group'),
)
);