TYPO3 CMS  TYPO3_6-2
sys_language.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'label' => 'title',
5  'tstamp' => 'tstamp',
6  'default_sortby' => 'ORDER BY title',
7  'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_language',
8  'adminOnly' => 1,
9  'rootLevel' => 1,
10  'enablecolumns' => array(
11  'disabled' => 'hidden'
12  ),
13  'typeicon_classes' => array(
14  'default' => 'mimetypes-x-sys_language'
15  ),
16  'versioningWS_alwaysAllowLiveEdit' => TRUE
17  ),
18  'interface' => array(
19  'showRecordFieldList' => 'hidden,title'
20  ),
21  'columns' => array(
22  'title' => array(
23  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
24  'config' => array(
25  'type' => 'input',
26  'size' => '35',
27  'max' => '80',
28  'eval' => 'trim,required'
29  )
30  ),
31  'hidden' => array(
32  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
33  'exclude' => 1,
34  'config' => array(
35  'type' => 'check',
36  'default' => '0'
37  )
38  ),
39  'static_lang_isocode' => array(
40  'exclude' => 1,
41  'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_language.isocode',
42  'displayCond' => 'EXT:static_info_tables:LOADED:true',
43  'config' => array(
44  'type' => 'select',
45  'items' => array(
46  array('', 0)
47  ),
48  'foreign_table' => 'static_languages',
49  'foreign_table_where' => 'AND static_languages.pid=0 ORDER BY static_languages.lg_name_en',
50  'size' => 1,
51  'minitems' => 0,
52  'maxitems' => 1
53  )
54  ),
55  'flag' => array(
56  'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_language.flag',
57  'config' => array(
58  'type' => 'select',
59  'items' => array(
60  array('', 0, '')
61  ),
62  'selicon_cols' => 16,
63  'size' => 1,
64  'minitems' => 0,
65  'maxitems' => 1
66  )
67  )
68  ),
69  'types' => array(
70  '1' => array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,static_lang_isocode,flag')
71  )
72 );