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