TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
sys_template.php
Go to the documentation of this file.
1
<?php
2
return
array(
3
'ctrl'
=> array(
4
'label'
=>
'title'
,
5
'tstamp'
=>
'tstamp'
,
6
'sortby'
=>
'sorting'
,
7
'prependAtCopy'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy'
,
8
'title'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template'
,
9
'versioningWS'
=> TRUE,
10
'origUid'
=>
't3_origuid'
,
11
'crdate'
=>
'crdate'
,
12
'cruser_id'
=>
'cruser_id'
,
13
'delete'
=>
'deleted'
,
14
'adminOnly'
=> 1,
15
// Only admin, if any
16
'iconfile'
=>
'template.gif'
,
17
'enablecolumns'
=> array(
18
'disabled'
=>
'hidden'
,
19
'starttime'
=>
'starttime'
,
20
'endtime'
=>
'endtime'
21
),
22
'typeicon_column'
=>
'root'
,
23
'typeicon_classes'
=> array(
24
'default'
=>
'mimetypes-x-content-template-extension'
,
25
'1'
=>
'mimetypes-x-content-template'
26
),
27
'typeicons'
=> array(
28
'0'
=>
'template_add.gif'
29
),
30
'dividers2tabs'
=> 1,
31
'searchFields'
=>
'title,constants,config'
32
),
33
'interface'
=> array(
34
'showRecordFieldList'
=>
'title,clear,root,basedOn,nextLevel,sitetitle,description,hidden,starttime,endtime'
35
),
36
'columns'
=> array(
37
'title'
=> array(
38
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.title'
,
39
'config'
=> array(
40
'type'
=>
'input'
,
41
'size'
=>
'25'
,
42
'max'
=>
'256'
,
43
'eval'
=>
'required'
44
)
45
),
46
'hidden'
=> array(
47
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.disable'
,
48
'exclude'
=> 1,
49
'config'
=> array(
50
'type'
=>
'check'
,
51
'default'
=>
'0'
52
)
53
),
54
'starttime'
=> array(
55
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.starttime'
,
56
'exclude'
=> 1,
57
'config'
=> array(
58
'type'
=>
'input'
,
59
'size'
=>
'13'
,
60
'max'
=>
'20'
,
61
'eval'
=>
'datetime'
,
62
'default'
=>
'0'
63
)
64
),
65
'endtime'
=> array(
66
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.endtime'
,
67
'exclude'
=> 1,
68
'config'
=> array(
69
'type'
=>
'input'
,
70
'size'
=>
'13'
,
71
'max'
=>
'20'
,
72
'eval'
=>
'datetime'
,
73
'default'
=>
'0'
,
74
'range'
=> array(
75
'upper'
=> mktime(0, 0, 0, 12, 31, 2020)
76
)
77
)
78
),
79
'root'
=> array(
80
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.root'
,
81
'config'
=> array(
82
'type'
=>
'check'
83
)
84
),
85
'clear'
=> array(
86
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.clear'
,
87
'config'
=> array(
88
'type'
=>
'check'
,
89
'items'
=> array(
90
array(
'Constants'
,
''
),
91
array(
'Setup'
,
''
)
92
),
93
'cols'
=> 2
94
)
95
),
96
'sitetitle'
=> array(
97
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.sitetitle'
,
98
'config'
=> array(
99
'type'
=>
'input'
,
100
'size'
=>
'25'
,
101
'max'
=>
'256'
102
)
103
),
104
'constants'
=> array(
105
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.constants'
,
106
'config'
=> array(
107
'type'
=>
'text'
,
108
'cols'
=>
'48'
,
109
'rows'
=>
'10'
,
110
'wrap'
=>
'OFF'
,
111
'softref'
=>
'TStemplate,email[subst],url[subst]'
112
),
113
'defaultExtras'
=>
'fixed-font : enable-tab'
114
),
115
'nextLevel'
=> array(
116
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.nextLevel'
,
117
'config'
=> array(
118
'type'
=>
'group'
,
119
'internal_type'
=>
'db'
,
120
'allowed'
=>
'sys_template'
,
121
'show_thumbs'
=>
'1'
,
122
'size'
=>
'1'
,
123
'maxitems'
=>
'1'
,
124
'minitems'
=>
'0'
,
125
'default'
=>
''
,
126
'wizards'
=> array(
127
'suggest'
=> array(
128
'type'
=>
'suggest'
129
)
130
)
131
)
132
),
133
'include_static_file'
=> array(
134
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.include_static_file'
,
135
'config'
=> array(
136
'type'
=>
'select'
,
137
'size'
=> 10,
138
'maxitems'
=> 100,
139
'items'
=> array(),
140
'softref'
=>
'ext_fileref'
141
)
142
),
143
'basedOn'
=> array(
144
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.basedOn'
,
145
'config'
=> array(
146
'type'
=>
'group'
,
147
'internal_type'
=>
'db'
,
148
'allowed'
=>
'sys_template'
,
149
'show_thumbs'
=>
'1'
,
150
'size'
=>
'3'
,
151
'maxitems'
=>
'50'
,
152
'autoSizeMax'
=> 10,
153
'minitems'
=>
'0'
,
154
'default'
=>
''
,
155
'wizards'
=> array(
156
'_PADDING'
=> 4,
157
'_VERTICAL'
=> 1,
158
'suggest'
=> array(
159
'type'
=>
'suggest'
160
),
161
'edit'
=> array(
162
'type'
=>
'popup'
,
163
'title'
=>
'Edit template'
,
164
'module'
=> array(
165
'name'
=>
'wizard_edit'
,
166
),
167
'popup_onlyOpenIfSelected'
=> 1,
168
'icon'
=>
'edit2.gif'
,
169
'JSopenParams'
=>
'height=350,width=580,status=0,menubar=0,scrollbars=1'
170
),
171
'add'
=> array(
172
'type'
=>
'script'
,
173
'title'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.basedOn_add'
,
174
'icon'
=>
'add.gif'
,
175
'params'
=> array(
176
'table'
=>
'sys_template'
,
177
'pid'
=>
'###CURRENT_PID###'
,
178
'setValue'
=>
'prepend'
179
),
180
'module'
=> array(
181
'name'
=>
'wizard_add'
182
)
183
)
184
)
185
)
186
),
187
'includeStaticAfterBasedOn'
=> array(
188
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.includeStaticAfterBasedOn'
,
189
'exclude'
=> 1,
190
'config'
=> array(
191
'type'
=>
'check'
,
192
'default'
=>
'0'
193
)
194
),
195
'config'
=> array(
196
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.config'
,
197
'config'
=> array(
198
'type'
=>
'text'
,
199
'rows'
=> 10,
200
'cols'
=> 48,
201
'wrap'
=>
'OFF'
,
202
'softref'
=>
'TStemplate,email[subst],url[subst]'
203
),
204
'defaultExtras'
=>
'fixed-font : enable-tab'
205
),
206
'description'
=> array(
207
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.description'
,
208
'config'
=> array(
209
'type'
=>
'text'
,
210
'rows'
=> 5,
211
'cols'
=> 48
212
)
213
),
214
'static_file_mode'
=> array(
215
'label'
=>
'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode'
,
216
'config'
=> array(
217
'type'
=>
'select'
,
218
'items'
=> array(
219
array(
'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.0'
,
'0'
),
220
array(
'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.1'
,
'1'
),
221
array(
'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.2'
,
'2'
),
222
array(
'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.3'
,
'3'
)
223
),
224
'default'
=>
'0'
225
)
226
),
227
'tx_impexp_origuid'
=> array(
'config'
=> array(
'type'
=>
'passthrough'
)),
228
't3ver_label'
=> array(
229
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel'
,
230
'config'
=> array(
231
'type'
=>
'input'
,
232
'size'
=>
'30'
,
233
'max'
=>
'255'
234
)
235
)
236
),
237
'types'
=> array(
238
'1'
=> array(
'showitem'
=>
'
239
hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, description;;;;4-4-4,
240
--div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.options, clear, root, nextLevel,
241
--div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode,
242
--div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.access, starttime, endtime'
)
243
)
244
);
typo3
sysext
frontend
Configuration
TCA
sys_template.php
Generated on Wed Aug 7 2019 09:52:28 for TYPO3 CMS by
1.8.13