00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00058 $PAGES_TYPES = Array(
00059 '254' => Array(
00060 'type' => 'sys',
00061 'icon' => 'sysf.gif',
00062 'allowedTables' => '*'
00063 ),
00064 '255' => Array(
00065 'type' => 'sys',
00066 'icon' => 'recycler.gif',
00067 'allowedTables' => '*'
00068 ),
00069 'default' => Array(
00070 'type' => 'web',
00071 'icon' => 'pages.gif',
00072 'allowedTables' => 'pages',
00073 'onlyAllowedTables' => '0'
00074 )
00075 );
00076
00077
00085 $ICON_TYPES = Array();
00086
00087
00094 $LANG_GENERAL_LABELS = array(
00095 'endtime' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
00096 'hidden' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00097 'starttime' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
00098 'fe_group' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
00099 'hide_at_login' => 'LLL:EXT:lang/locallang_general.php:LGL.hide_at_login',
00100 'any_login' => 'LLL:EXT:lang/locallang_general.php:LGL.any_login',
00101 'usergroups' => 'LLL:EXT:lang/locallang_general.php:LGL.usergroups',
00102 );
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00128 $TCA = array();
00129
00136 $TCA['pages'] = Array (
00137 'ctrl' => Array (
00138 'label' => 'title',
00139 'tstamp' => 'tstamp',
00140 'sortby' => 'sorting',
00141 'title' => 'LLL:EXT:lang/locallang_tca.php:pages',
00142 'type' => 'doktype',
00143 'versioningWS' => TRUE,
00144 'origUid' => 't3_origuid',
00145 'delete' => 'deleted',
00146 'crdate' => 'crdate',
00147 'hideAtCopy' => 1,
00148 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00149 'cruser_id' => 'cruser_id',
00150 'editlock' => 'editlock',
00151 'useColumnsForDefaultValues' => 'doktype',
00152 'shadowColumnsForNewPlaceholders' => 'doktype,title',
00153 ),
00154 'interface' => Array (
00155 'showRecordFieldList' => 'doktype,title',
00156 'maxDBListItems' => 30,
00157 'maxSingleDBListItems' => 50
00158 ),
00159 'columns' => Array (
00160 'doktype' => Array (
00161 'exclude' => 1,
00162 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
00163 'config' => Array (
00164 'type' => 'select',
00165 'items' => Array (
00166 Array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', '1'),
00167 Array('LLL:EXT:lang/locallang_tca.php:doktype.I.1', '254'),
00168 Array('LLL:EXT:lang/locallang_tca.php:doktype.I.2', '255')
00169 ),
00170 'default' => '1'
00171 )
00172 ),
00173 'title' => Array (
00174 'label' => 'LLL:EXT:lang/locallang_tca.php:title',
00175 'config' => Array (
00176 'type' => 'input',
00177 'size' => '30',
00178 'max' => '256',
00179 'eval' => 'required'
00180 )
00181 ),
00182 'TSconfig' => Array (
00183 'exclude' => 1,
00184 'label' => 'TSconfig:',
00185 'config' => Array (
00186 'type' => 'text',
00187 'cols' => '40',
00188 'rows' => '5',
00189 'wizards' => Array(
00190 '_PADDING' => 4,
00191 '0' => Array(
00192 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00193 'title' => 'TSconfig QuickReference',
00194 'script' => 'wizard_tsconfig.php?mode=page',
00195 'icon' => 'wizard_tsconfig.gif',
00196 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00197 )
00198 ),
00199 'softref' => 'TSconfig'
00200 ),
00201 'defaultExtras' => 'fixed-font : enable-tab',
00202 ),
00203 'php_tree_stop' => Array (
00204 'exclude' => 1,
00205 'label' => 'LLL:EXT:lang/locallang_tca.php:php_tree_stop',
00206 'config' => Array (
00207 'type' => 'check'
00208 )
00209 ),
00210 'is_siteroot' => Array (
00211 'exclude' => 1,
00212 'label' => 'LLL:EXT:lang/locallang_tca.php:is_siteroot',
00213 'config' => Array (
00214 'type' => 'check'
00215 )
00216 ),
00217 'storage_pid' => Array (
00218 'exclude' => 1,
00219 'label' => 'LLL:EXT:lang/locallang_tca.php:storage_pid',
00220 'config' => Array (
00221 'type' => 'group',
00222 'internal_type' => 'db',
00223 'allowed' => 'pages',
00224 'size' => '1',
00225 'maxitems' => '1',
00226 'minitems' => '0',
00227 'show_thumbs' => '1'
00228 )
00229 ),
00230 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
00231 't3ver_label' => Array (
00232 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
00233 'config' => Array (
00234 'type' => 'input',
00235 'size' => '30',
00236 'max' => '30',
00237 )
00238 ),
00239 'editlock' => Array (
00240 'exclude' => 1,
00241 'label' => 'LLL:EXT:lang/locallang_tca.php:editlock',
00242 'config' => Array (
00243 'type' => 'check'
00244 )
00245 ),
00246 ),
00247 'types' => Array (
00248 '1' => Array('showitem' => 'doktype, title, TSconfig;;6;nowrap, storage_pid;;7'),
00249 '254' => Array('showitem' => 'doktype, title;LLL:EXT:lang/locallang_general.php:LGL.title, TSconfig;;6;nowrap, storage_pid;;7'),
00250 '255' => Array('showitem' => 'doktype, title, TSconfig;;6;nowrap, storage_pid;;7')
00251 ),
00252 'palettes' => Array (
00253 '6' => Array('showitem' => 'php_tree_stop, editlock'),
00254 '7' => Array('showitem' => 'is_siteroot')
00255 )
00256 );
00257
00263 $TCA['be_users'] = Array (
00264 'ctrl' => Array (
00265 'label' => 'username',
00266 'tstamp' => 'tstamp',
00267 'title' => 'LLL:EXT:lang/locallang_tca.php:be_users',
00268 'crdate' => 'crdate',
00269 'cruser_id' => 'cruser_id',
00270 'delete' => 'deleted',
00271 'adminOnly' => 1,
00272 'rootLevel' => 1,
00273 'default_sortby' => 'ORDER BY admin, username',
00274 'enablecolumns' => Array (
00275 'disabled' => 'disable',
00276 'starttime' => 'starttime',
00277 'endtime' => 'endtime'
00278 ),
00279 'type' => 'admin',
00280 'typeicon_column' => 'admin',
00281 'typeicons' => Array (
00282 '0' => 'be_users.gif',
00283 '1' => 'be_users_admin.gif'
00284 ),
00285 'mainpalette' => '1',
00286 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,options,db_mountpoints,file_mountpoints,fileoper_perms,userMods',
00287 'dynamicConfigFile' => 'T3LIB:tbl_be.php'
00288 )
00289 );
00290
00296 $TCA['be_groups'] = Array (
00297 'ctrl' => Array (
00298 'label' => 'title',
00299 'tstamp' => 'tstamp',
00300 'crdate' => 'crdate',
00301 'cruser_id' => 'cruser_id',
00302 'delete' => 'deleted',
00303 'default_sortby' => 'ORDER BY title',
00304 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00305 'adminOnly' => 1,
00306 'rootLevel' => 1,
00307 'type' => 'inc_access_lists',
00308 'typeicon_column' => 'inc_access_lists',
00309 'typeicons' => Array (
00310 '1' => 'be_groups_lists.gif'
00311 ),
00312 'enablecolumns' => Array (
00313 'disabled' => 'hidden'
00314 ),
00315 'title' => 'LLL:EXT:lang/locallang_tca.php:be_groups',
00316 'useColumnsForDefaultValues' => 'lockToDomain',
00317 'dynamicConfigFile' => 'T3LIB:tbl_be.php'
00318 )
00319 );
00320
00326 $TCA['sys_filemounts'] = Array (
00327 'ctrl' => Array (
00328 'label' => 'title',
00329 'tstamp' => 'tstamp',
00330 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00331 'title' => 'LLL:EXT:lang/locallang_tca.php:sys_filemounts',
00332 'adminOnly' => 1,
00333 'rootLevel' => 1,
00334 'delete' => 'deleted',
00335 'enablecolumns' => Array (
00336 'disabled' => 'hidden'
00337 ),
00338 'iconfile' => '_icon_ftp.gif',
00339 'useColumnsForDefaultValues' => 'path,base',
00340 'dynamicConfigFile' => 'T3LIB:tbl_be.php'
00341 )
00342 );
00343
00349 $TCA['sys_workspace'] = Array (
00350 'ctrl' => Array (
00351 'label' => 'title',
00352 'tstamp' => 'tstamp',
00353 'title' => 'LLL:EXT:lang/locallang_tca.php:sys_workspace',
00354 'adminOnly' => 1,
00355 'rootLevel' => 1,
00356 'delete' => 'deleted',
00357 'iconfile' => 'sys_workspace.png',
00358 'dynamicConfigFile' => 'T3LIB:tbl_be.php'
00359 )
00360 );
00361
00367 $TCA['sys_language'] = Array (
00368 'ctrl' => Array (
00369 'label' => 'title',
00370 'tstamp' => 'tstamp',
00371 'default_sortby' => 'ORDER BY title',
00372 'title' => 'LLL:EXT:lang/locallang_tca.php:sys_language',
00373 'adminOnly' => 1,
00374 'rootLevel' => 1,
00375 'enablecolumns' => Array (
00376 'disabled' => 'hidden'
00377 ),
00378 'dynamicConfigFile' => 'T3LIB:tbl_be.php'
00379 )
00380 );
00381
00382
00383
00384
00385
00386
00387
00388
00389
00390
00391
00392
00398 $TBE_MODULES = Array (
00399 'web' => 'list,info,perm,func',
00400 'file' => 'list',
00401 'doc' => '',
00402 'user' => 'ws',
00403 'tools' => 'em',
00404 'help' => 'about,cshmanual'
00405 );
00406
00407
00412 $TBE_STYLES = array(
00413 'colorschemes' => Array (
00414 '0' => '#E4E0DB,#CBC7C3,#EDE9E5',
00415 ),
00416 'borderschemes' => Array (
00417 '0' => array('border:solid 1px black;',5)
00418 )
00419 );
00420
00421
00426 t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:lang/locallang_csh_pages.xml');
00427 t3lib_extMgm::addLLrefForTCAdescr('be_users','EXT:lang/locallang_csh_be_users.xml');
00428 t3lib_extMgm::addLLrefForTCAdescr('be_groups','EXT:lang/locallang_csh_be_groups.xml');
00429 t3lib_extMgm::addLLrefForTCAdescr('sys_filemounts','EXT:lang/locallang_csh_sysfilem.xml');
00430 t3lib_extMgm::addLLrefForTCAdescr('sys_language','EXT:lang/locallang_csh_syslang.xml');
00431 t3lib_extMgm::addLLrefForTCAdescr('sys_workspace','EXT:lang/locallang_csh_sysws.xml');
00432 t3lib_extMgm::addLLrefForTCAdescr('xMOD_csh_corebe','EXT:lang/locallang_csh_corebe.xml');
00433 t3lib_extMgm::addLLrefForTCAdescr('_MOD_tools_em','EXT:lang/locallang_csh_em.xml');
00434 t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:lang/locallang_csh_web_info.xml');
00435 t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:lang/locallang_csh_web_func.xml');
00436
00437
00441 $FILEICONS = Array (
00442 'txt' => 'txt.gif',
00443 'pdf' => 'pdf.gif',
00444 'doc' => 'doc.gif',
00445 'ai' => 'ai.gif',
00446 'bmp' => 'bmp.gif',
00447 'tif' => 'tif.gif',
00448 'htm' => 'htm.gif',
00449 'html' => 'html.gif',
00450 'pcd' => 'pcd.gif',
00451 'gif' => 'gif.gif',
00452 'jpg' => 'jpg.gif',
00453 'jpeg' => 'jpg.gif',
00454 'mpg' => 'mpg.gif',
00455 'mpeg' => 'mpeg.gif',
00456 'exe' => 'exe.gif',
00457 'com' => 'exe.gif',
00458 'zip' => 'zip.gif',
00459 'tgz' => 'zip.gif',
00460 'gz' => 'zip.gif',
00461 'php3' => 'php3.gif',
00462 'php' => 'php3.gif',
00463 'ttf' => 'ttf.gif',
00464 'pcx' => 'pcx.gif',
00465 'png' => 'png.gif',
00466 'tga' => 'tga.gif',
00467 'class' => 'java.gif',
00468 'sxc' => 'sxc.gif',
00469 'sxw' => 'sxw.gif',
00470 'xls' => 'xls.gif',
00471 'swf' => 'swf.gif',
00472 'swa' => 'flash.gif',
00473 'dcr' => 'flash.gif',
00474 'wav' => 'wav.gif',
00475 'mp3' => 'wav.gif',
00476 'avi' => 'avi.gif',
00477 'au' => 'au.gif',
00478 'mov' => 'mov.gif',
00479 '3ds' => '3ds.gif',
00480 'csv' => 'csv.gif',
00481 'ico' => 'ico.gif',
00482 'max' => 'max.gif',
00483 'ps' => 'ps.gif',
00484 'tmpl' => 'tmpl.gif',
00485 'xls' => 'xls.gif',
00486 'fh3' => 'fh3.gif',
00487 'inc' => 'inc.gif',
00488 'mid' => 'mid.gif',
00489 'psd' => 'psd.gif',
00490 'xml' => 'xml.gif',
00491 'rtf' => 'rtf.gif',
00492 't3x' => 't3x.gif',
00493 't3d' => 't3d.gif',
00494 'cdr' => 'cdr.gif',
00495 'dtd' => 'dtd.gif',
00496 'sgml' => 'sgml.gif',
00497 'ani' => 'ani.gif',
00498 'css' => 'css.gif',
00499 'eps' => 'eps.gif',
00500 'js' => 'js.gif',
00501 'wrl' => 'wrl.gif',
00502 'default' => 'default.gif'
00503 );
00504
00505
00506
00507
00508 ?>