Fixed bug #17150: Workspaces non-admin user cannot send to next stage (Thanks to...
[Packages/TYPO3.CMS.git] / t3lib / config_default.php
index 9c28b5b..be8e3e4 100644 (file)
@@ -27,7 +27,6 @@ $TYPO3_CONF_VARS = array(
                'image_processing' => TRUE,                             // Boolean: Enables image processing features. Disabling this means NO image processing with either GD or IM!
                'thumbnails' => TRUE,                                   // Boolean: Enables the use of thumbnails in the backend interface. Thumbnails are generated by IM/partly GD in the file typo3/thumbs.php
                'thumbnails_png' => 0,                                  // Bits. Bit0: If set, thumbnails from non-jpegs will be 'png', otherwise 'gif' (0=gif/1=png). Bit1: Even JPG's will be converted to png or gif (2=gif/3=png)
-               'noIconProc' => FALSE,                                  // Boolean: If true, icons are never processed with overlays for hidden, starttime, endtime etc. They must be available pre-processed. If this is disabled, do so only if you have full image processing capabilities on the server for TYPO3.
                'gif_compress' => TRUE,                                 // Boolean: Enables the use of the t3lib_div::gif_compress() workaround function for compressing giffiles made with GD or IM, which probably use only RLE or no compression at all.
                'imagefile_ext' => 'gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai',      // Commalist of file extensions perceived as images by TYPO3. List should be set to 'gif,png,jpeg,jpg' if IM is not available. Lowercase and no spaces between!
 
@@ -116,7 +115,6 @@ $TYPO3_CONF_VARS = array(
                        'cacheBackends' => array(
                                't3lib_cache_backend_DbBackend'              => 't3lib_cache_backend_DbBackend',
                                't3lib_cache_backend_FileBackend'            => 't3lib_cache_backend_FileBackend',
-                               't3lib_cache_backend_GlobalsBackend'         => 't3lib_cache_backend_GlobalsBackend',
                                't3lib_cache_backend_MemcachedBackend'       => 't3lib_cache_backend_MemcachedBackend',
                                't3lib_cache_backend_PdoBackend'             => 't3lib_cache_backend_PdoBackend',
                                't3lib_cache_backend_RedisBackend'           => 't3lib_cache_backend_RedisBackend',
@@ -172,7 +170,7 @@ $TYPO3_CONF_VARS = array(
                'em_wsdlURL' => 'http://typo3.org/wsdl/tx_ter_wsdl.php',                                // The SOAP URL for uploading extensions to the TER2. Usually doesn't need to be changed.
                'em_mirrorListURL' => 'http://repositories.typo3.org/mirrors.xml.gz',                           // Allows to preset the URL for fetching the extension repository mirror list from. Used in the Extension Manager.
 
-               'requiredExt' => 'cms,lang,sv,em,list',                 // String (exclude). List of extensions which are REQUIRED and cannot be unloaded by the Extension Manager!
+               'requiredExt' => 'cms,lang,sv,em,list',         // String (exclude). List of extensions which are REQUIRED and cannot be unloaded by the Extension Manager!
                'excludeForPackaging' => '(CVS|\..*|.*~|.*\.bak)',              // String: List of directories and files which will not be packaged into extensions nor taken into account otherwise by the Extension Manager. Perl regular expression syntax!
                'extCache' => 1,                                                // <p>Integer (0, 1, 2, 3)</p><dl><dt>0</dt><dd>ext-scripts (ext_localconf.php and ext_tables.php) are NOT cached, but included every time</dd><dt>1</dt><dd>scripts cached to typo3conf/temp_CACHED_[sitePathHash]* (saves some milliseconds even with PHP accelerators)</dd><dt>2</dt><dd>scripts cached and prefix includes a hash based on the 'extList' string</dd><dt>3</dt><dd>scripts cached to typo3conf/temp_CACHED_* (no hash included at all...)</dd></dl>
                'extList' => 'filelist,version,tsconfig_help,context_help,extra_page_cm_options,impexp,belog,about,cshmanual,aboutmodules,setup,opendocs,install,t3editor,felogin,feedit,recycler',                                             // String (exclude) List of extensions which are enabled for this install. Use the Extension Manager (EM) to manage this!
@@ -205,6 +203,7 @@ $TYPO3_CONF_VARS = array(
                'lockSSL' => 0,                                                 // <p>Integer (0, 1, 2, 3). If &gt;0, If set (1,2,3), the backend can only be operated from an SSL-encrypted connection (https)</p><dl><dt>0</dt><dd>no locking (default)</dd><dt>1</dt><dd>only allow access via SSL</dd><dt>2</dt><dd>redirect user trying to access non-https admin-urls to SSL URLs instead</dd><dt>3</dt><dd>only the login is forced to SSL, then the user switches back to non-SSL-mode</dd></dl>
                'lockSSLPort' => 0,                                             // Integer: Use a non-standard HTTPS port for lockSSL. Set this value if you use lockSSL and the HTTPS port of your webserver is not 443.
                'enabledBeUserIPLock' => TRUE,                  // Boolean: If set, the User/Group TSconfig option 'option.lockToIP' is enabled.
+               'lockHashKeyWords' => 'useragent',              // Keyword list (Strings comma separated). Currently only "useragent"; If set, then the BE user session is locked to the value of HTTP_USER_AGENT. This lowers the risk of session hi-jacking. However in some cases (like during development) you might need to switch the user agent while keeping the session. In this case you can disable that feature (e.g. with a blank string).
                'cookieDomain' => '',                                   // Same as <a href="#SYS-cookieDomain">$TYPO3_CONF_VARS['SYS']['cookieDomain']</a> but only for BE cookies. If empty, $TYPO3_CONF_VARS['SYS']['cookieDomain'] value will be used.
                'loginSecurityLevel' => '',                             // String: Keywords that determines the security level of login to the backend. "normal" means the password from the login form is sent in clear-text, "challenged" means the password is not sent but hashed with some other values, "superchallenged" (default) means the password is first hashed before being hashed with the challenge values again (means the password is stored as a hashed string in the database also), "rsa" uses RSA password encryption (only if the rsaauth extension is installed). DO NOT CHANGE this value manually; without an alternative authentication service it will only prevent logins in TYPO3 since the "superchallenged" method is hardcoded in the default authentication system.
                'showRefreshLoginPopup' => FALSE,               // Boolean: If set, the Ajax relogin will show a real popup window for relogin after the count down. Some auth services need this as they add custom validation to the login form. If it's not set, the Ajax relogin will show an inline relogin window.
@@ -219,7 +218,227 @@ $TYPO3_CONF_VARS = array(
                        options.enableShowPalettes=1
                        options.file_list.enableDisplayBigControlPanel=selectable
                        options.file_list.enableDisplayThumbnails=selectable
-                       options.file_list.enableClipBoard=selectable',  // String (exclude). Enter lines of default backend user/group TSconfig.
+                       options.file_list.enableClipBoard=selectable
+                       options.pageTree {
+                               doktypesToShowInNewPageDragArea = 1,6,4,7,3,254,255,199
+                       }
+
+                       options.contextMenu {
+                               table {
+                                       pages_root {
+                                               disableItems =
+
+                                               items {
+                                                       100 = ITEM
+                                                       100 {
+                                                               name = view
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.view
+                                                               spriteIcon = actions-document-view
+                                                               displayCondition = canBeViewed != 0
+                                                               callbackAction = viewPage
+                                                       }
+
+                                                       200 = ITEM
+                                                       200 {
+                                                               name = new
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.new
+                                                               spriteIcon = actions-page-new
+                                                               displayCondition = canCreateNewPages != 0
+                                                               callbackAction = newPageWizard
+                                                       }
+
+                                                       300 = DIVIDER
+
+                                                       400 = ITEM
+                                                       400 {
+                                                               name = history
+                                                               label = LLL:EXT:lang/locallang_misc.xml:CM_history
+                                                               spriteIcon = actions-document-history-open
+                                                               displayCondition = canShowHistory != 0
+                                                               callbackAction = openHistoryPopUp
+                                                       }
+                                               }
+                                       }
+
+                                       pages {
+                                               disableItems =
+
+                                               items {
+                                                       100 = ITEM
+                                                       100 {
+                                                               name = view
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.view
+                                                               spriteIcon = actions-document-view
+                                                               displayCondition = canBeViewed != 0
+                                                               callbackAction = viewPage
+                                                       }
+
+                                                       200 = DIVIDER
+
+                                                       300 = ITEM
+                                                       300 {
+                                                               name = disable
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.hide
+                                                               spriteIcon = actions-edit-hide
+                                                               displayCondition = getRecord|hidden = 0 && canBeDisabledAndEnabled != 0
+                                                               callbackAction = disablePage
+                                                       }
+
+                                                       400 = ITEM
+                                                       400 {
+                                                               name = enable
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.unhide
+                                                               spriteIcon = actions-edit-unhide
+                                                               displayCondition = getRecord|hidden = 1 && canBeDisabledAndEnabled != 0
+                                                               callbackAction = enablePage
+                                                       }
+
+                                                       500 = ITEM
+                                                       500 {
+                                                               name = edit
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.edit
+                                                               spriteIcon = actions-document-open
+                                                               displayCondition = canBeEdited != 0
+                                                               callbackAction = editPageProperties
+                                                       }
+
+                                                       600 = ITEM
+                                                       600 {
+                                                               name = info
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.info
+                                                               spriteIcon = actions-document-info
+                                                               displayCondition = canShowInfo != 0
+                                                               callbackAction = openInfoPopUp
+                                                       }
+
+                                                       700 = ITEM
+                                                       700 {
+                                                               name = history
+                                                               label = LLL:EXT:lang/locallang_misc.xml:CM_history
+                                                               spriteIcon = actions-document-history-open
+                                                               displayCondition = canShowHistory != 0
+                                                               callbackAction = openHistoryPopUp
+                                                       }
+
+                                                       800 = DIVIDER
+
+                                                       900 = SUBMENU
+                                                       900 {
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.copyPasteActions
+
+                                                               100 = ITEM
+                                                               100 {
+                                                                       name = new
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.new
+                                                                       spriteIcon = actions-page-new
+                                                                       displayCondition = canCreateNewPages != 0
+                                                                       callbackAction = newPageWizard
+                                                               }
+
+                                                               200 = DIVIDER
+
+                                                               300 = ITEM
+                                                               300 {
+                                                                       name = cut
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.cut
+                                                                       spriteIcon = actions-edit-cut
+                                                                       displayCondition = isInCutMode = 0 && canBeCut != 0 && isMountPoint != 1
+                                                                       callbackAction = enableCutMode
+                                                               }
+
+                                                               400 = ITEM
+                                                               400 {
+                                                                       name = cut
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.cut
+                                                                       spriteIcon = actions-edit-cut-release
+                                                                       displayCondition = isInCutMode = 1 && canBeCut != 0
+                                                                       callbackAction = disableCutMode
+                                                               }
+
+                                                               500 = ITEM
+                                                               500 {
+                                                                       name = copy
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.copy
+                                                                       spriteIcon = actions-edit-copy
+                                                                       displayCondition = isInCopyMode = 0 && canBeCopied != 0
+                                                                       callbackAction = enableCopyMode
+                                                               }
+
+                                                               600 = ITEM
+                                                               600 {
+                                                                       name = copy
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.copy
+                                                                       spriteIcon = actions-edit-copy-release
+                                                                       displayCondition = isInCopyMode = 1 && canBeCopied != 0
+                                                                       callbackAction = disableCopyMode
+                                                               }
+
+                                                               700 = ITEM
+                                                               700 {
+                                                                       name = pasteInto
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.pasteinto
+                                                                       spriteIcon = actions-document-paste-into
+                                                                       displayCondition = getContextInfo|inCopyMode = 1 || getContextInfo|inCutMode = 1 && canBePastedInto != 0
+                                                                       callbackAction = pasteIntoNode
+                                                               }
+
+                                                               800 = ITEM
+                                                               800 {
+                                                                       name = pasteAfter
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.pasteafter
+                                                                       spriteIcon = actions-document-paste-after
+                                                                       displayCondition = getContextInfo|inCopyMode = 1 || getContextInfo|inCutMode = 1 && canBePastedAfter != 0
+                                                                       callbackAction = pasteAfterNode
+                                                               }
+
+                                                               900 = DIVIDER
+
+                                                               1000 = ITEM
+                                                               1000 {
+                                                                       name = delete
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.delete
+                                                                       spriteIcon = actions-edit-delete
+                                                                       displayCondition = canBeRemoved != 0 && isMountPoint != 1
+                                                                       callbackAction = removeNode
+                                                               }
+                                                       }
+
+                                                       1000 = SUBMENU
+                                                       1000 {
+                                                               label = LLL:EXT:lang/locallang_core.xml:cm.branchActions
+
+                                                               100 = ITEM
+                                                               100 {
+                                                                       name = mountAsTreeroot
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.tempMountPoint
+                                                                       spriteIcon = actions-system-extension-documentation
+                                                                       displayCondition = canBeTemporaryMountPoint != 0 && isMountPoint = 0
+                                                                       callbackAction = mountAsTreeRoot
+                                                               }
+
+                                                               200 = DIVIDER
+
+                                                               300 = ITEM
+                                                               300 {
+                                                                       name = expandBranch
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.expandBranch
+                                                                       displayCondition =
+                                                                       callbackAction = expandBranch
+                                                               }
+
+                                                               400 = ITEM
+                                                               400 {
+                                                                       name = collapseBranch
+                                                                       label = LLL:EXT:lang/locallang_core.xml:cm.collapseBranch
+                                                                       displayCondition =
+                                                                       callbackAction = collapseBranch
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               ',      // String (exclude). Enter lines of default backend user/group TSconfig.
                'defaultPageTSconfig' => 'mod.web_list.enableDisplayBigControlPanel=selectable
                        mod.web_list.enableClipBoard=selectable
                        mod.web_list.enableLocalizationView=selectable',                        // String (exclude).Enter lines of default Page TSconfig.
@@ -249,7 +468,7 @@ $TYPO3_CONF_VARS = array(
                'loginNewsTitle' => '',                                 // Define alternative header message for the LoginNews. If this var is empty, the default header "Important messages:" is displayed.
                'XLLfile' => array(),                                   // @deprecated For extension/overriding of the arrays in 'locallang' files in the backend. See 'Inside TYPO3' for more information.
                'notificationPrefix' => '[TYPO3 Note]', // String: Used to prefix the subject of mails sent in the taskcenter
-               'accessListRenderMode' => 'singlebox',  // Can be "singlebox", "checkbox" or blank. Refers to the "renderMode" for the selector boxes in be-groups configuration.
+               'accessListRenderMode' => 'checkbox',   // Can be "singlebox", "checkbox" or blank. Refers to the "renderMode" for the selector boxes in be-groups configuration.
                'explicitADmode' => 'explicitDeny',     // Sets the general allow/deny mode for selector box values. Value can be either "explicitAllow" or "explicitDeny", nothing else!
                'TSconfigConditions' => TRUE,                   // Boolean: When set it is possible to have TypoScript like conditions in BE Page/User/Group TS-Config
                'niceFlexFormXMLtags' => TRUE,                  // If set, the flexform XML will be stored with meaningful tags which can be validated with DTD schema. If you rely on custom reading of the XML from pre-4.0 versions you should set this to false if you don't like to change your reader code (internally it is insignificant since t3lib_div::xml2array() doesn't care for the tags if the index-attribute value is set)
@@ -347,7 +566,7 @@ $TYPO3_CONF_VARS = array(
                'XCLASS' => array(),                                    // See 'Inside TYPO3' document for more information.
        ),
        'MAIL' => array(                // Mail configurations to tune how t3lib_mail classes will send their mails.
-               'transport' => 'mail',                                  // <p>String:</p><dl><dt>mail</dt><dd>Sends messages by delegating to PHP's internal mail() function. No further settings required. This is the most unreliable option. If you are serious about sending mails, consider using "smtp" or "sendmail".</dd><dt>smtp</dt><dd>Sends messages over the (standardized) Simple Message Transfer Protocol. It can deal with encryption and authentication. Most flexible option, requires a mail server and configurations in transport_smtp_* settings below. Works the same on Windows, Unix and MacOS.</dd><dt>sendmail</dt><dd>Sends messages by communicating with a locally installed MTA  such as sendmail. See setting transport_sendmail_command bellow.<dd><dt>mbox</dt><dd>This doesn't send any mail out, but instead will write every outgoing mail to a file adhering to the RFC 4155 mbox format, which is a simple text file where the mails are concatenated. Useful for debugging the mail sending process and on development machines which cannot send mails to the outside. Configure the file to write to in the 'transport_mbox_file' setting below</dd></dl>
+               'transport' => 'mail',                                  // <p>String:</p><dl><dt>mail</dt><dd>Sends messages by delegating to PHP's internal mail() function. No further settings required. This is the most unreliable option. If you are serious about sending mails, consider using "smtp" or "sendmail".</dd><dt>smtp</dt><dd>Sends messages over the (standardized) Simple Message Transfer Protocol. It can deal with encryption and authentication. Most flexible option, requires a mail server and configurations in transport_smtp_* settings below. Works the same on Windows, Unix and MacOS.</dd><dt>sendmail</dt><dd>Sends messages by communicating with a locally installed MTA - such as sendmail. See setting transport_sendmail_command bellow.<dd><dt>mbox</dt><dd>This doesn't send any mail out, but instead will write every outgoing mail to a file adhering to the RFC 4155 mbox format, which is a simple text file where the mails are concatenated. Useful for debugging the mail sending process and on development machines which cannot send mails to the outside. Configure the file to write to in the 'transport_mbox_file' setting below</dd></dl>
                'transport_smtp_server' => 'localhost:25',                      // String: <em>only with transport=smtp</em>: &lt;server:port> of mailserver to connect to. &lt;port> defaults to "25".
                'transport_smtp_encrypt' => FALSE,              // Boolean: <em>only with transport=smtp</em>: Connect to the server using encryption and TLS. Requires openssl library.
                'transport_smtp_username' => '',                // String: <em>only with transport=smtp</em>: If your SMTP server requires authentication, enter your username here.
@@ -387,6 +606,9 @@ $TYPO3_CONF_VARS = array(
                        'TYPO3.LiveSearchActions.ExtDirect' => 't3lib/extjs/dataprovider/class.extdirect_dataprovider_backendlivesearch.php:extDirect_DataProvider_BackendLiveSearch',
                        'TYPO3.BackendUserSettings.ExtDirect' => 't3lib/extjs/dataprovider/class.extdirect_dataprovider_beusersettings.php:extDirect_DataProvider_BackendUserSettings',
                        'TYPO3.ExtDirectStateProvider.ExtDirect' => 't3lib/extjs/dataprovider/class.extdirect_dataprovider_state.php:extDirect_DataProvider_State',
+                       'TYPO3.Components.PageTree.DataProvider' => 't3lib/tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php:t3lib_tree_pagetree_extdirect_Tree',
+                       'TYPO3.Components.PageTree.Commands' => 't3lib/tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_tree.php:t3lib_tree_pagetree_extdirect_Commands',
+                       'TYPO3.Components.PageTree.ContextMenuDataProvider' => 't3lib/contextmenu/pagetree/extdirect/class.t3lib_contextmenu_pagetree_extdirect_contextmenu.php:t3lib_contextmenu_pagetree_extdirect_ContextMenu',
                ),
        ),
        'EXTCONF' => array(             // Here you may add manually set configuration options for your extensions. Eg. $TYPO3_CONF_VARS['EXTCONF']['my_extension_key']['my_option'] = 'my_value';
@@ -404,7 +626,7 @@ $T3_VAR = array();  // Initialize.
 $TYPO_VERSION = '4.5-dev';     // deprecated: use the constants defined below
 define('TYPO3_version', $TYPO_VERSION);
 define('TYPO3_branch', '4.5');
-define('TYPO3_copyright_year', '1998-2010');
+define('TYPO3_copyright_year', '1998-2011');
 define('TYPO3_user_agent', 'User-Agent: TYPO3/'.TYPO3_version);
 
 // Database-variables are cleared!
@@ -595,7 +817,7 @@ $TYPO3_CONF_VARS['SC_OPTIONS']['errors']['exceptionHandler'] = $TYPO3_CONF_VARS[
 $TYPO3_CONF_VARS['SC_OPTIONS']['errors']['exceptionalErrors'] = $TYPO3_CONF_VARS['SYS']['exceptionalErrors'];
 
        // Mail sending via Swift Mailer
-$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/utility/class.t3lib_utility_mail.php']['substituteMailDelivery'][] = 'tx_t3lib_mail_hooks->sendMail';
+$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/utility/class.t3lib_utility_mail.php']['substituteMailDelivery'][] = 't3lib_mail_SwiftMailerAdapter';
 
        // Turn error logging on/off.
 if (($displayErrors = intval($TYPO3_CONF_VARS['SYS']['displayErrors'])) != '-1')       {
@@ -704,4 +926,4 @@ $SIM_EXEC_TIME = $EXEC_TIME;                        // $SIM_EXEC_TIME is set to $EXEC_TIME but can be
 $ACCESS_TIME = $EXEC_TIME - ($EXEC_TIME % 60);         // $ACCESS_TIME is a common time in minutes for access control
 $SIM_ACCESS_TIME = $ACCESS_TIME;               // if $SIM_EXEC_TIME is changed this value must be set accordingly
 
-?>
+?>
\ No newline at end of file