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
00045 $TCA['be_users'] = Array (
00046 'ctrl' => $TCA['be_users']['ctrl'],
00047 'interface' => Array (
00048 'showRecordFieldList' => 'username,usergroup,db_mountpoints,file_mountpoints,admin,options,fileoper_perms,userMods,lockToDomain,realName,email,disable,starttime,endtime'
00049 ),
00050 'columns' => Array (
00051 'username' => Array (
00052 'label' => 'Username:',
00053 'config' => Array (
00054 'type' => 'input',
00055 'size' => '20',
00056 'max' => '50',
00057 'eval' => 'nospace,lower,unique,required'
00058 )
00059 ),
00060 'password' => Array (
00061 'label' => 'Password:',
00062 'config' => Array (
00063 'type' => 'input',
00064 'size' => '20',
00065 'max' => '40',
00066 'eval' => 'required,md5,password'
00067 )
00068 ),
00069 'usergroup' => Array (
00070 'label' => 'Group:',
00071 'config' => Array (
00072 'type' => 'select',
00073 'foreign_table' => 'be_groups',
00074 'foreign_table_where' => 'ORDER BY be_groups.title',
00075 'size' => '5',
00076 'maxitems' => '20',
00077 # 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00078 'iconsInOptionTags' => 1,
00079 'wizards' => Array(
00080 '_PADDING' => 1,
00081 '_VERTICAL' => 1,
00082 'edit' => Array(
00083 'type' => 'popup',
00084 'title' => 'Edit usergroup',
00085 'script' => 'wizard_edit.php',
00086 'popup_onlyOpenIfSelected' => 1,
00087 'icon' => 'edit2.gif',
00088 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
00089 ),
00090 'add' => Array(
00091 'type' => 'script',
00092 'title' => 'Create new group',
00093 'icon' => 'add.gif',
00094 'params' => Array(
00095 'table'=>'be_groups',
00096 'pid' => '0',
00097 'setValue' => 'prepend'
00098 ),
00099 'script' => 'wizard_add.php',
00100 ),
00101 'list' => Array(
00102 'type' => 'script',
00103 'title' => 'List groups',
00104 'icon' => 'list.gif',
00105 'params' => Array(
00106 'table'=>'be_groups',
00107 'pid' => '0',
00108 ),
00109 'script' => 'wizard_list.php',
00110 )
00111 )
00112 )
00113 ),
00114 'lockToDomain' => Array (
00115 'label' => 'Lock to domain:',
00116 'config' => Array (
00117 'type' => 'input',
00118 'size' => '20',
00119 'eval' => 'trim',
00120 'max' => '50',
00121 'checkbox' => '',
00122 'softref' => 'substitute'
00123 )
00124 ),
00125 'db_mountpoints' => Array (
00126 'label' => 'DB Mounts:',
00127 'config' => Array (
00128 'type' => 'group',
00129 'internal_type' => 'db',
00130 'allowed' => 'pages',
00131 'size' => '3',
00132 'maxitems' => '10',
00133 'autoSizeMax' => 10,
00134 'show_thumbs' => '1'
00135 )
00136 ),
00137 'file_mountpoints' => Array (
00138 'label' => 'File Mounts:',
00139 'config' => Array (
00140 'type' => 'select',
00141 'foreign_table' => 'sys_filemounts',
00142 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
00143 'size' => '3',
00144 'maxitems' => '10',
00145 'autoSizeMax' => 10,
00146 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00147 'iconsInOptionTags' => 1,
00148 'wizards' => Array(
00149 '_PADDING' => 1,
00150 '_VERTICAL' => 1,
00151 'edit' => Array(
00152 'type' => 'popup',
00153 'title' => 'Edit filemount',
00154 'script' => 'wizard_edit.php',
00155 'icon' => 'edit2.gif',
00156 'popup_onlyOpenIfSelected' => 1,
00157 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
00158 ),
00159 'add' => Array(
00160 'type' => 'script',
00161 'title' => 'Create new filemount',
00162 'icon' => 'add.gif',
00163 'params' => Array(
00164 'table'=>'sys_filemounts',
00165 'pid' => '0',
00166 'setValue' => 'prepend'
00167 ),
00168 'script' => 'wizard_add.php',
00169 ),
00170 'list' => Array(
00171 'type' => 'script',
00172 'title' => 'List filemounts',
00173 'icon' => 'list.gif',
00174 'params' => Array(
00175 'table'=>'sys_filemounts',
00176 'pid' => '0',
00177 ),
00178 'script' => 'wizard_list.php',
00179 )
00180 )
00181 )
00182 ),
00183 'email' => Array (
00184 'label' => 'Email:',
00185 'config' => Array (
00186 'type' => 'input',
00187 'size' => '20',
00188 'eval' => 'trim',
00189 'max' => '80',
00190 'softref' => 'email[subst]'
00191 )
00192 ),
00193 'realName' => Array (
00194 'label' => 'Name:',
00195 'config' => Array (
00196 'type' => 'input',
00197 'size' => '20',
00198 'eval' => 'trim',
00199 'max' => '80'
00200 )
00201 ),
00202 'disable' => Array (
00203 'label' => 'Disable:',
00204 'config' => Array (
00205 'type' => 'check'
00206 )
00207 ),
00208 'disableIPlock' => Array (
00209 'label' => 'Disable IP lock for user:',
00210 'config' => Array (
00211 'type' => 'check'
00212 )
00213 ),
00214 'admin' => Array (
00215 'label' => 'Admin(!):',
00216 'config' => Array (
00217 'type' => 'check',
00218 'default' => '0'
00219 )
00220 ),
00221 'options' => Array (
00222 'label' => 'Mount from groups:',
00223 'config' => Array (
00224 'type' => 'check',
00225 'items' => Array (
00226 Array('DB Mounts', 0),
00227 Array('File Mounts', 0)
00228 ),
00229 'default' => '3'
00230 )
00231 ),
00232 'fileoper_perms' => Array (
00233 'label' => 'Fileoperation permissions:',
00234 'config' => Array (
00235 'type' => 'check',
00236 'items' => Array (
00237 Array('Files: Upload,Copy,Move,Delete,Rename,New,Edit', 0),
00238 Array('Files: Unzip', 0),
00239 Array('Directory: Move,Delete,Rename,New', 0),
00240 Array('Directory: Copy', 0),
00241 Array('Directory: Delete recursively (rm -Rf)', 0)
00242 ),
00243 'default' => '7'
00244 )
00245 ),
00246 'workspace_perms' => Array (
00247 'label' => 'Workspace permissions:',
00248 'config' => Array (
00249 'type' => 'check',
00250 'items' => Array (
00251 Array('Edit Live (Online)', 0),
00252 Array('Edit Draft (Offline)', 0),
00253 Array('Create new workspace projects', 0),
00254 ),
00255 'default' => 3
00256 )
00257 ),
00258 'starttime' => Array (
00259 'label' => 'Start:',
00260 'config' => Array (
00261 'type' => 'input',
00262 'size' => '8',
00263 'max' => '20',
00264 'eval' => 'date',
00265 'default' => '0',
00266 'checkbox' => '0'
00267 )
00268 ),
00269 'endtime' => Array (
00270 'label' => 'Stop:',
00271 'config' => Array (
00272 'type' => 'input',
00273 'size' => '8',
00274 'max' => '20',
00275 'eval' => 'date',
00276 'checkbox' => '0',
00277 'default' => '0',
00278 'range' => Array (
00279 'upper' => mktime(0,0,0,12,31,2020),
00280 )
00281 )
00282 ),
00283 'lang' => Array (
00284 'label' => 'Default Language:',
00285 'config' => Array (
00286 'type' => 'select',
00287 'items' => Array (
00288 Array('English', ''),
00289 Array('Albanian', 'sq'),
00290 Array('Arabic', 'ar'),
00291 Array('Basque', 'eu'),
00292 Array('Bosnian', 'ba'),
00293 Array('Brazilian Portuguese', 'br'),
00294 Array('Bulgarian', 'bg'),
00295 Array('Catalan', 'ca'),
00296 Array('Chinese (Simpl.)', 'ch'),
00297 Array('Chinese (Trad.)', 'hk'),
00298 Array('Croatian', 'hr'),
00299 Array('Czech', 'cz'),
00300 Array('Danish', 'dk'),
00301 Array('Dutch', 'nl'),
00302 Array('Esperanto', 'eo'),
00303 Array('Estonian', 'et'),
00304 Array('Faroese', 'fo'),
00305 Array('Finnish', 'fi'),
00306 Array('French', 'fr'),
00307 Array('Georgian', 'ge'),
00308 Array('German', 'de'),
00309 Array('Greek', 'gr'),
00310 Array('Greenlandic', 'gl'),
00311 Array('Hebrew', 'he'),
00312 Array('Hindi', 'hi'),
00313 Array('Hungarian', 'hu'),
00314 Array('Icelandic', 'is'),
00315 Array('Italian', 'it'),
00316 Array('Japanese', 'jp'),
00317 Array('Korean', 'kr'),
00318 Array('Latvian', 'lv'),
00319 Array('Lithuanian', 'lt'),
00320 Array('Malay', 'my'),
00321 Array('Norwegian', 'no'),
00322 Array('Persian', 'fa'),
00323 Array('Polish', 'pl'),
00324 Array('Portuguese', 'pt'),
00325 Array('Romanian', 'ro'),
00326 Array('Russian', 'ru'),
00327 Array('Serbian', 'sr'),
00328 Array('Slovak', 'sk'),
00329 Array('Slovenian', 'si'),
00330 Array('Spanish', 'es'),
00331 Array('Swedish', 'se'),
00332 Array('Thai', 'th'),
00333 Array('Turkish', 'tr'),
00334 Array('Ukrainian', 'ua'),
00335 Array('Vietnamese', 'vn'),
00336 )
00337 )
00338 ),
00339 'userMods' => Array (
00340 'label' => 'Modules:',
00341 'config' => Array (
00342 'type' => 'select',
00343 'special' => 'modListUser',
00344 'size' => '5',
00345 'autoSizeMax' => 50,
00346 'maxitems' => '100',
00347 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00348 'iconsInOptionTags' => 1,
00349 )
00350 ),
00351 'allowed_languages' => Array (
00352 'label' => 'Limit to languages:',
00353 'config' => Array (
00354 'type' => 'select',
00355 'special' => 'languages',
00356 'maxitems' => '1000',
00357 'renderMode' => 'checkbox',
00358 )
00359 ),
00360 'TSconfig' => Array (
00361 'label' => 'TSconfig:',
00362 'config' => Array (
00363 'type' => 'text',
00364 'cols' => '40',
00365 'rows' => '5',
00366 'wizards' => Array(
00367 '_PADDING' => 4,
00368 '0' => Array(
00369 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00370 'title' => 'TSconfig QuickReference',
00371 'script' => 'wizard_tsconfig.php?mode=beuser',
00372 'icon' => 'wizard_tsconfig.gif',
00373 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00374 )
00375 ),
00376 'softref' => 'TSconfig'
00377 ),
00378 'defaultExtras' => 'fixed-font : enable-tab',
00379 ),
00380 'createdByAction' => Array('config'=>array('type'=>'passthrough'))
00381 ),
00382 'types' => Array (
00383 '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, userMods;;;;4-4-4, allowed_languages, workspace_perms, options, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5'),
00384 '1' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, options;;;;4-4-4, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5')
00385 ),
00386 'palettes' => Array (
00387 '1' => Array('showitem' => 'disable, starttime, endtime')
00388 )
00389 );
00390
00391
00392
00396 $TCA['be_groups'] = Array (
00397 'ctrl' => $TCA['be_groups']['ctrl'],
00398 'interface' => Array (
00399 'showRecordFieldList' => 'title,db_mountpoints,file_mountpoints,inc_access_lists,tables_select,tables_modify,pagetypes_select,non_exclude_fields,groupMods,lockToDomain,description'
00400 ),
00401 'columns' => Array (
00402 'title' => Array (
00403 'label' => 'Grouptitle:',
00404 'config' => Array (
00405 'type' => 'input',
00406 'size' => '25',
00407 'max' => '50',
00408 'eval' => 'trim,required'
00409 )
00410 ),
00411 'db_mountpoints' => Array (
00412 'label' => 'DB Mounts:',
00413 'config' => Array (
00414 'type' => 'group',
00415 'internal_type' => 'db',
00416 'allowed' => 'pages',
00417 'size' => '3',
00418 'maxitems' => 20,
00419 'autoSizeMax' => 10,
00420 'show_thumbs' => '1'
00421 )
00422 ),
00423 'file_mountpoints' => Array (
00424 'label' => 'File Mounts:',
00425 'config' => Array (
00426 'type' => 'select',
00427 'foreign_table' => 'sys_filemounts',
00428 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
00429 'size' => '3',
00430 'maxitems' => 20,
00431 'autoSizeMax' => 10,
00432 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00433 'iconsInOptionTags' => 1,
00434 'wizards' => Array(
00435 '_PADDING' => 1,
00436 '_VERTICAL' => 1,
00437 'edit' => Array(
00438 'type' => 'popup',
00439 'title' => 'Edit filemount',
00440 'script' => 'wizard_edit.php',
00441 'popup_onlyOpenIfSelected' => 1,
00442 'icon' => 'edit2.gif',
00443 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
00444 ),
00445 'add' => Array(
00446 'type' => 'script',
00447 'title' => 'Create new filemount',
00448 'icon' => 'add.gif',
00449 'params' => Array(
00450 'table'=>'sys_filemounts',
00451 'pid' => '0',
00452 'setValue' => 'prepend'
00453 ),
00454 'script' => 'wizard_add.php',
00455 ),
00456 'list' => Array(
00457 'type' => 'script',
00458 'title' => 'List filemounts',
00459 'icon' => 'list.gif',
00460 'params' => Array(
00461 'table'=>'sys_filemounts',
00462 'pid' => '0',
00463 ),
00464 'script' => 'wizard_list.php',
00465 )
00466 )
00467 )
00468 ),
00469 'workspace_perms' => Array (
00470 'label' => 'Workspace permissions:',
00471 'config' => Array (
00472 'type' => 'check',
00473 'items' => Array (
00474 Array('Edit Live (Online)', 0),
00475 Array('Edit Draft (Offline)', 0),
00476 Array('Create new workspace projects', 0),
00477 ),
00478 'default' => 0
00479 )
00480 ),
00481 'pagetypes_select' => Array (
00482 'label' => 'Page types:',
00483 'config' => Array (
00484 'type' => 'select',
00485 'special' => 'pagetypes',
00486 'size' => '5',
00487 'autoSizeMax' => 50,
00488 'maxitems' => 20,
00489 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00490 'iconsInOptionTags' => 1,
00491 )
00492 ),
00493 'tables_modify' => Array (
00494 'label' => 'Tables (modify):',
00495 'config' => Array (
00496 'type' => 'select',
00497 'special' => 'tables',
00498 'size' => '5',
00499 'autoSizeMax' => 50,
00500 'maxitems' => 100,
00501 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00502 'iconsInOptionTags' => 1,
00503 )
00504 ),
00505 'tables_select' => Array (
00506 'label' => 'Tables (listing):',
00507 'config' => Array (
00508 'type' => 'select',
00509 'special' => 'tables',
00510 'size' => '5',
00511 'autoSizeMax' => 50,
00512 'maxitems' => 100,
00513 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00514 'iconsInOptionTags' => 1,
00515 )
00516 ),
00517 'non_exclude_fields' => Array (
00518 'label' => 'Allowed excludefields:',
00519 'config' => Array (
00520 'type' => 'select',
00521 'special' => 'exclude',
00522 'size' => '25',
00523 'maxitems' => 1000,
00524 'autoSizeMax' => 50,
00525 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00526 )
00527 ),
00528 'explicit_allowdeny' => Array (
00529 'label' => 'Explicitly allow/deny field values:',
00530 'config' => Array (
00531 'type' => 'select',
00532 'special' => 'explicitValues',
00533 'maxitems' => 1000,
00534 'renderMode' => 'checkbox',
00535 )
00536 ),
00537 'allowed_languages' => Array (
00538 'label' => 'Limit to languages:',
00539 'config' => Array (
00540 'type' => 'select',
00541 'special' => 'languages',
00542 'maxitems' => 1000,
00543 'renderMode' => 'checkbox',
00544 )
00545 ),
00546 'custom_options' => Array (
00547 'label' => 'Custom module options:',
00548 'config' => Array (
00549 'type' => 'select',
00550 'special' => 'custom',
00551 'maxitems' => 1000,
00552 'renderMode' => 'checkbox',
00553 )
00554 ),
00555 'hidden' => Array (
00556 'label' => 'Disable:',
00557 'config' => Array (
00558 'type' => 'check',
00559 'default' => '0'
00560 )
00561 ),
00562 'lockToDomain' => Array (
00563 'label' => 'Lock to domain:',
00564 'config' => Array (
00565 'type' => 'input',
00566 'size' => '20',
00567 'eval' => 'trim',
00568 'max' => '50',
00569 'checkbox' => '',
00570 'softref' => 'substitute'
00571 )
00572 ),
00573 'groupMods' => Array (
00574 'label' => 'Modules:',
00575 'config' => Array (
00576 'type' => 'select',
00577 'special' => 'modListGroup',
00578 'size' => '5',
00579 'autoSizeMax' => 50,
00580 'maxitems' => 100,
00581 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00582 'iconsInOptionTags' => 1,
00583 )
00584 ),
00585 'inc_access_lists' => Array (
00586 'label' => 'Include Access Lists:',
00587 'config' => Array (
00588 'type' => 'check',
00589 'default' => '0'
00590 )
00591 ),
00592 'description' => Array (
00593 'label' => 'Description:',
00594 'config' => Array (
00595 'type' => 'text',
00596 'rows' => 5,
00597 'cols' => 30
00598 )
00599 ),
00600 'TSconfig' => Array (
00601 'label' => 'TSconfig:',
00602 'config' => Array (
00603 'type' => 'text',
00604 'cols' => '40',
00605 'rows' => '5',
00606 'wizards' => Array(
00607 '_PADDING' => 4,
00608 '0' => Array(
00609 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00610 'title' => 'TSconfig QuickReference',
00611 'script' => 'wizard_tsconfig.php?mode=beuser',
00612 'icon' => 'wizard_tsconfig.gif',
00613 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00614 )
00615 ),
00616 'softref' => 'TSconfig'
00617 ),
00618 'defaultExtras' => 'fixed-font : enable-tab',
00619 ),
00620 'hide_in_lists' => Array (
00621 'label' => 'Hide in lists:',
00622 'config' => Array (
00623 'type' => 'check',
00624 'default' => 0
00625 )
00626 ),
00627 'subgroup' => Array (
00628 'label' => 'Sub Groups:',
00629 'config' => Array (
00630 'type' => 'select',
00631 'foreign_table' => 'be_groups',
00632 'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
00633 'size' => '5',
00634 'autoSizeMax' => 50,
00635 'maxitems' => 20,
00636 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00637 'iconsInOptionTags' => 1,
00638 )
00639 )
00640 ),
00641 'types' => Array (
00642 '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2, lockToDomain, --div--, inc_access_lists;;;;3-3-3, db_mountpoints;;;;4-4-4,file_mountpoints,workspace_perms,hide_in_lists,subgroup,description, --div--, TSconfig;;;;5-5-5'),
00643 '1' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2, lockToDomain, --div--, inc_access_lists;;;;3-3-3, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options, --div--, db_mountpoints;;;;4-4-4,file_mountpoints,workspace_perms,hide_in_lists,subgroup,description, --div--, TSconfig;;;;5-5-5')
00644 )
00645 );
00646
00647
00648
00652 $TCA['sys_filemounts'] = Array (
00653 'ctrl' => $TCA['sys_filemounts']['ctrl'],
00654 'interface' => Array (
00655 'showRecordFieldList' => 'title,hidden,path,base'
00656 ),
00657 'columns' => Array (
00658 'title' => Array (
00659 'label' => 'LABEL:',
00660 'config' => Array (
00661 'type' => 'input',
00662 'size' => '20',
00663 'max' => '30',
00664 'eval' => 'required,trim'
00665 )
00666 ),
00667 'path' => Array (
00668 'label' => 'PATH:',
00669 'config' => Array (
00670 'type' => 'input',
00671 'size' => '40',
00672 'max' => '120',
00673 'eval' => 'required,trim',
00674 'softref' => 'substitute'
00675 )
00676 ),
00677 'hidden' => Array (
00678 'label' => 'Disable:',
00679 'config' => Array (
00680 'type' => 'check'
00681 )
00682 ),
00683 'base' => Array (
00684 'label' => 'BASE',
00685 'config' => Array (
00686 'type' => 'radio',
00687 'items' => Array (
00688 Array('absolute (root) / ', 0),
00689 Array('relative ../fileadmin/', 1)
00690 ),
00691 'default' => 0
00692 )
00693 )
00694 ),
00695 'types' => Array (
00696 '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;3-3-3,path,base')
00697 )
00698 );
00699
00700
00701
00705 $TCA['sys_workspace'] = Array (
00706 'ctrl' => $TCA['sys_workspace']['ctrl'],
00707 'columns' => Array (
00708 'title' => Array (
00709 'label' => 'Title:',
00710 'config' => Array (
00711 'type' => 'input',
00712 'size' => '20',
00713 'max' => '30',
00714 'eval' => 'required,trim,unique'
00715 )
00716 ),
00717 'description' => Array (
00718 'label' => 'Description:',
00719 'config' => Array (
00720 'type' => 'text',
00721 'rows' => 5,
00722 'cols' => 30
00723 )
00724 ),
00725 'adminusers' => Array (
00726 'label' => 'Owners:',
00727 'config' => Array (
00728 'type' => 'group',
00729 'internal_type' => 'db',
00730 'allowed' => 'be_users',
00731 'size' => '3',
00732 'maxitems' => '10',
00733 'autoSizeMax' => 10,
00734 'show_thumbs' => '1'
00735 )
00736 ),
00737 'members' => Array (
00738 'label' => 'Members:',
00739 'config' => Array (
00740 'type' => 'group',
00741 'internal_type' => 'db',
00742 'allowed' => 'be_users,be_groups',
00743 'prepend_tname' => 1,
00744 'size' => '3',
00745 'maxitems' => '100',
00746 'autoSizeMax' => 10,
00747 'show_thumbs' => '1'
00748 )
00749 ),
00750 'reviewers' => Array (
00751 'label' => 'Reviewers:',
00752 'config' => Array (
00753 'type' => 'group',
00754 'internal_type' => 'db',
00755 'allowed' => 'be_users,be_groups',
00756 'prepend_tname' => 1,
00757 'size' => '3',
00758 'maxitems' => '100',
00759 'autoSizeMax' => 10,
00760 'show_thumbs' => '1'
00761 )
00762 ),
00763 'db_mountpoints' => Array (
00764 'label' => 'DB Mounts:',
00765 'config' => Array (
00766 'type' => 'group',
00767 'internal_type' => 'db',
00768 'allowed' => 'pages',
00769 'size' => '3',
00770 'maxitems' => '10',
00771 'autoSizeMax' => 10,
00772 'show_thumbs' => '1'
00773 )
00774 ),
00775 'file_mountpoints' => Array (
00776 'label' => 'File Mounts:',
00777 'config' => Array (
00778 'type' => 'select',
00779 'foreign_table' => 'sys_filemounts',
00780 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
00781 'size' => '3',
00782 'maxitems' => '10',
00783 'autoSizeMax' => 10,
00784 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
00785 'iconsInOptionTags' => 1,
00786 )
00787 ),
00788 'publish_time' => Array (
00789 'label' => 'Publish:',
00790 'config' => Array (
00791 'type' => 'input',
00792 'size' => '8',
00793 'max' => '20',
00794 'eval' => 'datetime',
00795 'default' => '0',
00796 'checkbox' => '0'
00797 )
00798 ),
00799 'unpublish_time' => Array (
00800 'label' => 'Un-publish:',
00801 'config' => Array (
00802 'type' => 'input',
00803 'size' => '8',
00804 'max' => '20',
00805 'eval' => 'datetime',
00806 'checkbox' => '0',
00807 'default' => '0',
00808 'range' => Array (
00809 'upper' => mktime(0,0,0,12,31,2020),
00810 )
00811 )
00812 ),
00813 'freeze' => Array (
00814 'label' => 'Freeze Editing',
00815 'config' => Array (
00816 'type' => 'check',
00817 'default' => '0'
00818 )
00819 ),
00820 'live_edit' => Array (
00821 'label' => 'Allow "live" editing of records from tables without versioning',
00822 'config' => Array (
00823 'type' => 'check',
00824 'default' => '0'
00825 )
00826 ),
00827 'review_stage_edit' => Array (
00828 'label' => 'Allow members to edit records in "Review" stage',
00829 'config' => Array (
00830 'type' => 'check',
00831 'default' => '0'
00832 )
00833 ),
00834 'disable_autocreate' => Array (
00835 'label' => 'Disable auto-versioning when editing',
00836 'config' => Array (
00837 'type' => 'check',
00838 'default' => '0'
00839 )
00840 ),
00841 'swap_modes' => Array (
00842 'label' => 'Swap modes',
00843 'config' => Array (
00844 'type' => 'select',
00845 'items' => Array (
00846 Array('',0),
00847 Array('Swap-Into-Workspace on Auto-publish',1),
00848 Array('Disable Swap-Into-Workspace',2)
00849 ),
00850 )
00851 ),
00852 'vtypes' => Array (
00853 'label' => 'Disable Versioning Types for members and reviewers:',
00854 'config' => Array (
00855 'type' => 'check',
00856 'items' => Array (
00857 Array('Element',0),
00858 Array('Page',0),
00859 Array('Branch',0)
00860 ),
00861 )
00862 ),
00863 'publish_access' => Array (
00864 'label' => 'Publish access:',
00865 'config' => Array (
00866 'type' => 'check',
00867 'items' => Array (
00868 Array('Publish only content in publish stage',0),
00869 Array('Only workspace owner can publish',0),
00870 ),
00871 )
00872 ),
00873 'stagechg_notification' => Array (
00874 'label' => 'Stage change notification by email:',
00875 'config' => Array (
00876 'type' => 'select',
00877 'items' => Array (
00878 Array('',0),
00879 Array('Notify users on next stage only',1),
00880 Array('Notify all users on any change',10)
00881 ),
00882 )
00883 ),
00884 ),
00885 'types' => Array (
00886 '0' => Array('showitem' => 'title,description,--div--;Users,adminusers,members,reviewers,stagechg_notification,--div--;Mountpoints,db_mountpoints,file_mountpoints,--div--;Publishing,publish_time,unpublish_time,--div--;Other,freeze,live_edit,review_stage_edit,disable_autocreate,swap_modes,vtypes,publish_access')
00887 )
00888 );
00889
00890
00891
00895 $TCA['sys_language'] = Array (
00896 'ctrl' => $TCA['sys_language']['ctrl'],
00897 'interface' => Array (
00898 'showRecordFieldList' => 'hidden,title'
00899 ),
00900 'columns' => Array (
00901 'title' => Array (
00902 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
00903 'config' => Array (
00904 'type' => 'input',
00905 'size' => '35',
00906 'max' => '80',
00907 'eval' => 'trim,required'
00908 )
00909 ),
00910 'hidden' => Array (
00911 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
00912 'exclude' => 1,
00913 'config' => Array (
00914 'type' => 'check',
00915 'default' => '0'
00916 )
00917 ),
00918 'static_lang_isocode' => Array (
00919 'exclude' => 1,
00920 'label' => 'LLL:EXT:lang/locallang_tca.php:sys_language.isocode',
00921 'displayCond' => 'EXT:static_info_tables:LOADED:true',
00922 'config' => Array (
00923 'type' => 'select',
00924 'items' => Array (
00925 Array('',0),
00926 ),
00927 'foreign_table' => 'static_languages',
00928 'foreign_table_where' => 'AND static_languages.pid=0 ORDER BY static_languages.lg_name_en',
00929 'size' => 1,
00930 'minitems' => 0,
00931 'maxitems' => 1,
00932 )
00933 ),
00934 'flag' => array(
00935 'label' => 'LLL:EXT:lang/locallang_tca.php:sys_language.flag',
00936 'config' => Array (
00937 'type' => 'select',
00938 'items' => Array (
00939 Array('',0),
00940 ),
00941 'fileFolder' => 'typo3/gfx/flags/',
00942 'fileFolder_extList' => 'png,jpg,jpeg,gif',
00943 'fileFolder_recursions' => 0,
00944 'selicon_cols' => 8,
00945 'size' => 1,
00946 'minitems' => 0,
00947 'maxitems' => 1,
00948 )
00949 )
00950 ),
00951 'types' => Array (
00952 '1' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,static_lang_isocode,flag')
00953 )
00954 );
00955
00956 ?>