[TASK] Clean up phpDoc comments in typo3/sysext/
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 t3lib_extMgm::addUserTSConfig('
7 options.saveDocView = 1
8 options.saveDocNew = 1
9 options.saveDocNew.pages = 0
10 options.saveDocNew.pages_language_overlay = 0
11 ');
12
13 t3lib_extMgm::addPageTSConfig('
14 mod.wizards.newContentElement.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_sitemap_title
92 description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special_sitemap_description
93 tt_content_defValues {
94 CType = menu
95 menu_type = 2
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
175 $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['cms'] = array(
176 'title' => 'CMS Frontend',
177 'version' => 4000000,
178 'description' => '<ul>' .
179 '<li><p>The extention simluatestatic has been removed in TYPO3 6.0</p></li>'.
180 '<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
181 '<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>'.
182 '</ul>',
183 );
184
185 // Registering hooks for the treelist cache
186 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
187 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
188 $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php:&tx_cms_treelistCacheUpdate';
189
190 if (TYPO3_MODE === 'FE') {
191 // Register the core media wizard provider
192 tslib_mediaWizardManager::registerMediaWizardProvider('tslib_mediaWizardCoreProvider');
193 // Register eID provider for ExtDirect for the frontend
194 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['ExtDirect'] = PATH_tslib . 'extdirecteid.php';
195 }
196
197 // Register search keys
198 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
199 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['content'] = 'tt_content';
200
201 // Register hook to show preview info
202 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_previewInfo']['cms'] = 'EXT:cms/tslib/hooks/class.tx_cms_fehooks.php:tx_cms_fehooks->hook_previewInfo';
203
204 ?>