Fixed bug #12613: Wrong character encoding in cache tables breaks frontend rendering
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / ext_localconf.php
1 <?php
2 # TYPO3 SVN ID: $Id$
3 if (!defined ('TYPO3_MODE')) die ('Access denied.');
4
5 t3lib_extMgm::addUserTSConfig('
6 options.saveDocNew.pages = 0
7 options.saveDocNew.pages_language_overlay = 0
8 ');
9
10 t3lib_extMgm::addPageTSConfig('
11 mod.wizards.newContentElement.wizardItems {
12 common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common
13 common.elements {
14 text {
15 icon = gfx/c_wiz/regular_text.gif
16 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_title
17 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_description
18 tt_content_defValues {
19 CType = text
20 }
21 }
22 textpic {
23 icon = gfx/c_wiz/text_image_right.gif
24 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_title
25 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_description
26 tt_content_defValues {
27 CType = textpic
28 imageorient = 17
29 }
30 }
31 image {
32 icon = gfx/c_wiz/images_only.gif
33 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_title
34 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_imagesOnly_description
35 tt_content_defValues {
36 CType = image
37 imagecols = 2
38 }
39 }
40 bullets {
41 icon = gfx/c_wiz/bullet_list.gif
42 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_title
43 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_bulletList_description
44 tt_content_defValues {
45 CType = bullets
46 }
47 }
48 table {
49 icon = gfx/c_wiz/table.gif
50 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_title
51 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_table_description
52 tt_content_defValues {
53 CType = table
54 }
55 }
56
57 }
58 common.show = text,textpic,image,bullets,table
59
60 special.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special
61 special.elements {
62 uploads {
63 icon = gfx/c_wiz/filelinks.gif
64 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_title
65 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_filelinks_description
66 tt_content_defValues {
67 CType = uploads
68 }
69 }
70 multimedia {
71 icon = gfx/c_wiz/multimedia.gif
72 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_title
73 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_multimedia_description
74 tt_content_defValues {
75 CType = multimedia
76 }
77 }
78 media {
79 icon = gfx/c_wiz/multimedia.gif
80 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_title
81 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_media_description
82 tt_content_defValues {
83 CType = media
84 }
85 }
86 menu {
87 icon = gfx/c_wiz/sitemap2.gif
88 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_sitemap_title
89 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_sitemap_description
90 tt_content_defValues {
91 CType = menu
92 menu_type = 2
93 }
94 }
95 html {
96 icon = gfx/c_wiz/html.gif
97 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_title
98 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_plainHTML_description
99 tt_content_defValues {
100 CType = html
101 }
102 }
103 div {
104 icon = gfx/c_wiz/div.gif
105 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_title
106 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_divider_description
107 tt_content_defValues {
108 CType = div
109 }
110 }
111
112 }
113 special.show = uploads,media,menu,html,div
114
115 forms.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms
116 forms.elements {
117 mailform {
118 icon = gfx/c_wiz/mailform.gif
119 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_title
120 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_mail_description
121 tt_content_defValues {
122 CType = mailform
123 bodytext (
124 # Example content:
125 Name: | *name = input,40 | Enter your name here
126 Email: | *email=input,40 |
127 Address: | address=textarea,40,5 |
128 Contact me: | tv=check | 1
129
130 |formtype_mail = submit | Send form!
131 |html_enabled=hidden | 1
132 |subject=hidden| This is the subject
133 )
134 }
135 }
136 search {
137 icon = gfx/c_wiz/searchform.gif
138 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_title
139 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_search_description
140 tt_content_defValues {
141 CType = search
142 }
143 }
144 login {
145 icon = gfx/c_wiz/login_form.gif
146 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_login_title
147 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:forms_login_description
148 tt_content_defValues {
149 CType = login
150 }
151 }
152
153 }
154 forms.show = mailform,search,login
155
156 plugins.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins
157 plugins.elements {
158 general {
159 icon = gfx/c_wiz/user_defined.gif
160 title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_title
161 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:plugins_general_description
162 tt_content_defValues.CType = list
163 }
164 }
165 plugins.show = *
166 }
167
168 ');
169
170 $TYPO3_CONF_VARS['SYS']['contentTable'] = 'tt_content';
171 $TYPO3_CONF_VARS['FE']['eID_include']['tx_cms_showpic'] = 'EXT:cms/tslib/showpic.php';
172
173 $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
174 'title' => 'CMS Frontend',
175 'version' => 4000000,
176 'description' => '<ul>' .
177 '<li><p>Word separator character for simulateStaticDocument is changed from ' .
178 'underscore (_) to hyphen (-) to make URLs more friendly for search engines' .
179 'URLs that are already existing (e.g. external links to your site) will still work like before.</p>' .
180 '<p>You can set the separator character back to an underscore by putting the following line into the '.
181 '<b>Setup</b> section of your Page TypoScript template:</p>' .
182 '<p style="margin-top: 5px; white-space: nowrap;"><code>config.simulateStaticDocuments_replacementChar = _</code></p></li>'.
183 '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
184 '<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>'.
185 '</ul>',
186 );
187
188
189 // registering hooks for the treelist cache
190 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
191 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
192 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
193
194
195 ?>