[TASK] Remove superfluous parenthesis in sysexts.
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 \TYPO3\CMS\Core\Extension\ExtensionManager::addUserTSConfig('
6 options.saveDocView = 1
7 options.saveDocNew = 1
8 options.saveDocNew.pages = 0
9 options.saveDocNew.pages_language_overlay = 1
10 ');
11 \TYPO3\CMS\Core\Extension\ExtensionManager::addPageTSConfig('
12 mod.wizards.newContentElement {
13 renderMode = tabs
14 wizardItems {
15 common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common
16 common.elements {
17 text {
18 icon = gfx/c_wiz/regular_text.gif
19 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_title
20 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_description
21 tt_content_defValues {
22 CType = text
23 }
24 }
25 textpic {
26 icon = gfx/c_wiz/text_image_right.gif
27 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_title
28 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_description
29 tt_content_defValues {
30 CType = textpic
31 imageorient = 17
32 }
33 }
34 image {
35 icon = gfx/c_wiz/images_only.gif
36 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_title
37 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_description
38 tt_content_defValues {
39 CType = image
40 imagecols = 2
41 }
42 }
43 bullets {
44 icon = gfx/c_wiz/bullet_list.gif
45 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_title
46 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_description
47 tt_content_defValues {
48 CType = bullets
49 }
50 }
51 table {
52 icon = gfx/c_wiz/table.gif
53 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_title
54 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_description
55 tt_content_defValues {
56 CType = table
57 }
58 }
59
60 }
61 common.show = text,textpic,image,bullets,table
62
63 special.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special
64 special.elements {
65 uploads {
66 icon = gfx/c_wiz/filelinks.gif
67 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_title
68 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_description
69 tt_content_defValues {
70 CType = uploads
71 }
72 }
73 multimedia {
74 icon = gfx/c_wiz/multimedia.gif
75 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_title
76 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_description
77 tt_content_defValues {
78 CType = multimedia
79 }
80 }
81 media {
82 icon = gfx/c_wiz/multimedia.gif
83 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_title
84 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_description
85 tt_content_defValues {
86 CType = media
87 }
88 }
89 menu {
90 icon = gfx/c_wiz/sitemap2.gif
91 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_menus_title
92 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_menus_description
93 tt_content_defValues {
94 CType = menu
95 menu_type = 0
96 }
97 }
98 html {
99 icon = gfx/c_wiz/html.gif
100 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_title
101 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_description
102 tt_content_defValues {
103 CType = html
104 }
105 }
106 div {
107 icon = gfx/c_wiz/div.gif
108 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_title
109 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_description
110 tt_content_defValues {
111 CType = div
112 }
113 }
114 shortcut {
115 icon = gfx/c_wiz/shortcut.gif
116 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_shortcut_title
117 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_shortcut_description
118 tt_content_defValues {
119 CType = shortcut
120 }
121 }
122
123 }
124 special.show = uploads,media,menu,html,div,shortcut
125
126 forms.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms
127 forms.elements {
128 mailform {
129 icon = gfx/c_wiz/mailform.gif
130 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_title
131 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_description
132 tt_content_defValues {
133 CType = mailform
134 bodytext (
135 # Example content:
136 Name: | *name = input,40 | Enter your name here
137 Email: | *email=input,40 |
138 Address: | address=textarea,40,5 |
139 Contact me: | tv=check | 1
140
141 |formtype_mail = submit | Send form!
142 |html_enabled=hidden | 1
143 |subject=hidden| This is the subject
144 )
145 }
146 }
147 search {
148 icon = gfx/c_wiz/searchform.gif
149 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_title
150 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_description
151 tt_content_defValues {
152 CType = search
153 }
154 }
155 }
156 forms.show = mailform,search
157
158 plugins.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins
159 plugins.elements {
160 general {
161 icon = gfx/c_wiz/user_defined.gif
162 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_title
163 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_description
164 tt_content_defValues.CType = list
165 }
166 }
167 plugins.show = *
168 }
169 }
170
171 ');
172 $TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
173 $TYPO3_CONF_VARS['FE']['eID_include']['tx_cms_showpic'] = 'EXT:cms/tslib/showpic.php';
174 $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
175 'title' => 'CMS Frontend',
176 'version' => 4000000,
177 'description' => '<ul>' . '<li><p>The extention simluatestatic has been removed in TYPO3 6.0</p></li>' . '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>' . '<p>Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"</p></li>' . '</ul>'
178 );
179 // Registering hooks for the treelist cache
180 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&TYPO3\\CMS\\Frontend\\Hooks\\TreelistCacheUpdateHooks';
181 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&TYPO3\\CMS\\Frontend\\Hooks\\TreelistCacheUpdateHooks';
182 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&TYPO3\\CMS\\Frontend\\Hooks\\TreelistCacheUpdateHooks';
183 if (TYPO3_MODE === 'FE') {
184 // Register the core media wizard provider
185 \TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderManager::registerMediaWizardProvider('TYPO3\\CMS\\Frontend\\MediaWizard\\MediaWizardProvider');
186 // Register eID provider for ExtDirect for the frontend
187 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['ExtDirect'] = PATH_tslib . 'extdirecteid.php';
188 }
189 // Register search keys
190 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
191 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['content'] = 'tt_content';
192 // Register hook to show preview info
193 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_previewInfo']['cms'] = 'EXT:cms/tslib/hooks/class.tx_cms_fehooks.php:TYPO3\\CMS\\Frontend\\Hooks\\FrontendHooks->hook_previewInfo';
194 ?>