-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtca.php
executable file
·163 lines (162 loc) · 4.51 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?php
if (!defined ("TYPO3_MODE")) die ("Access denied.");
$TCA["tx_veguestbook_entries"] = Array (
"ctrl" => $TCA["tx_veguestbook_entries"]["ctrl"],
"interface" => Array (
"showRecordFieldList" => "hidden,sys_language_uid,firstname,surname,email,homepage,place,entry,entrycomment,remote_addr"
),
"feInterface" => $TCA["tx_veguestbook_entries"]["feInterface"],
"columns" => Array (
"hidden" => Array (
"exclude" => 1,
"label" => "LLL:EXT:lang/locallang_general.php:LGL.hidden",
"config" => Array (
"type" => "check",
"default" => "0"
)
),
'sys_language_uid' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
'config' => Array (
'type' => 'select',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => Array(
Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
)
)
),
'crdate' => Array (
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.crdate",
'config' => Array (
'type' => 'input',
'size' => '10',
'max' => '20',
'eval' => 'datetime',
'checkbox' => '0',
'default' => '0'
)
),
'tstamp' => Array (
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.tstamp",
'config' => Array (
'type' => 'input',
'size' => '10',
'max' => '20',
'eval' => 'datetime',
'checkbox' => '0',
'default' => '0'
)
),
"firstname" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.firstname",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "25",
"eval" => "trim",
)
),
"surname" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.surname",
"config" => Array (
"type" => "input",
"size" => "48",
"eval" => "trim",
)
),
"email" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.email",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "50",
"eval" => "trim",
)
),
"homepage" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.homepage",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "2083",
"wizards" => Array(
"_PADDING" => 2,
"link" => Array(
"type" => "popup",
"title" => "Link",
"icon" => "link_popup.gif",
"script" => "browse_links.php?mode=wizard",
"JSopenParams" => "height=300,width=500,status=0,menubar=0,scrollbars=1"
),
),
"eval" => "trim",
)
),
"place" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.place",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "50",
"eval" => "trim",
)
),
"entry" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.entry",
"config" => Array (
"type" => "text",
"cols" => "30",
"rows" => "5",
)
),
"entrycomment" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.entrycomment",
"config" => Array (
"type" => "text",
"cols" => "30",
"rows" => "5",
)
),
"remote_addr" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.remote_addr",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "50",
"eval" => "trim",
)
),
"uid_tt_news" => Array (
"exclude" => 0,
"label" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries.uid_tt_news",
"config" => Array (
"type" => "input",
"size" => "30",
"max" => "50",
"eval" => "trim",
)
),
),
"types" => Array (
"0" => Array("showitem" => "hidden;;1;;1-1-1, sys_language_uid, crdate, tstamp, firstname, surname, email, homepage, place, entry, entrycomment, remote_addr;")
),
"palettes" => Array (
"1" => Array("showitem" => "")
)
);
?>