[TASK] Remove whitespace between variable name and square bracket.
authorStefano Kowalke <blueduck@gmx.net>
Thu, 21 Apr 2011 11:40:28 +0000 (13:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 21 Apr 2011 12:20:56 +0000 (14:20 +0200)
This is a CGL cleanup.

Change-Id: I30ef7ff173b91a14f8562c094ed071917a4918cb
Resolves: #26171
Releases: 4.6
Reviewed-on: http://review.typo3.org/1693
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/alt_clickmenu.php
typo3/class.db_list_extra.inc
typo3/sysext/cms/ext_localconf.php
typo3/sysext/cms/tslib/class.tslib_adminpanel.php
typo3/sysext/felogin/ext_localconf.php

index 02057ed..4ff0a19 100644 (file)
@@ -611,7 +611,7 @@ class clickMenu {
        function DB_newWizard($table,$uid,$rec) {
                        //  If mod.web_list.newContentWiz.overrideWithExtension is set, use that extension's create new content wizard instead:
                $tmpTSc = t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.web_list');
-               $tmpTSc = $tmpTSc ['properties']['newContentWiz.']['overrideWithExtension'];
+               $tmpTSc = $tmpTSc['properties']['newContentWiz.']['overrideWithExtension'];
                $newContentWizScriptPath = t3lib_extMgm::isLoaded($tmpTSc) ? (t3lib_extMgm::extRelPath($tmpTSc).'mod1/db_new_content_el.php') : 'sysext/cms/layout/db_new_content_el.php';
 
                $url = ($table=='pages' || !t3lib_extMgm::isLoaded('cms')) ? 'db_new.php?id='.$uid.'&pagesOnly=1' : $newContentWizScriptPath.'?id='.$rec['pid'].'&sys_language_uid='.intval($rec['sys_language_uid']);
index 90b9fba..ca092eb 100644 (file)
@@ -917,7 +917,7 @@ class localRecordList extends recordList {
                                                        if ($table=="tt_content" && $this->newWizards)  {
                                                                        //  If mod.web_list.newContentWiz.overrideWithExtension is set, use that extension's create new content wizard instead:
                                                                $tmpTSc = t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.web_list');
-                                                               $tmpTSc = $tmpTSc ['properties']['newContentWiz.']['overrideWithExtension'];
+                                                               $tmpTSc = $tmpTSc['properties']['newContentWiz.']['overrideWithExtension'];
                                                                $newContentWizScriptPath = $this->backPath.t3lib_extMgm::isLoaded($tmpTSc) ? (t3lib_extMgm::extRelPath($tmpTSc).'mod1/db_new_content_el.php') : 'sysext/cms/layout/db_new_content_el.php';
 
                                                                $icon = '<a href="#" onclick="' . htmlspecialchars('return jumpExt(\'' . $newContentWizScriptPath . '?id=' . $this->id . '\');') . '" title="' . $GLOBALS['LANG']->getLL('new', TRUE) . '">'.
index 55287b5..823d968 100644 (file)
@@ -200,8 +200,8 @@ if (TYPO3_MODE === 'FE') {
 }
 
        // register search keys
-$GLOBALS ['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
-$GLOBALS ['TYPO3_CONF_VARS']['SYS']['livesearch']['content'] = 'tt_content';
+$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
+$GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['content'] = 'tt_content';
 
        //register hook to show preview info
 $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';
index 5ae3c5f..63bf875 100644 (file)
@@ -748,7 +748,7 @@ $query . '<table class="typo3-adminPanel">' .
        public function ext_makeToolBar() {
                        //  If mod.web_list.newContentWiz.overrideWithExtension is set, use that extension's create new content wizard instead:
                $tsConfig = t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.web_list');
-               $tsConfig = $tsConfig ['properties']['newContentWiz.']['overrideWithExtension'];
+               $tsConfig = $tsConfig['properties']['newContentWiz.']['overrideWithExtension'];
                $newContentWizScriptPath = t3lib_extMgm::isLoaded($tsConfig) ? (t3lib_extMgm::extRelPath($tsConfig) . 'mod1/db_new_content_el.php') : (TYPO3_mainDir . 'sysext/cms/layout/db_new_content_el.php');
 
                $perms = $GLOBALS['BE_USER']->calcPerms($GLOBALS['TSFE']->page);
index 222c07d..e9b8f64 100644 (file)
@@ -27,7 +27,7 @@ t3lib_extMgm::addTypoScript($_EXTKEY,'setup','# Setting '.$_EXTKEY.' plugin Typo
 
 //activate support for kb_md5fepw
 if (t3lib_extMgm::isLoaded('kb_md5fepw') && (TYPO3_MODE == 'FE')) {
-       $GLOBALS ['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][] = 'tx_kbmd5fepw_newloginbox->loginFormOnSubmit';
+       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][] = 'tx_kbmd5fepw_newloginbox->loginFormOnSubmit';
        require_once(t3lib_extMgm::extPath('kb_md5fepw').'pi1/class.tx_kbmd5fepw_newloginbox.php');
 }