[TASK] Replace Space Indent into Tab indent (CGL Cleanup)
authorStefano Kowalke <blueduck@gmx.net>
Sat, 5 May 2012 23:00:22 +0000 (01:00 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 6 May 2012 08:10:11 +0000 (10:10 +0200)
This patch replaces some forgotten and/or
overseen space chars in indention into tab chars.

Change-Id: I1118488ee3e06d5529d741b2811095548ca818a5
Resolves: #36871
Reviewed-on: http://review.typo3.org/11018
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
142 files changed:
t3lib/class.t3lib_beuserauth.php
t3lib/class.t3lib_compressor.php
t3lib/class.t3lib_cs.php
t3lib/class.t3lib_foldertree.php
t3lib/class.t3lib_iconworks.php
t3lib/class.t3lib_loaddbgroup.php
t3lib/class.t3lib_loadmodules.php
t3lib/class.t3lib_pagerenderer.php
t3lib/class.t3lib_pagetree.php
t3lib/class.t3lib_parsehtml_proc.php
t3lib/class.t3lib_positionmap.php
t3lib/class.t3lib_querygenerator.php
t3lib/class.t3lib_recordlist.php
t3lib/class.t3lib_refindex.php
t3lib/class.t3lib_registry.php
t3lib/class.t3lib_spritemanager.php
t3lib/class.t3lib_sqlparser.php
t3lib/class.t3lib_stdgraphic.php
t3lib/class.t3lib_tceforms.php
t3lib/class.t3lib_tceforms_fe.php
t3lib/class.t3lib_tceforms_inline.php
t3lib/class.t3lib_tcemain.php
t3lib/class.t3lib_transferdata.php
t3lib/class.t3lib_treeview.php
t3lib/class.t3lib_tsparser_ext.php
t3lib/class.t3lib_tsstyleconfig.php
t3lib/class.t3lib_userauth.php
t3lib/class.t3lib_userauthgroup.php
t3lib/config_default.php
t3lib/error/class.t3lib_error_abstractexceptionhandler.php
t3lib/error/class.t3lib_error_debugexceptionhandler.php
t3lib/extjs/class.t3lib_extjs_extdirectapi.php
t3lib/file/Service/ImageProcessingService.php
t3lib/file/Storage.php
t3lib/matchcondition/class.t3lib_matchcondition_abstract.php
t3lib/spritemanager/class.t3lib_spritemanager_spritegenerator.php
t3lib/stddb/tbl_pages.php
t3lib/tceforms/class.t3lib_tceforms_suggest.php
t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php
t3lib/tree/class.t3lib_tree_representationnode.php
t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php
t3lib/tree/pagetree/extdirect/class.t3lib_tree_pagetree_extdirect_commands.php
t3lib/tree/tca/class.t3lib_tree_tca_extjsarrayrenderer.php
t3lib/utility/class.t3lib_utility_client.php
t3lib/utility/class.t3lib_utility_debug.php
tests/Unit/t3lib/cache/frontend/class.t3lib_cache_frontend_variablefrontendTest.php
tests/Unit/t3lib/file/Driver/LocalDriverTest.php
tests/Unit/t3lib/file/FileTest.php
tests/Unit/t3lib/file/Repository/AbstractRepositoryTest.php
tests/Unit/t3lib/file/StorageTest.php
tests/Unit/t3lib/utility/class.t3lib_utility_clientTest.php
tests/Unit/t3lib/utility/class.t3lib_utility_mailTest.php
tests/Unit/t3lib/utility/class.t3lib_utility_mathTest.php
typo3/alt_clickmenu.php
typo3/alt_db_navframe.php
typo3/alt_doc.php
typo3/backend.php
typo3/browse_links.php
typo3/class.browse_links.php
typo3/class.db_list_extra.inc
typo3/class.file_list.inc
typo3/class.show_rechis.inc
typo3/classes/class.ajaxlogin.php
typo3/classes/class.modulemenu.php
typo3/classes/class.typo3_tcefile.php
typo3/db_new.php
typo3/sysext/aboutmodules/class.tx_aboutmodules_functions.php
typo3/sysext/beuser/mod/index.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/sysext/cms/tbl_tt_content.php
typo3/sysext/cms/tests/tslib/class.tslib_contentTest.php
typo3/sysext/cms/tslib/class.tslib_content.php
typo3/sysext/cms/tslib/class.tslib_fe.php
typo3/sysext/cms/tslib/class.tslib_mediawizardcoreprovider.php
typo3/sysext/cms/tslib/class.tslib_pagegen.php
typo3/sysext/cms/tslib/class.tslib_pibase.php
typo3/sysext/cms/tslib/class.tslib_search.php
typo3/sysext/cms/tslib/content/class.tslib_content_fluidtemplate.php
typo3/sysext/cms/tslib/content/class.tslib_content_scalablevectorgraphics.php
typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php
typo3/sysext/cms/tslib/hooks/class.tx_cms_fehooks.php
typo3/sysext/cms/tslib/index_ts.php
typo3/sysext/cms/tslib/media/scripts/example_languageMenu.php
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectsoap.php
typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php
typo3/sysext/em/classes/database/class.tx_em_database.php
typo3/sysext/em/classes/index.php
typo3/sysext/em/classes/reports/class.tx_em_reports_extensionstatus.php
typo3/sysext/em/classes/tools/class.tx_em_tools.php
typo3/sysext/em/ext_tables.php
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php
typo3/sysext/filelist/mod1/file_list.php
typo3/sysext/impexp/app/index.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php
typo3/sysext/indexed_search/class.indexer.php
typo3/sysext/indexed_search/example/class.crawlerhook.php
typo3/sysext/indexed_search/ext_localconf.php
typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php
typo3/sysext/indexed_search/modfunc2/class.tx_indexedsearch_modfunc2.php
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php
typo3/sysext/indexed_search/tca.php
typo3/sysext/indexed_search/tests/tx_indexedsearch_indexerTest.php
typo3/sysext/install/Classes/Updates/File/TtContentUploadsUpdateWizard.php
typo3/sysext/install/mod/index.php
typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php
typo3/sysext/install/updates/class.tx_coreupdates_installsysexts.php
typo3/sysext/lang/ext_localconf.php
typo3/sysext/lang/hooks/clearcache/class.tx_lang_clearcachemenu.php
typo3/sysext/openid/ext_localconf.php
typo3/sysext/openid/sv1/class.tx_openid_store.php
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php
typo3/sysext/rtehtmlarea/ext_localconf.php
typo3/sysext/rtehtmlarea/extensions/Acronym/class.tx_rtehtmlarea_acronym.php
typo3/sysext/rtehtmlarea/extensions/CopyPaste/class.tx_rtehtmlarea_copypaste.php
typo3/sysext/rtehtmlarea/extensions/InlineElements/class.tx_rtehtmlarea_inlineelements.php
typo3/sysext/rtehtmlarea/extensions/SelectFont/class.tx_rtehtmlarea_selectfont.php
typo3/sysext/rtehtmlarea/mod3/browse_links.php
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php
typo3/sysext/saltedpasswords/classes/class.tx_saltedpasswords_emconfhelper.php
typo3/sysext/scheduler/class.tx_scheduler.php
typo3/sysext/scheduler/class.tx_scheduler_task.php
typo3/sysext/scheduler/examples/class.tx_scheduler_sleeptask.php
typo3/sysext/scheduler/examples/class.tx_scheduler_testtask.php
typo3/sysext/scheduler/mod1/index.php
typo3/sysext/setup/mod/index.php
typo3/sysext/statictemplates/media/scripts/example_languageMenu.php
typo3/sysext/sv/class.tx_sv_authbase.php
typo3/sysext/sys_action/task/class.tx_sysaction_task.php
typo3/sysext/t3editor/classes/class.tx_t3editor.php
typo3/sysext/taskcenter/classes/class.tx_taskcenter_status.php
typo3/sysext/tsconfig_help/mod1/index.php
typo3/sysext/tstemplate/ts/index.php
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php
typo3/template.php
typo3/view_help.php
typo3/wizard_forms.php
typo3/wizard_table.php

index 37e36c2..a593a57 100644 (file)
@@ -83,7 +83,7 @@ class t3lib_beUserAuth extends t3lib_userAuthGroup {
                   Reserved keys for other storage of session data:
                   moduleData
                   moduleSessionID
-          */
+       */
        var $uc_default = Array(
                'interfaceSetup' => '', // serialized content that is used to store interface pane and menu positions. Set by the logout.php-script
                'moduleData' => Array(), // user-data for the modules
index 3f7e630..d22ced9 100644 (file)
@@ -187,8 +187,8 @@ class t3lib_Compressor {
                        $filenameFromMainDir = $this->getFilenameFromMainDir($fileOptions['file']);
                                // if $options['baseDirectories'] set, we only include files below these directories
                        if ((!isset($options['baseDirectories'])
-                         || $this->checkBaseDirectory($filenameFromMainDir, array_merge($options['baseDirectories'], array($this->targetDirectory))))
-                         && ($fileOptions['media'] === 'all')
+                               || $this->checkBaseDirectory($filenameFromMainDir, array_merge($options['baseDirectories'], array($this->targetDirectory))))
+                               && ($fileOptions['media'] === 'all')
                        ) {
                                $filesToInclude[] = $filenameFromMainDir;
                                        // remove the file from the incoming file array
index a27a084..9ee828d 100644 (file)
@@ -1592,7 +1592,7 @@ class t3lib_cs {
                                           return $crop.substr($string,$i);
                                   }
                           }
-   */
+                       */
                }
                return $string;
        }
index 69d2ce1..da62be2 100644 (file)
@@ -601,10 +601,10 @@ class t3lib_folderTree extends t3lib_treeView {
                if ($treeName && $treeName == $this->treeName) {
                        if (in_array($storageHashNumber, $this->storageHashNumbers)) {
                                if ($doExpand == 1) {
-                                               // set
+                                               // set
                                        $this->stored[$storageHashNumber][$numericFolderHash] = 1;
                                } else {
-                                               // clear
+                                               // clear
                                        unset($this->stored[$storageHashNumber][$numericFolderHash]);
                                }
                                $this->savePosition();
index 321b8ac..33417d9 100644 (file)
@@ -126,8 +126,8 @@ final class t3lib_iconWorks {
         */
        public static function getIconImage($table, $row = array(), $backPath, $params = '', $shaded = FALSE) {
                $str = '<img' .
-                          self::skinImg($backPath, self::getIcon($table, $row, $shaded), 'width="18" height="16"') .
-                          (trim($params) ? ' ' . trim($params) : '');
+                       self::skinImg($backPath, self::getIcon($table, $row, $shaded), 'width="18" height="16"') .
+                       (trim($params) ? ' ' . trim($params) : '');
                if (!stristr($str, 'alt="')) {
                        $str .= ' alt=""';
                }
index be91d29..e3ee530 100644 (file)
@@ -393,7 +393,7 @@ class t3lib_loadDBGroup {
                                        $oldMMs_index = array_search($item, $oldMMs);
 
                                        $whereClause = $uidLocal_field . '=' . $uid . ' AND ' . $uidForeign_field . '=' . $val['id'] .
-                                                                  ($this->MM_hasUidField ? ' AND uid=' . intval($oldMMs_inclUid[$oldMMs_index][2]) : ''); // In principle, selecting on the UID is all we need to do if a uid field is available since that is unique! But as long as it "doesn't hurt" we just add it to the where clause. It should all match up.
+                                                               ($this->MM_hasUidField ? ' AND uid=' . intval($oldMMs_inclUid[$oldMMs_index][2]) : ''); // In principle, selecting on the UID is all we need to do if a uid field is available since that is unique! But as long as it "doesn't hurt" we just add it to the where clause. It should all match up.
                                        if ($tablename) {
                                                $whereClause .= ' AND tablenames=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($tablename, $MM_tableName);
                                        }
index e0652f6..4808807 100644 (file)
@@ -124,7 +124,7 @@ class t3lib_loadModules {
                           User defined modules were found in ../typo3conf/
 
                           Today almost all modules reside in extensions and they are found by the _PATHS array of the incoming $TBE_MODULES array
-                  */
+               */
                        // Setting paths for 1) core modules (old concept from mod/) and 2) user-defined modules (from ../typo3conf)
                $paths = array();
                $paths['defMods'] = PATH_typo3 . 'mod/'; // Path of static modules
index f44ead0..93d3f1f 100644 (file)
@@ -1517,22 +1517,22 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                }
                        // postTransform for possible manuipulation of concatenated and compressed files
                if(is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postTransform'])) {
-                         $params = array(
-                                 'jsLibs' => &$this->jsLibs,
-                                 'jsFooterLibs'   => &$this->jsFooterLibs,
-                                 'jsFiles' => &$this->jsFiles,
-                                 'jsFooterFiles' => &$this->jsFooterFiles,
-                                 'cssFiles' => &$this->cssFiles,
-                                 'headerData' => &$this->headerData,
-                                 'footerData' => &$this->footerData,
-                                 'jsInline' => &$this->jsInline,
-                                 'jsFooterInline' => &$this->jsFooterInline,
-                                 'cssInline' => &$this->cssInline,
-                         );
+                       $params = array(
+                               'jsLibs' => &$this->jsLibs,
+                               'jsFooterLibs'   => &$this->jsFooterLibs,
+                               'jsFiles' => &$this->jsFiles,
+                               'jsFooterFiles' => &$this->jsFooterFiles,
+                               'cssFiles' => &$this->cssFiles,
+                               'headerData' => &$this->headerData,
+                               'footerData' => &$this->footerData,
+                               'jsInline' => &$this->jsInline,
+                               'jsFooterInline' => &$this->jsFooterInline,
+                               'cssInline' => &$this->cssInline,
+                       );
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postTransform'] as $hook) {
                                t3lib_div::callUserFunction($hook, $params, $this);
                        }
-                }
+               }
                $metaTags = implode(LF, $this->metaTags);
 
                        // remove ending slashes from static header block
@@ -1552,9 +1552,9 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                                $properties['file'] = t3lib_div::resolveBackPath($properties['file']);
                                $properties['file'] = t3lib_div::createVersionNumberedFilename($properties['file']);
                                $tag = '<link rel="' . htmlspecialchars($properties['rel']) . '" type="text/css" href="' .
-                                          htmlspecialchars($properties['file']) . '" media="' . htmlspecialchars($properties['media']) . '"' .
-                                          ($properties['title'] ? ' title="' . htmlspecialchars($properties['title']) . '"' : '') .
-                                          $endingSlash . '>';
+                                       htmlspecialchars($properties['file']) . '" media="' . htmlspecialchars($properties['media']) . '"' .
+                                       ($properties['title'] ? ' title="' . htmlspecialchars($properties['title']) . '"' : '') .
+                                       $endingSlash . '>';
                                if ($properties['allWrap'] && strpos($properties['allWrap'], '|') !== FALSE) {
                                        $tag = str_replace('|', $tag, $properties['allWrap']);
                                }
@@ -1772,19 +1772,19 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                        if (count($mods)) {
                                foreach ($mods as $module) {
                                        $out .= '<script src="' . $this->processJsFile($this->backPath .
-                                                                                                                                  $this->scriptaculousPath . $module . '.js') . '" type="text/javascript"></script>' . LF;
+                                                                                                                               $this->scriptaculousPath . $module . '.js') . '" type="text/javascript"></script>' . LF;
                                        unset($this->jsFiles[$this->backPath . $this->scriptaculousPath . $module . '.js']);
                                }
                        }
                        $out .= '<script src="' . $this->processJsFile($this->backPath . $this->scriptaculousPath .
-                                                                                                                  'scriptaculous.js') . '" type="text/javascript"></script>' . LF;
+                                                                                                               'scriptaculous.js') . '" type="text/javascript"></script>' . LF;
                        unset($this->jsFiles[$this->backPath . $this->scriptaculousPath . 'scriptaculous.js']);
                }
 
                        // include extCore, but only if ExtJS is not included
                if ($this->addExtCore && !$this->addExtJS) {
                        $out .= '<script src="' . $this->processJsFile($this->backPath .
-                                                                                                                  $this->extCorePath . 'ext-core' . ($this->enableExtCoreDebug ? '-debug' : '') . '.js') .
+                                                                                                               $this->extCorePath . 'ext-core' . ($this->enableExtCoreDebug ? '-debug' : '') . '.js') .
                                        '" type="text/javascript"></script>' . LF;
                        unset($this->jsFiles[$this->backPath . $this->extCorePath . 'ext-core' . ($this->enableExtCoreDebug ? '-debug' : '') . '.js']);
                }
@@ -1793,11 +1793,11 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                if ($this->addExtJS) {
                                // use the base adapter all the time
                        $out .= '<script src="' . $this->processJsFile($this->backPath . $this->extJsPath .
-                                                                                                                  'adapter/' . ($this->enableExtJsDebug ?
+                                                                                                               'adapter/' . ($this->enableExtJsDebug ?
                                        str_replace('.js', '-debug.js', $this->extJSadapter) : $this->extJSadapter)) .
                                        '" type="text/javascript"></script>' . LF;
                        $out .= '<script src="' . $this->processJsFile($this->backPath . $this->extJsPath .
-                                                                                                                  'ext-all' . ($this->enableExtJsDebug ? '-debug' : '') . '.js') .
+                                                                                                               'ext-all' . ($this->enableExtJsDebug ? '-debug' : '') . '.js') .
                                        '" type="text/javascript"></script>' . LF;
 
                                // add extJS localization
@@ -1814,7 +1814,7 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                        $extJsLocaleFile = $this->extJsPath . 'locale/ext-lang-' . $extJsLang . '.js';
                        if (file_exists(PATH_typo3 . $extJsLocaleFile)) {
                                $out .= '<script src="' . $this->processJsFile($this->backPath .
-                                                                                                                          $extJsLocaleFile) . '" type="text/javascript" charset="utf-8"></script>' . LF;
+                                                                                                                       $extJsLocaleFile) . '" type="text/javascript" charset="utf-8"></script>' . LF;
                        }
 
 
index ee235c4..b35f73d 100644 (file)
@@ -71,13 +71,13 @@ class t3lib_pageTree extends t3lib_treeView {
                        $this->fieldArray = array_merge(
                                $this->fieldArray,
                                array(
-                                        'hidden',
-                                        'starttime',
-                                        'endtime',
-                                        'fe_group',
-                                        'module',
-                                        'extendToSubpages',
-                                        'nav_hide')
+                                       'hidden',
+                                       'starttime',
+                                       'endtime',
+                                       'fe_group',
+                                       'module',
+                                       'extendToSubpages',
+                                       'nav_hide')
                        );
                }
                $this->table = 'pages';
index 3437329..7e78f85 100644 (file)
@@ -939,21 +939,21 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
                                                        if (!isset($this->procOptions['typohead']) || $this->procOptions['typohead']) {
                                                                $type = intval(substr($tagName, 1));
                                                                $blockSplit[$k] = '<typohead' .
-                                                                                                 ($type != 6 ? ' type="' . $type . '"' : '') .
-                                                                                                 ($attribArray['align'] ? ' align="' . $attribArray['align'] . '"' : '') .
-                                                                                                 ($attribArray['class'] ? ' class="' . $attribArray['class'] . '"' : '') .
-                                                                                                 '>' .
-                                                                                                 $innerContent .
-                                                                                                 '</typohead>' .
-                                                                                                 $lastBR;
+                                                                                               ($type != 6 ? ' type="' . $type . '"' : '') .
+                                                                                               ($attribArray['align'] ? ' align="' . $attribArray['align'] . '"' : '') .
+                                                                                               ($attribArray['class'] ? ' class="' . $attribArray['class'] . '"' : '') .
+                                                                                               '>' .
+                                                                                               $innerContent .
+                                                                                               '</typohead>' .
+                                                                                               $lastBR;
                                                        } else {
                                                                $blockSplit[$k] = '<' . $tagName .
-                                                                                                 ($attribArray['align'] ? ' align="' . htmlspecialchars($attribArray['align']) . '"' : '') .
-                                                                                                 ($attribArray['class'] ? ' class="' . htmlspecialchars($attribArray['class']) . '"' : '') .
-                                                                                                 '>' .
-                                                                                                 $innerContent .
-                                                                                                 '</' . $tagName . '>' .
-                                                                                                 $lastBR;
+                                                                                               ($attribArray['align'] ? ' align="' . htmlspecialchars($attribArray['align']) . '"' : '') .
+                                                                                               ($attribArray['class'] ? ' class="' . htmlspecialchars($attribArray['class']) . '"' : '') .
+                                                                                               '>' .
+                                                                                               $innerContent .
+                                                                                               '</' . $tagName . '>' .
+                                                                                               $lastBR;
                                                        }
                                                } else {
                                                                // Eliminate true linebreaks inside Hx tags
@@ -1045,8 +1045,8 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
                                        case 'article':
                                        case 'aside':
                                                $blockSplit[$k] = $tag .
-                                                                                 $this->TS_transform_rte($this->removeFirstAndLastTag($blockSplit[$k]), $css) .
-                                                                                 '</' . $tagName . '>';
+                                                                               $this->TS_transform_rte($this->removeFirstAndLastTag($blockSplit[$k]), $css) .
+                                                                               '</' . $tagName . '>';
                                        break;
                                        case 'typolist': // Transform typolist blocks into OL/UL lists. Type 1 is expected to be numerical block
                                                if (!isset($this->procOptions['typolist']) || $this->procOptions['typolist']) {
@@ -1056,8 +1056,8 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
                                                        $lines = explode(LF, $tListContent);
                                                        $typ = $attribArray['type'] == 1 ? 'ol' : 'ul';
                                                        $blockSplit[$k] = '<' . $typ . '>' . LF .
-                                                                                         '<li>' . implode('</li>' . LF . '<li>', $lines) . '</li>' .
-                                                                                         '</' . $typ . '>';
+                                                                                       '<li>' . implode('</li>' . LF . '<li>', $lines) . '</li>' .
+                                                                                       '</' . $typ . '>';
                                                }
                                        break;
                                        case 'typohead': // Transform typohead into Hx tags.
@@ -1070,8 +1070,8 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
                                                        $align = $attribArray['align'] ? ' align="' . $attribArray['align'] . '"' : '';
                                                        $class = $attribArray['class'] ? ' class="' . $attribArray['class'] . '"' : '';
                                                        $blockSplit[$k] = '<h' . $typ . $align . $class . '>' .
-                                                                                         $tC .
-                                                                                         '</h' . $typ . '>';
+                                                                                       $tC .
+                                                                                       '</h' . $typ . '>';
                                                }
                                        break;
                                }
@@ -1569,15 +1569,15 @@ class t3lib_parsehtml_proc extends t3lib_parsehtml {
        function defaultTStagMapping($code, $direction = 'rte') {
                if ($direction == 'db') {
                        $code = $this->mapTags($code, array( // Map tags
-                                                                                          'strong' => 'b',
-                                                                                          'em' => 'i'
-                                                                                 ));
+                                                                                       'strong' => 'b',
+                                                                                       'em' => 'i'
+                                                                               ));
                }
                if ($direction == 'rte') {
                        $code = $this->mapTags($code, array( // Map tags
-                                                                                          'b' => 'strong',
-                                                                                          'i' => 'em'
-                                                                                 ));
+                                                                                       'b' => 'strong',
+                                                                                       'i' => 'em'
+                                                                               ));
                }
                return $code;
        }
index 42fea06..51566fa 100644 (file)
@@ -120,11 +120,11 @@ class t3lib_positionMap {
                                if ($prev_dat['row']['uid'] == $id) {
                                        if (!$this->dontPrintPageInsertIcons && $this->checkNewPageInPid($id) && !($prev_dat['invertedDepth'] > $t3lib_pageTree->tree[$cc]['invertedDepth'])) { // 1) It must be allowed to create a new page and 2) If there are subpages there is no need to render a subpage icon here - it'll be done over the subpages...
                                                $code .= '<span class="nobr">' .
-                                                                $this->insertQuadLines($dat['blankLineCode']) .
-                                                                '<img src="clear.gif" width="18" height="8" align="top" alt="" />' .
-                                                                '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($id, $id, 1)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',1);') . '">' .
-                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgSubpage' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
-                                                                '</a></span><br />';
+                                                               $this->insertQuadLines($dat['blankLineCode']) .
+                                                               '<img src="clear.gif" width="18" height="8" align="top" alt="" />' .
+                                                               '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($id, $id, 1)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',1);') . '">' .
+                                                               '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgSubpage' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
+                                                               '</a></span><br />';
                                        }
                                }
 
@@ -135,11 +135,11 @@ class t3lib_positionMap {
                                        if (!$this->dontPrintPageInsertIcons && $this->checkNewPageInPid($prev_dat['row']['pid'])) {
                                                $prevPid = (-$prev_dat['row']['uid']);
                                                $code .= '<span class="nobr">' .
-                                                                $this->insertQuadLines($dat['blankLineCode']) .
-                                                                '<img src="clear.gif" width="18" height="1" align="top" alt="" />' .
-                                                                '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $prev_dat['row']['pid'], 2)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgAfter' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgAfter' . $cc . '\',1);') . '">' .
-                                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgAfter' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
-                                                                '</a></span><br />';
+                                                               $this->insertQuadLines($dat['blankLineCode']) .
+                                                               '<img src="clear.gif" width="18" height="1" align="top" alt="" />' .
+                                                               '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $prev_dat['row']['pid'], 2)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgAfter' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgAfter' . $cc . '\',1);') . '">' .
+                                                               '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgAfter' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
+                                                               '</a></span><br />';
                                        }
 
                                                // Then set the current prevPid
@@ -152,10 +152,10 @@ class t3lib_positionMap {
                        }
                        if (!$this->dontPrintPageInsertIcons && $this->checkNewPageInPid($dat['row']['pid'])) {
                                $code .= '<span class="nobr">' .
-                                                $this->insertQuadLines($dat['blankLineCode']) .
-                                                '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $dat['row']['pid'], 3)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',1);') . '">' .
-                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImg' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
-                                                '</a></span><br />';
+                                               $this->insertQuadLines($dat['blankLineCode']) .
+                                               '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $dat['row']['pid'], 3)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',1);') . '">' .
+                                               '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImg' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
+                                               '</a></span><br />';
                        }
 
                                // The line with the icon and title:
@@ -176,11 +176,11 @@ class t3lib_positionMap {
                if ($prev_dat['row']['uid'] == $id) {
                        if (!$this->dontPrintPageInsertIcons && $this->checkNewPageInPid($id)) {
                                $code .= '<span class="nobr">' .
-                                                $this->insertQuadLines($saveLatestUid[$latestInvDepth]['blankLineCode'], 1) .
-                                                '<img src="clear.gif" width="18" height="8" align="top" alt="" />' .
-                                                '<a href="#" onclick="' . $this->onClickEvent($id, $id, 4) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',1);') . '">' .
-                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgSubpage' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
-                                                '</a></span><br />';
+                                               $this->insertQuadLines($saveLatestUid[$latestInvDepth]['blankLineCode'], 1) .
+                                               '<img src="clear.gif" width="18" height="8" align="top" alt="" />' .
+                                               '<a href="#" onclick="' . $this->onClickEvent($id, $id, 4) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgSubpage' . $cc . '\',1);') . '">' .
+                                               '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgSubpage' . $cc . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
+                                               '</a></span><br />';
                        }
                }
 
@@ -189,10 +189,10 @@ class t3lib_positionMap {
                        $prevPid = (-$dat['row']['uid']);
                        if (!$this->dontPrintPageInsertIcons && $this->checkNewPageInPid($dat['row']['pid'])) {
                                $code .= '<span class="nobr">' .
-                                                $this->insertQuadLines($dat['blankLineCode'], 1) .
-                                                '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $dat['row']['pid'], 5)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgEnd' . $a . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgEnd' . $a . '\',1);') . '">' .
-                                                '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgEnd' . $a . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
-                                                '</a></span><br />';
+                                               $this->insertQuadLines($dat['blankLineCode'], 1) .
+                                               '<a href="#" onclick="' . htmlspecialchars($this->onClickEvent($prevPid, $dat['row']['pid'], 5)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImgEnd' . $a . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImgEnd' . $a . '\',1);') . '">' .
+                                               '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord_marker_d.gif', 'width="281" height="8"') . ' name="mImgEnd' . $a . '" border="0" align="top" title="' . $this->insertlabel() . '" alt="" />' .
+                                               '</a></span><br />';
                        }
                }
 
@@ -473,7 +473,7 @@ class t3lib_positionMap {
                        }
                        $table .= '</table></div>';
                } else {
-                   // Traverse the columns here:
+                       // Traverse the columns here:
                        foreach ($colPosArray as $kk => $vv) {
                                $row1 .= '<td align="center" width="' . round(100 / $count) . '%"><div class="t3-page-colHeader t3-row-header">' .
                                                $this->wrapColumnHeader($GLOBALS['LANG']->sL(t3lib_BEfunc::getLabelFromItemlist('tt_content', 'colPos', $vv, $pid), 1), $vv) .
@@ -523,8 +523,8 @@ class t3lib_positionMap {
        function insertPositionIcon($row, $vv, $kk, $moveUid, $pid) {
                $cc = hexdec(substr(md5($row['uid'] . '-' . $vv . '-' . $kk), 0, 4));
                return '<a href="#" onclick="' . htmlspecialchars($this->onClickInsertRecord($row, $vv, $moveUid, $pid, $this->cur_sys_language)) . '" onmouseover="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',0);') . '" onmouseout="' . htmlspecialchars('changeImg(\'mImg' . $cc . '\',1);') . '">' .
-                          '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord2_marker_d.gif', 'width="100" height="8"') . ' name="mImg' . $cc . '" border="0" align="top" title="' . $GLOBALS['LANG']->getLL($this->l_insertNewRecordHere, 1) . '" alt="" />' .
-                          '</a>';
+                       '<img' . t3lib_iconWorks::skinImg($this->backPath, 'gfx/newrecord2_marker_d.gif', 'width="100" height="8"') . ' name="mImg' . $cc . '" border="0" align="top" title="' . $GLOBALS['LANG']->getLL($this->l_insertNewRecordHere, 1) . '" alt="" />' .
+                       '</a>';
        }
 
        /**
index c0d399c..5cd0253 100644 (file)
@@ -1451,8 +1451,8 @@ class t3lib_queryGenerator {
                        }
                }
                $fieldlist = $this->extFieldLists['queryFields'] .
-                                        ',pid' .
-                                        ($GLOBALS['TCA'][$this->table]['ctrl']['delete'] ? ',' . $GLOBALS['TCA'][$this->table]['ctrl']['delete'] : '');
+                                       ',pid' .
+                                       ($GLOBALS['TCA'][$this->table]['ctrl']['delete'] ? ',' . $GLOBALS['TCA'][$this->table]['ctrl']['delete'] : '');
                if (!$GLOBALS['SOBE']->MOD_SETTINGS['show_deleted']) {
                        $qString .= t3lib_BEfunc::deleteClause($this->table);
                }
index 1be86a6..cdb48bc 100644 (file)
@@ -253,14 +253,14 @@ class t3lib_recordList {
                        case 'fwd':
                                $href = $this->listURL() . '&pointer=' . ($pointer - $this->iLimit) . $tParam;
                                $content = '<a href="' . htmlspecialchars($href) . '">' .
-                                                  t3lib_iconWorks::getSpriteIcon('actions-move-up') .
-                                                  '</a> <i>[1 - ' . $pointer . ']</i>';
+                                               t3lib_iconWorks::getSpriteIcon('actions-move-up') .
+                                               '</a> <i>[1 - ' . $pointer . ']</i>';
                        break;
                        case 'rwd':
                                $href = $this->listURL() . '&pointer=' . $pointer . $tParam;
                                $content = '<a href="' . htmlspecialchars($href) . '">' .
-                                                  t3lib_iconWorks::getSpriteIcon('actions-move-down') .
-                                                  '</a> <i>[' . ($pointer + 1) . ' - ' . $this->totalItems . ']</i>';
+                                               t3lib_iconWorks::getSpriteIcon('actions-move-down') .
+                                               '</a> <i>[' . ($pointer + 1) . ' - ' . $this->totalItems . ']</i>';
                        break;
                }
                return $content;
@@ -274,7 +274,7 @@ class t3lib_recordList {
         */
        function listURL($altId = '') {
                return $this->script .
-                          '?id=' . (strcmp($altId, '') ? $altId : $this->id);
+                       '?id=' . (strcmp($altId, '') ? $altId : $this->id);
        }
 
        /**
index 0acb79a..24d920c 100644 (file)
@@ -937,7 +937,7 @@ class t3lib_refindex {
                        // Searching lost indexes for non-existing tables:
                $where = 'tablename NOT IN (' .
                                implode(',', $GLOBALS['TYPO3_DB']->fullQuoteArray($tableNames, 'sys_refindex')) .
-                                ')';
+                               ')';
                $lostTables = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('hash', 'sys_refindex', $where);
                if (count($lostTables)) {
                        $Err = 'Index table hosted ' . count($lostTables) . ' indexes for non-existing tables, now removed';
index a572a17..0f4adc8 100644 (file)
@@ -92,9 +92,9 @@ class t3lib_Registry implements t3lib_Singleton {
                        $GLOBALS['TYPO3_DB']->exec_INSERTquery(
                                'sys_registry',
                                array(
-                                        'entry_namespace' => $namespace,
-                                        'entry_key' => $key,
-                                        'entry_value' => $serializedValue
+                                       'entry_namespace' => $namespace,
+                                       'entry_key' => $key,
+                                       'entry_value' => $serializedValue
                                )
                        );
                } else {
@@ -103,7 +103,7 @@ class t3lib_Registry implements t3lib_Singleton {
                                'entry_namespace = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($namespace, 'sys_registry')
                                . ' AND entry_key = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($key, 'sys_registry'),
                                array(
-                                        'entry_value' => $serializedValue
+                                       'entry_value' => $serializedValue
                                )
                        );
                }
index 2762e43..d544938 100644 (file)
@@ -73,9 +73,9 @@ class t3lib_SpriteManager {
 
                        // Create cache filename, the hash includes all icons, registered CSS styles registered and the extension list
                $this->tempFileName = PATH_site . self::$tempPath .
-                                                         md5(serialize($GLOBALS['TBE_STYLES']['spritemanager']) .
-                                                                 md5(serialize($GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'])) .
-                                                                 $GLOBALS['TYPO3_CONF_VARS']['EXT']['extList']) . '.inc';
+                                                       md5(serialize($GLOBALS['TBE_STYLES']['spritemanager']) .
+                                                               md5(serialize($GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'])) .
+                                                               $GLOBALS['TYPO3_CONF_VARS']['EXT']['extList']) . '.inc';
 
                        // Regenerate cache file if not already existing
                if (!@file_exists($this->tempFileName)) {
index 8c3d6c6..ed7a88f 100644 (file)
@@ -1632,13 +1632,13 @@ class t3lib_sqlparser {
                $query = 'SELECT ' . ($components['STRAIGHT_JOIN'] ? $components['STRAIGHT_JOIN'] . '' : '') . '
                                ' . $this->compileFieldList($components['SELECT']) . '
                                FROM ' . $this->compileFromTables($components['FROM']) .
-                                (strlen($where) ? '
+                               (strlen($where) ? '
                                WHERE ' . $where : '') .
-                                (strlen($groupBy) ? '
+                               (strlen($groupBy) ? '
                                GROUP BY ' . $groupBy : '') .
-                                (strlen($orderBy) ? '
+                               (strlen($orderBy) ? '
                                ORDER BY ' . $orderBy : '') .
-                                (strlen($limit) ? '
+                               (strlen($limit) ? '
                                LIMIT ' . $limit : '');
 
                return $query;
@@ -1728,7 +1728,7 @@ class t3lib_sqlparser {
 
                        // Make query:
                $query = 'DELETE FROM ' . $components['TABLE'] .
-                                (strlen($where) ? '
+                               (strlen($where) ? '
                                WHERE ' . $where : '');
 
                return $query;
index d514f81..24d4b04 100644 (file)
@@ -720,13 +720,13 @@ class t3lib_stdGraphic {
         */
        function addToMap($cords, $conf) {
                $this->map .= '<area' .
-                                         ' shape="poly"' .
-                                         ' coords="' . implode(',', $cords) . '"' .
-                                         ' href="' . htmlspecialchars($conf['url']) . '"' .
-                                         ($conf['target'] ? ' target="' . htmlspecialchars($conf['target']) . '"' : '') .
-                                         $JS .
-                                         (strlen($conf['titleText']) ? ' title="' . htmlspecialchars($conf['titleText']) . '"' : '') .
-                                         ' alt="' . htmlspecialchars($conf['altText']) . '" />';
+                                       ' shape="poly"' .
+                                       ' coords="' . implode(',', $cords) . '"' .
+                                       ' href="' . htmlspecialchars($conf['url']) . '"' .
+                                       ($conf['target'] ? ' target="' . htmlspecialchars($conf['target']) . '"' : '') .
+                                       $JS .
+                                       (strlen($conf['titleText']) ? ' title="' . htmlspecialchars($conf['titleText']) . '"' : '') .
+                                       ' alt="' . htmlspecialchars($conf['altText']) . '" />';
        }
 
        /**
index d6a76cb..a8945f8 100644 (file)
@@ -762,9 +762,9 @@ class t3lib_TCEforms {
                                                $inlineObjectId = implode(
                                                        t3lib_TCEforms_inline::Structure_Separator,
                                                        array(
-                                                                $this->inline->inlineNames['object'],
-                                                                $table,
-                                                                $row['uid']
+                                                               $this->inline->inlineNames['object'],
+                                                               $table,
+                                                               $row['uid']
                                                        )
                                                );
                                                $PA['fieldChangeFunc']['inline'] = "inline.handleChangedField('" . $PA['itemFormElName'] . "','" . $inlineObjectId . "');";
@@ -952,8 +952,8 @@ class t3lib_TCEforms {
                        $fieldAppendix = t3lib_iconWorks::getSpriteIcon(
                                'actions-edit-pick-date',
                                array(
-                                        'style' => 'cursor:pointer;',
-                                        'id' => 'picker-' . $inputId
+                                       'style' => 'cursor:pointer;',
+                                       'id' => 'picker-' . $inputId
                                )
                        );
                } elseif (in_array('timesec', $evalList)) {
@@ -1029,7 +1029,7 @@ class t3lib_TCEforms {
                $paramsList = "'" . $PA['itemFormElName'] . "','" . implode(',', $evalList) . "','" . trim($config['is_in']) . "'," . (isset($config['checkbox']) ? 1 : 0) . ",'" . $config['checkbox'] . "'";
                if ((in_array('date', $evalList) || in_array('datetime', $evalList))) {
                        $item .= '<span class="t3-tceforms-input-wrapper-datetime" onmouseOver="if (document.getElementById(\'' .
-                                        $inputId . '\').value) {this.className=\'t3-tceforms-input-wrapper-datetime-hover\';} else {this.className=\'t3-tceforms-input-wrapper-datetime\';};" onmouseOut="this.className=\'t3-tceforms-input-wrapper-datetime\';">';
+                                       $inputId . '\').value) {this.className=\'t3-tceforms-input-wrapper-datetime-hover\';} else {this.className=\'t3-tceforms-input-wrapper-datetime\';};" onmouseOut="this.className=\'t3-tceforms-input-wrapper-datetime\';">';
 
                                // Add server timezone offset to UTC to our stored date
                        if ($PA['itemFormElValue'] > 0) {
@@ -1037,7 +1037,7 @@ class t3lib_TCEforms {
                        }
                } else {
                        $item .= '<span class="t3-tceforms-input-wrapper" onmouseOver="if (document.getElementById(\'' . $inputId .
-                                        '\').value) {this.className=\'t3-tceforms-input-wrapper-hover\';} else {this.className=\'t3-tceforms-input-wrapper\';};" onmouseOut="this.className=\'t3-tceforms-input-wrapper\';">';
+                                       '\').value) {this.className=\'t3-tceforms-input-wrapper-hover\';} else {this.className=\'t3-tceforms-input-wrapper\';};" onmouseOut="this.className=\'t3-tceforms-input-wrapper\';">';
                }
 
                $PA['fieldChangeFunc'] = array_merge(
@@ -1053,18 +1053,18 @@ class t3lib_TCEforms {
 
                $cssClasses[] = 'hasDefaultValue';
                $item .= '<input type="text" ' .
-                                $this->getPlaceholderAttribute($table, $field, $config, $row) .
-                                'id="' . $inputId . '" ' .
-                                'class="' . implode(' ', $cssClasses) . '" ' .
-                                'name="' . $PA['itemFormElName'] . '_hr" ' .
-                                'value=""' .
-                                'style="' . $cssStyle . '" ' .
-                                'maxlength="' . $mLgd . '" ' .
-                                'onchange="' . htmlspecialchars($iOnChange) . '"' .
-                                $PA['onFocus'] .
-                                ' />'; // This is the EDITABLE form field.
+                               $this->getPlaceholderAttribute($table, $field, $config, $row) .
+                               'id="' . $inputId . '" ' .
+                               'class="' . implode(' ', $cssClasses) . '" ' .
+                               'name="' . $PA['itemFormElName'] . '_hr" ' .
+                               'value=""' .
+                               'style="' . $cssStyle . '" ' .
+                               'maxlength="' . $mLgd . '" ' .
+                               'onchange="' . htmlspecialchars($iOnChange) . '"' .
+                               $PA['onFocus'] .
+                               ' />'; // This is the EDITABLE form field.
                $item .= '<input type="hidden" name="' . $PA['itemFormElName'] . '" value="' .
-                                htmlspecialchars($PA['itemFormElValue']) . '" />'; // This is the ACTUAL form field - values from the EDITABLE field must be transferred to this field which is the one that is written to the database.
+                               htmlspecialchars($PA['itemFormElValue']) . '" />'; // This is the ACTUAL form field - values from the EDITABLE field must be transferred to this field which is the one that is written to the database.
                $item .= $fieldAppendix . '</span><div style="clear:both;"></div>';
                $this->extJSCODE .= 'typo3form.fieldSet(' . $paramsList . ');';
 
@@ -1242,17 +1242,17 @@ class t3lib_TCEforms {
                                $iOnChange = implode('', $PA['fieldChangeFunc']);
                                $item .= '
                                                        <textarea ' .
-                                                'id="' . uniqid('tceforms-textarea-') . '" ' .
-                                                'name="' . $PA['itemFormElName'] . '"' .
-                                                $formWidthText .
-                                                $class . ' ' .
-                                                'rows="' . $rows . '" ' .
-                                                'wrap="' . $wrap . '" ' .
-                                                'onchange="' . htmlspecialchars($iOnChange) . '"' .
+                                               'id="' . uniqid('tceforms-textarea-') . '" ' .
+                                               'name="' . $PA['itemFormElName'] . '"' .
+                                               $formWidthText .
+                                               $class . ' ' .
+                                               'rows="' . $rows . '" ' .
+                                               'wrap="' . $wrap . '" ' .
+                                               'onchange="' . htmlspecialchars($iOnChange) . '"' .
                                                $this->getPlaceholderAttribute($table, $field, $config, $row) .
-                                                $PA['onFocus'] . '>' .
-                                                t3lib_div::formatForTextarea($PA['itemFormElValue']) .
-                                                '</textarea>';
+                                               $PA['onFocus'] . '>' .
+                                               t3lib_div::formatForTextarea($PA['itemFormElValue']) .
+                                               '</textarea>';
                                $item = $this->renderWizards(array($item, $altItem), $config['wizards'], $table, $row, $field, $PA, $PA['itemFormElName'], $specConf, $RTEwouldHaveBeenLoaded);
                        }
                }
@@ -1303,9 +1303,9 @@ class t3lib_TCEforms {
                                $cBName = $PA['itemFormElName'] . '_' . $c;
                                $cBID = $PA['itemFormElID'] . '_' . $c;
                                $item .= '<td nowrap="nowrap">' .
-                                                '<input type="checkbox"' . $this->insertDefStyle('check') . ' value="1" name="' . $cBName . '"' . $cBP . $disabled . ' id="' . $cBID . '" />' .
-                                                $this->wrapLabels('<label for="' . $cBID . '">' . htmlspecialchars($p[0]) . '</label>&nbsp;') .
-                                                '</td>';
+                                               '<input type="checkbox"' . $this->insertDefStyle('check') . ' value="1" name="' . $cBName . '"' . $cBP . $disabled . ' id="' . $cBID . '" />' .
+                                               $this->wrapLabels('<label for="' . $cBID . '">' . htmlspecialchars($p[0]) . '</label>&nbsp;') .
+                                               '</td>';
                                if (($c % $cols) + 1 == $cols) {
                                        $item .= '</tr>';
                                }
@@ -1327,8 +1327,8 @@ class t3lib_TCEforms {
                                $cBName = $PA['itemFormElName'] . '_' . $c;
                                $cBID = $PA['itemFormElID'] . '_' . $c;
                                $item .= ($c > 0 ? '<br />' : '') .
-                                                '<input type="checkbox"' . $this->insertDefStyle('check') . ' value="1" name="' . $cBName . '"' . $cBP . $PA['onFocus'] . $disabled . ' id="' . $cBID . '" />' .
-                                                $this->wrapLabels('<label for="' . $cBID . '">' . htmlspecialchars($p[0]) . '</label>');
+                                               '<input type="checkbox"' . $this->insertDefStyle('check') . ' value="1" name="' . $cBName . '"' . $cBP . $PA['onFocus'] . $disabled . ' id="' . $cBID . '" />' .
+                                               $this->wrapLabels('<label for="' . $cBID . '">' . htmlspecialchars($p[0]) . '</label>');
                        }
                }
                if (!$disabled) {
@@ -1571,16 +1571,16 @@ class t3lib_TCEforms {
                                                        $opt[] = '</optgroup>' . LF;
                                                }
                                                $opt[] = '<optgroup label="' . t3lib_div::deHSCentities(htmlspecialchars($optGroupStart[0])) . '"' .
-                                                                ($optGroupStart[1] ? ' style="' . htmlspecialchars($optGroupStart[1]) . '"' : '') .
-                                                                ' class="c-divider">' . LF;
+                                                               ($optGroupStart[1] ? ' style="' . htmlspecialchars($optGroupStart[1]) . '"' : '') .
+                                                               ' class="c-divider">' . LF;
                                                $optGroupOpen = TRUE;
                                                $c--;
                                                $optGroupStart = array();
                                        }
                                        $opt[] = '<option value="' . htmlspecialchars($p[1]) . '"' .
-                                                        $sM .
-                                                        ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
-                                                        '>' . t3lib_div::deHSCentities(($p[0])) . '</option>' . LF;
+                                                       $sM .
+                                                       ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
+                                                       '>' . t3lib_div::deHSCentities(($p[0])) . '</option>' . LF;
                                }
                        }
 
@@ -1626,10 +1626,10 @@ class t3lib_TCEforms {
                        $classesForSelectTag[] = 'icon-select';
                }
                $item .= '<select' . $selectedStyle . ' id="' . uniqid('tceforms-select-') . '" name="' . $PA['itemFormElName'] . '"' .
-                                $this->insertDefStyle('select', implode(' ', $classesForSelectTag)) .
-                                ($size ? ' size="' . $size . '"' : '') .
-                                ' onchange="' . htmlspecialchars($onChangeIcon . $sOnChange) . '"' .
-                                $PA['onFocus'] . $disabled . '>';
+                               $this->insertDefStyle('select', implode(' ', $classesForSelectTag)) .
+                               ($size ? ' size="' . $size . '"' : '') .
+                               ' onchange="' . htmlspecialchars($onChangeIcon . $sOnChange) . '"' .
+                               $PA['onFocus'] . $disabled . '>';
                $item .= implode('', $opt);
                $item .= '</select>';
 
@@ -1760,9 +1760,9 @@ class t3lib_TCEforms {
                                                <tr id="' . $rowId . '" class="' . ($sM ? 'c-selectedItem' : 'c-unselectedItem') . '" onclick="' . htmlspecialchars($onClick) . '" style="cursor: pointer;">
                                                        <td class="c-checkbox"><input type="checkbox"' . $this->insertDefStyle('check') . ' name="' . htmlspecialchars($PA['itemFormElName'] . '[' . $c . ']') . '" value="' . htmlspecialchars($p[1]) . '"' . $sM . ' onclick="' . htmlspecialchars($sOnChange) . '"' . $PA['onFocus'] . ' /></td>
                                                        <td class="c-labelCell" onclick="' . htmlspecialchars($onClickCell) . '">' .
-                                                          $this->getIconHtml($selIcon) .
-                                                          $label .
-                                                          '</td>
+                                                       $this->getIconHtml($selIcon) .
+                                                       $label .
+                                                       '</td>
                                                                <td class="c-descr" onclick="' . htmlspecialchars($onClickCell) . '">' . ((empty($help)) ? '' : $help) . '</td>
                                                </tr>';
                                        $c++;
@@ -1778,8 +1778,8 @@ class t3lib_TCEforms {
                                                <tr class="c-invalidItem">
                                                        <td class="c-checkbox"><input type="checkbox"' . $this->insertDefStyle('check') . ' name="' . htmlspecialchars($PA['itemFormElName'] . '[' . $c . ']') . '" value="' . htmlspecialchars($theNoMatchValue) . '" checked="checked" onclick="' . htmlspecialchars($sOnChange) . '"' . $PA['onFocus'] . $disabled . ' /></td>
                                                        <td class="c-labelCell">' .
-                                                                         t3lib_div::deHSCentities(htmlspecialchars(@sprintf($nMV_label, $theNoMatchValue))) .
-                                                                         '</td><td>&nbsp;</td>
+                                                                       t3lib_div::deHSCentities(htmlspecialchars(@sprintf($nMV_label, $theNoMatchValue))) .
+                                                                       '</td><td>&nbsp;</td>
                                                </tr>');
                                $c++;
                        }
@@ -1810,7 +1810,7 @@ class t3lib_TCEforms {
                        // Add revert icon
                if (is_array($restoreCmd)) {
                        $item .= '<a href="#" onclick="' . implode('', $restoreCmd) . ' return false;' . '">' .
-                                        t3lib_iconWorks::getSpriteIcon('actions-edit-undo', array('title' => htmlspecialchars($this->getLL('l_revertSelection')))) . '</a>';
+                                       t3lib_iconWorks::getSpriteIcon('actions-edit-undo', array('title' => htmlspecialchars($this->getLL('l_revertSelection')))) . '</a>';
                }
 
                return $item;
@@ -1867,10 +1867,10 @@ class t3lib_TCEforms {
 
                                // Compile <option> tag:
                        $opt[] = '<option value="' . htmlspecialchars($p[1]) . '"' .
-                                        $sM .
-                                        $nonSel .
-                                        ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
-                                        '>' . t3lib_div::deHSCentities(htmlspecialchars($p[0])) . '</option>';
+                                       $sM .
+                                       $nonSel .
+                                       ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
+                                       '>' . t3lib_div::deHSCentities(htmlspecialchars($p[0])) . '</option>';
                        $c++;
                }
 
@@ -1889,14 +1889,14 @@ class t3lib_TCEforms {
                $cssPrefix = ($size === 1) ? 'tceforms-select' : 'tceforms-multiselect';
                $size = $config['autoSizeMax'] ? t3lib_utility_Math::forceIntegerInRange(count($selItems) + 1, t3lib_utility_Math::forceIntegerInRange($size, 1), $config['autoSizeMax']) : $size;
                $selectBox = '<select id="' . uniqid($cssPrefix) . '" name="' . $PA['itemFormElName'] . '[]"' .
-                                        $this->insertDefStyle('select', $cssPrefix) .
-                                        ($size ? ' size="' . $size . '"' : '') .
-                                        ' multiple="multiple" onchange="' . htmlspecialchars($sOnChange) . '"' .
-                                        $PA['onFocus'] .
-                                        $selector_itemListStyle .
-                                        $disabled . '>
+                                       $this->insertDefStyle('select', $cssPrefix) .
+                                       ($size ? ' size="' . $size . '"' : '') .
+                                       ' multiple="multiple" onchange="' . htmlspecialchars($sOnChange) . '"' .
+                                       $PA['onFocus'] .
+                                       $selector_itemListStyle .
+                                       $disabled . '>
                                                ' .
-                                        implode('
+                                       implode('
                                                ', $opt) . '
                                        </select>';
 
@@ -1913,13 +1913,13 @@ class t3lib_TCEforms {
                                        ' . $selectBox . '
                                        <br/>
                                        <em>' .
-                                htmlspecialchars($this->getLL('l_holdDownCTRL')) .
-                                '</em>
+                               htmlspecialchars($this->getLL('l_holdDownCTRL')) .
+                               '</em>
                                        </td>
                                        <td valign="top">
-                                         <a href="#" onclick="' . htmlspecialchars($this->elName($PA['itemFormElName'] . '[]') . '.selectedIndex=-1;' . implode('', $restoreCmd) . ' return false;') . '" title="' . htmlspecialchars($this->getLL('l_revertSelection')) . '">' .
-                                t3lib_iconWorks::getSpriteIcon('actions-edit-undo') .
-                                '</a>
+                                               <a href="#" onclick="' . htmlspecialchars($this->elName($PA['itemFormElName'] . '[]') . '.selectedIndex=-1;' . implode('', $restoreCmd) . ' return false;') . '" title="' . htmlspecialchars($this->getLL('l_revertSelection')) . '">' .
+                               t3lib_iconWorks::getSpriteIcon('actions-edit-undo') .
+                                               '</a>
                                        </td>
                                </tr>
                        </table>
@@ -2007,8 +2007,8 @@ class t3lib_TCEforms {
                                        $styleAttrValue = $this->optionTagStyle($p[2]);
                                }
                                $opt[] = '<option value="' . htmlspecialchars($p[1]) . '"' .
-                                                ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
-                                                ' title="' . $p[0] . '">' . $p[0] . '</option>';
+                                               ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) . '"' : '') .
+                                               ' title="' . $p[0] . '">' . $p[0] . '</option>';
                        }
 
                                // Put together the selector box:
@@ -2026,11 +2026,11 @@ class t3lib_TCEforms {
                        $sOnChange .= implode('', $PA['fieldChangeFunc']);
                        $itemsToSelect = '
                                <select id="' . uniqid('tceforms-multiselect-') . '" name="' . $PA['itemFormElName'] . '_sel"' .
-                                                        $this->insertDefStyle('select', 'tceforms-multiselect tceforms-itemstoselect') .
-                                                        ($size ? ' size="' . $size . '"' : '') .
-                                                        ' onchange="' . htmlspecialchars($sOnChange) . '"' .
-                                                        $PA['onFocus'] .
-                                                        $selector_itemListStyle . '>
+                                                       $this->insertDefStyle('select', 'tceforms-multiselect tceforms-itemstoselect') .
+                                                       ($size ? ' size="' . $size . '"' : '') .
+                                                       ' onchange="' . htmlspecialchars($sOnChange) . '"' .
+                                                       $PA['onFocus'] .
+                                                       $selector_itemListStyle . '>
                                        ' . implode('
                                        ', $opt) . '
                                </select>';
@@ -2270,15 +2270,15 @@ class t3lib_TCEforms {
                                if (!strcmp(trim($tempFT[0]), '*')) {
                                        $onlySingleTableAllowed = FALSE;
                                        $info .= '<span class="nobr">' .
-                                                        htmlspecialchars($this->getLL('l_allTables')) .
-                                                        '</span><br />';
+                                                       htmlspecialchars($this->getLL('l_allTables')) .
+                                                       '</span><br />';
                                } elseif ($tempFT) {
                                        $onlySingleTableAllowed = (count($tempFT) == 1);
                                        foreach ($tempFT as $theT) {
                                                $info .= '<span class="nobr">' .
-                                                                t3lib_iconWorks::getSpriteIconForRecord($theT, array()) .
-                                                                htmlspecialchars($this->sL($GLOBALS['TCA'][$theT]['ctrl']['title'])) .
-                                                                '</span><br />';
+                                                               t3lib_iconWorks::getSpriteIconForRecord($theT, array()) .
+                                                               htmlspecialchars($this->sL($GLOBALS['TCA'][$theT]['ctrl']['title'])) .
+                                                               '</span><br />';
                                        }
                                }
 
@@ -2299,21 +2299,21 @@ class t3lib_TCEforms {
                                        if (!$disabled && $show_thumbs) {
                                                $rr = t3lib_BEfunc::getRecordWSOL($this_table, $this_uid);
                                                $imgs[] = '<span class="nobr">' .
-                                                                 $this->getClickMenu(
-                                                                         t3lib_iconWorks::getSpriteIconForRecord(
-                                                                                 $this_table,
-                                                                                 $rr,
-                                                                                 array(
-                                                                                          'style' => 'vertical-align:top',
-                                                                                          'title' => htmlspecialchars(t3lib_BEfunc::getRecordPath($rr['pid'], $perms_clause, 15) . ' [UID: ' . $rr['uid'] . ']')
-                                                                                 )
-                                                                         ),
-                                                                         $this_table,
-                                                                         $this_uid
-                                                                 ) .
-                                                                 '&nbsp;' .
-                                                                 t3lib_BEfunc::getRecordTitle($this_table, $rr, TRUE) . ' <span class="typo3-dimmed"><em>[' . $rr['uid'] . ']</em></span>' .
-                                                                 '</span>';
+                                                               $this->getClickMenu(
+                                                                       t3lib_iconWorks::getSpriteIconForRecord(
+                                                                               $this_table,
+                                                                               $rr,
+                                                                               array(
+                                                                                       'style' => 'vertical-align:top',
+                                                                                       'title' => htmlspecialchars(t3lib_BEfunc::getRecordPath($rr['pid'], $perms_clause, 15) . ' [UID: ' . $rr['uid'] . ']')
+                                                                               )
+                                                                       ),
+                                                                       $this_table,
+                                                                       $this_uid
+                                                               ) .
+                                                               '&nbsp;' .
+                                                               t3lib_BEfunc::getRecordTitle($this_table, $rr, TRUE) . ' <span class="typo3-dimmed"><em>[' . $rr['uid'] . ']</em></span>' .
+                                                               '</span>';
                                        }
                                }
                                $thumbsnail = '';
@@ -2823,8 +2823,8 @@ class t3lib_TCEforms {
                                                                $this->additionalJS_submit = $additionalJS_submit_saved;
                                                                $new = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.new', 1);
                                                                $newElementsLinks[] = '<a href="#" onclick="' . htmlspecialchars($onClickInsert) . '">' .
-                                                                                                         t3lib_iconWorks::getSpriteIcon('actions-document-new') .
-                                                                                                         htmlspecialchars(t3lib_div::fixed_lgd_cs($this->sL($nCfg['tx_templavoila']['title']), 30)) . '</a>';
+                                                                                                       t3lib_iconWorks::getSpriteIcon('actions-document-new') .
+                                                                                                       htmlspecialchars(t3lib_div::fixed_lgd_cs($this->sL($nCfg['tx_templavoila']['title']), 30)) . '</a>';
                                                        }
 
                                                                // Reverting internal variables we don't want to change:
@@ -2835,7 +2835,7 @@ class t3lib_TCEforms {
                                                        $output .= '
                                                        <div class="t3-form-field-toggle-flexsection">
                                                                <a href="#" onclick="' . htmlspecialchars('flexFormToggleSubs("' . $idTagPrefix . '"); return false;') . '">'
-                                                                          . t3lib_iconWorks::getSpriteIcon('actions-move-right', array('title' => $toggleAll)) . $toggleAll . '
+                                                                       . t3lib_iconWorks::getSpriteIcon('actions-move-right', array('title' => $toggleAll)) . $toggleAll . '
                                                                </a>
                                                        </div>
 
@@ -2869,9 +2869,9 @@ class t3lib_TCEforms {
                                                                                <strong>' . $theTitle . '</strong> <em><span id="' . $idTagPrefix . '-preview"></span></em>
                                                                        </td>
                                                                        <td align="right">' .
-                                                                                 ($mayRestructureFlexforms ? t3lib_iconWorks::getSpriteIcon('actions-move-move', array('title' => 'Drag to Move')) : '') .
-                                                                                 ($mayRestructureFlexforms ? '<a href="#" onclick="' . htmlspecialchars($onClickRemove) . '">' . t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => 'Delete')) : '') .
-                                                                                 '</td>
+                                                                               ($mayRestructureFlexforms ? t3lib_iconWorks::getSpriteIcon('actions-move-move', array('title' => 'Drag to Move')) : '') .
+                                                                               ($mayRestructureFlexforms ? '<a href="#" onclick="' . htmlspecialchars($onClickRemove) . '">' . t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => 'Delete')) : '') .
+                                                                               '</td>
                                                                        </tr>
                                                                </table>';
 
@@ -2889,17 +2889,17 @@ class t3lib_TCEforms {
 
                                                                        ' . $ctrlHeader . '
                                                                        <div class="t3-form-field-record-flexsection" id="' . $idTagPrefix . '-content"' . ($toggleClosed ? ' style="display:none;"' : '') . '>' .
-                                                                          $this->getSingleField_typeFlex_draw(
-                                                                                  $value['el'],
-                                                                                  $editData[$key]['el'],
-                                                                                  $table,
-                                                                                  $field,
-                                                                                  $row,
-                                                                                  $PA,
-                                                                                  $formPrefix . '[' . $key . '][el]',
-                                                                                  $level + 1,
-                                                                                  $idTagPrefix
-                                                                          ) . '
+                                                                               $this->getSingleField_typeFlex_draw(
+                                                                               $value['el'],
+                                                                               $editData[$key]['el'],
+                                                                               $table,
+                                                                               $field,
+                                                                               $row,
+                                                                               $PA,
+                                                                               $formPrefix . '[' . $key . '][el]',
+                                                                               $level + 1,
+                                                                               $idTagPrefix
+                                                                       ) . '
                                                                        </div>
                                                                        <input id="' . $idTagPrefix . '-toggleClosed" type="hidden" name="' . htmlspecialchars('data[' . $table . '][' . $row['uid'] . '][' . $field . ']' . $formPrefix . '[_TOGGLE]') . '" value="' . ($toggleClosed ? 1 : 0) . '" />
                                                                </div>';
@@ -2977,7 +2977,7 @@ class t3lib_TCEforms {
 
                                                                if (!in_array('DEF', $rotateLang)) {
                                                                        $defInfo = '<div class="typo3-TCEforms-originalLanguageValue">' . $this->getLanguageIcon($table, $row, 0) .
-                                                                                          $this->previewFieldValue($editData[$key]['vDEF'], $fakePA['fieldConf'], $field) . '&nbsp;</div>';
+                                                                                       $this->previewFieldValue($editData[$key]['vDEF'], $fakePA['fieldConf'], $field) . '&nbsp;</div>';
                                                                } else {
                                                                        $defInfo = '';
                                                                }
@@ -2998,10 +2998,10 @@ class t3lib_TCEforms {
                                                                        // possible linebreaks in the label through xml: \n => <br/>, usage of nl2br() not possible, so it's done through str_replace
                                                                $processedTitle = str_replace('\n', '<br />', $theTitle);
                                                                $tRows[] = '<div class="t3-form-field-container t3-form-field-container-flex">' .
-                                                                                  '<div class="t3-form-field-label t3-form-field-label-flex">' .
-                                                                                  $languageIcon .
-                                                                                  t3lib_BEfunc::wrapInHelp($PA['_cshKey'], $key, $processedTitle) .
-                                                                                  '</div>
+                                                                               '<div class="t3-form-field-label t3-form-field-label-flex">' .
+                                                                               $languageIcon .
+                                                                               t3lib_BEfunc::wrapInHelp($PA['_cshKey'], $key, $processedTitle) .
+                                                                               '</div>
                                                                        <div class="t3-form-field t3-form-field-flex">' . $theFormEl . $defInfo . $this->renderVDEFDiff($editData[$key], $vDEFkey) . '</div>
                                                                </div>';
                                                        }
@@ -3087,8 +3087,8 @@ class t3lib_TCEforms {
                                }
                                if ($config['format.']['appendAge']) {
                                        $value .= ' (' .
-                                                         t3lib_BEfunc::calcAge(($GLOBALS['EXEC_TIME'] - $itemValue), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) .
-                                                         ')';
+                                                       t3lib_BEfunc::calcAge(($GLOBALS['EXEC_TIME'] - $itemValue), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) .
+                                                       ')';
                                }
                                $itemValue = $value;
                        break;
@@ -3563,8 +3563,8 @@ class t3lib_TCEforms {
                        if ($fieldConfig['config']['type'] != 'inline') {
                                if ($defaultLanguageValue !== '') {
                                        $item .= '<div class="typo3-TCEforms-originalLanguageValue">' . $this->getLanguageIcon($table, $row, 0) .
-                                                $this->getMergeBehaviourIcon($fieldConfig['l10n_mode']) .
-                                                $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $field) . '&nbsp;</div>';
+                                               $this->getMergeBehaviourIcon($fieldConfig['l10n_mode']) .
+                                               $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $field) . '&nbsp;</div>';
                                }
 
                                $previewLanguages = $this->getAdditionalPreviewLanguages();
@@ -3573,8 +3573,8 @@ class t3lib_TCEforms {
 
                                        if ($defaultLanguageValue !== '') {
                                                $item .= '<div class="typo3-TCEforms-originalLanguageValue">' . $this->getLanguageIcon($table, $row, 'v' . $previewLanguage['ISOcode']) .
-                                                        $this->getMergeBehaviourIcon($fieldConfig['l10n_mode']) .
-                                                        $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $field) . '&nbsp;</div>';
+                                                       $this->getMergeBehaviourIcon($fieldConfig['l10n_mode']) .
+                                                       $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $field) . '&nbsp;</div>';
                                        }
                                }
                        }
@@ -3614,9 +3614,9 @@ class t3lib_TCEforms {
                                        );
 
                                        $item .= '<div class="typo3-TCEforms-diffBox">' .
-                                                        '<div class="typo3-TCEforms-diffBox-header">' . htmlspecialchars($this->getLL('l_changeInOrig')) . ':</div>' .
-                                                        $diffres .
-                                                        '</div>';
+                                                       '<div class="typo3-TCEforms-diffBox-header">' . htmlspecialchars($this->getLL('l_changeInOrig')) . ':</div>' .
+                                                       $diffres .
+                                                       '</div>';
                                }
                        }
                }
@@ -3644,9 +3644,9 @@ class t3lib_TCEforms {
                        $diffres = $t3lib_diff_Obj->makeDiffDisplay($vArray[$vDEFkey . '.vDEFbase'], $vArray['vDEF']);
 
                        $item = '<div class="typo3-TCEforms-diffBox">' .
-                                        '<div class="typo3-TCEforms-diffBox-header">' . htmlspecialchars($this->getLL('l_changeInOrig')) . ':</div>' .
-                                        $diffres .
-                                        '</div>';
+                                       '<div class="typo3-TCEforms-diffBox-header">' . htmlspecialchars($this->getLL('l_changeInOrig')) . ':</div>' .
+                                       $diffres .
+                                       '</div>';
                }
 
                return $item;
@@ -3870,20 +3870,20 @@ class t3lib_TCEforms {
                                        <td></td>
                                        <td>' . ($params['thumbnails'] ? $this->wrapLabels($params['headers']['items']) : '') . '</td>
                                </tr>' : '') .
-                          '
+                       '
                        <tr>
                                <td valign="top">' .
-                          $selector .
-                          $thumbnails .
-                          ($params['noList'] ? '' : '<span class="filetypes">' . $this->wrapLabels($params['info'])) .
-                          '</span></td>
-                               <td valign="top" class="icons">' .
-                          implode('<br />', $icons['L']) . '</td>
-                               <td valign="top" class="icons">' .
-                          implode('<br />', $icons['R']) . '</td>
-                               <td valign="top" class="thumbnails">' .
-                          $rightbox .
-                          '</td>
+                                       $selector .
+                                       $thumbnails .
+                                       ($params['noList'] ? '' : '<span class="filetypes">' . $this->wrapLabels($params['info'])) .
+                                       '</span></td>
+                                       <td valign="top" class="icons">' .
+                                       implode('<br />', $icons['L']) . '</td>
+                                       <td valign="top" class="icons">' .
+                                       implode('<br />', $icons['R']) . '</td>
+                                       <td valign="top" class="thumbnails">' .
+                                       $rightbox .
+                               '</td>
                        </tr>
                </table>';
 
@@ -4164,8 +4164,8 @@ class t3lib_TCEforms {
                                                                                <td>' .
                                                                        $colorBoxLinks[0] . '<img ' .
                                                                        t3lib_iconWorks::skinImg($this->backPath,
-                                                                                                                        (strlen(trim($color)) == 0 || strcmp(trim($color), '0') == 0) ? 'gfx/colorpicker_empty.png' : 'gfx/colorpicker.png',
-                                                                                                                        'width="' . $dX . '" height="' . $dY . '"' . t3lib_BEfunc::titleAltAttrib(trim($iTitle . ' ' . $PA['itemFormElValue'])) . ' border="0"') .
+                                                                                                                       (strlen(trim($color)) == 0 || strcmp(trim($color), '0') == 0) ? 'gfx/colorpicker_empty.png' : 'gfx/colorpicker.png',
+                                                                                                                       'width="' . $dX . '" height="' . $dY . '"' . t3lib_BEfunc::titleAltAttrib(trim($iTitle . ' ' . $PA['itemFormElValue'])) . ' border="0"') .
                                                                        '>' . $colorBoxLinks[1] .
                                                                        '</td>
                                                                        </tr>
@@ -4243,7 +4243,7 @@ class t3lib_TCEforms {
                return array($selIconFile, $selIconInfo);
        }
 
-       /**
+       /**
         * Renders the $icon, supports a filename for skinImg or sprite-icon-name
         * @param $icon the icon passed, could be a file-reference or a sprite Icon name
         * @param string $alt alt attribute of the icon returned
@@ -4369,9 +4369,9 @@ class t3lib_TCEforms {
         */
        function checkBoxParams($itemName, $thisValue, $c, $iCount, $addFunc = '') {
                $onClick = $this->elName($itemName) . '.value=this.checked?(' . $this->elName($itemName) . '.value|' . pow(2, $c) . '):(' . $this->elName($itemName) . '.value&' . (pow(2, $iCount) - 1 - pow(2, $c)) . ');' .
-                                  $addFunc;
+                               $addFunc;
                $str = ' onclick="' . htmlspecialchars($onClick) . '"' .
-                          (($thisValue & pow(2, $c)) ? ' checked="checked"' : '');
+                       (($thisValue & pow(2, $c)) ? ' checked="checked"' : '');
                return $str;
        }
 
@@ -4473,8 +4473,8 @@ class t3lib_TCEforms {
                                // Setting width by style-attribute. 'cols' MUST be avoided with NN6+
                        $widthInPixels = ceil($size * $this->form_rowsToStylewidth);
                        $fieldWidthAndStyle['style'] = 'width: ' . $widthInPixels . 'px; '
-                                                                                  . $this->defStyle
-                                                                                  . $this->formElStyle($textarea ? 'text' : 'input');
+                                                                               . $this->defStyle
+                                                                               . $this->formElStyle($textarea ? 'text' : 'input');
 
                        $fieldWidthAndStyle['class'] = $this->formElClass($textarea ? 'text' : 'input');
                }
@@ -5194,7 +5194,7 @@ class t3lib_TCEforms {
                        if ($tableAttribs) {
                                $tableAttribs = 'border="0" cellspacing="0" cellpadding="0" width="100%"' . $tableAttribs;
                                $out_array[$out_pointer] = str_replace('###CONTENT###', $out_array[$out_pointer],
-                                                                                                          str_replace('###TABLE_ATTRIBS###', $tableAttribs, $this->sectionWrap));
+                                                                                                       str_replace('###TABLE_ATTRIBS###', $tableAttribs, $this->sectionWrap));
                        }
                        $out_pointer++;
                }
@@ -6401,7 +6401,7 @@ class t3lib_TCEforms {
        function previewFieldValue($value, $config, $field = '') {
                if ($config['config']['type'] === 'group' &&
                        ($config['config']['internal_type'] === 'file' ||
-                        $config['config']['internal_type'] === 'file_reference')) {
+                       $config['config']['internal_type'] === 'file_reference')) {
                                // Ignore uploadfolder if internal_type is file_reference
                        if ($config['config']['internal_type'] === 'file_reference') {
                                $config['config']['uploadfolder'] = '';
@@ -6439,9 +6439,9 @@ class t3lib_TCEforms {
                                        );
 
                                        $imgs[] = '<span class="nobr">' . t3lib_BEfunc::thumbCode($rowCopy, $table, $field, $this->backPath, 'thumbs.php', $config['config']['uploadfolder'], 0, ' align="middle"') .
-                                                         ($absFilePath ? $this->getClickMenu($fileIcon, $absFilePath) : $fileIcon) .
-                                                         $imgPath .
-                                                         '</span>';
+                                                       ($absFilePath ? $this->getClickMenu($fileIcon, $absFilePath) : $fileIcon) .
+                                                       $imgPath .
+                                                       '</span>';
                                }
                                $thumbsnail = implode('<br />', $imgs);
                        }
index 4d725e0..6d7b686 100644 (file)
@@ -69,9 +69,9 @@ class t3lib_TCEforms_FE extends t3lib_TCEforms {
                foreach ($paletteArray as $content) {
                        $hRow[] = '<td' . $bgColor . '><font face="verdana" size="1">&nbsp;</font></td><td nowrap="nowrap"' . $bgColor . '><font color="#666666" face="verdana" size="1">' . $content['NAME'] . '</font></td>';
                        $iRow[] = '<td valign="top">' .
-                                         '<img name="req_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" src="clear.gif" width="10" height="10" alt="" />' .
-                                         '<img name="cm_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" src="clear.gif" width="7" height="10" alt="" />' .
-                                         '</td><td nowrap="nowrap" valign="top">' . $content['ITEM'] . $content['HELP_ICON'] . '</td>';
+                                       '<img name="req_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" src="clear.gif" width="10" height="10" alt="" />' .
+                                       '<img name="cm_' . $content['TABLE'] . '_' . $content['ID'] . '_' . $content['FIELD'] . '" src="clear.gif" width="7" height="10" alt="" />' .
+                                       '</td><td nowrap="nowrap" valign="top">' . $content['ITEM'] . $content['HELP_ICON'] . '</td>';
                }
                $out = '<table border="0" cellpadding="0" cellspacing="0">
                        <tr><td><img src="clear.gif" width="' . intval($this->paletteMargin) . '" height="1" alt="" /></td>' . implode('', $hRow) . '</tr>
index 5be565d..96fd7cb 100644 (file)
@@ -625,8 +625,8 @@ class t3lib_TCEforms_inline {
                        // "Info": (All records)
                if ($enabledControls['info'] && !$isNewItem) {
                        $cells['info'] = '<a href="#" onclick="' . htmlspecialchars('top.launchView(\'' . $foreign_table . '\', \'' . $rec['uid'] . '\'); return false;') . '">' .
-                                                        t3lib_iconWorks::getSpriteIcon('status-dialog-information', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:showInfo', TRUE))) .
-                                                        '</a>';
+                                                       t3lib_iconWorks::getSpriteIcon('status-dialog-information', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:showInfo', TRUE))) .
+                                                       '</a>';
                }
                        // If the table is NOT a read-only table, then show these links:
                if (!$tcaTableCtrl['readOnly'] && !$isVirtualRecord) {
@@ -644,9 +644,9 @@ class t3lib_TCEforms_inline {
                                        }
                                        $cells['new'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '"' . $class . $style . '>' .
                                                                        t3lib_iconWorks::getSpriteIcon('actions-' . ($isPagesTable ? 'page' : 'document') . '-new',
-                                                                                                                                  array(
+                                                                                                                               array(
                                                                                                                                                'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:new' . ($isPagesTable ? 'Page' : 'Record'), 1)
-                                                                                                                                  )
+                                                                                                                               )
                                                                        ) .
                                                                        '</a>';
                                }
@@ -668,8 +668,8 @@ class t3lib_TCEforms_inline {
                                $onClick = "return inline.changeSorting('" . $nameObjectFtId . "', '-1')"; // Down
                                $style = $config['inline']['last'] == $rec['uid'] ? 'style="visibility: hidden;"' : '';
                                $cells['sort.down'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" class="sortingDown" ' . $style . '>' .
-                                                                         t3lib_iconWorks::getSpriteIcon('actions-move-down', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:moveDown', TRUE))) .
-                                                                         '</a>';
+                                                                       t3lib_iconWorks::getSpriteIcon('actions-move-down', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:moveDown', TRUE))) .
+                                                                       '</a>';
                        }
 
                                // "Hide/Unhide" links:
@@ -681,21 +681,21 @@ class t3lib_TCEforms_inline {
                                                                                        t3lib_iconWorks::getSpriteIcon(
                                                                                                'actions-edit-unhide',
                                                                                                array(
-                                                                                                        'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:unHide' . ($isPagesTable ? 'Page' : ''), 1),
-                                                                                                        'id' => $nameObjectFtId . '_disabled'
+                                                                                                       'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:unHide' . ($isPagesTable ? 'Page' : ''), 1),
+                                                                                                       'id' => $nameObjectFtId . '_disabled'
                                                                                                )
                                                                                        ) .
                                                                                        '</a>';
                                } else {
                                        $cells['hide.hide'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '">' .
-                                                                                 t3lib_iconWorks::getSpriteIcon(
-                                                                                         'actions-edit-hide',
-                                                                                         array(
-                                                                                                  'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:hide' . ($isPagesTable ? 'Page' : ''), 1),
-                                                                                                  'id' => $nameObjectFtId . '_disabled'
-                                                                                         )
-                                                                                 ) .
-                                                                                 '</a>';
+                                                                               t3lib_iconWorks::getSpriteIcon(
+                                                                                       'actions-edit-hide',
+                                                                                       array(
+                                                                                               'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:hide' . ($isPagesTable ? 'Page' : ''), 1),
+                                                                                               'id' => $nameObjectFtId . '_disabled'
+                                                                                       )
+                                                                               ) .
+                                                                               '</a>';
                                }
                        }
 
@@ -703,24 +703,24 @@ class t3lib_TCEforms_inline {
                        if ($enabledControls['delete'] && ($isPagesTable && $localCalcPerms & 4 || !$isPagesTable && $calcPerms & 16)) {
                                $onClick = "inline.deleteRecord('" . $nameObjectFtId . "');";
                                $cells['delete'] = '<a href="#" onclick="' . htmlspecialchars('if (confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning')) . ')) {   ' . $onClick . ' } return false;') . '">' .
-                                                                  t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:delete', TRUE))) .
-                                                                  '</a>';
+                                                               t3lib_iconWorks::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:delete', TRUE))) .
+                                                               '</a>';
                        }
                                // If this is a virtual record offer a minimized set of icons for user interaction:
                } elseif ($isVirtualRecord) {
                        if ($enabledControls['localize'] && isset($rec['__create'])) {
                                $onClick = "inline.synchronizeLocalizeRecords('" . $nameObjectFt . "', " . $rec['uid'] . ");";
                                $cells['localize'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '">' .
-                                                                        t3lib_iconWorks::getSpriteIcon('actions-document-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', TRUE))) .
-                                                                        '</a>';
+                                                                       t3lib_iconWorks::getSpriteIcon('actions-document-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', TRUE))) .
+                                                                       '</a>';
                        }
                }
 
                        // If the record is edit-locked by another user, we will show a little warning sign:
                if ($lockInfo = t3lib_BEfunc::isRecordLocked($foreign_table, $rec['uid'])) {
                        $cells['locked'] = '<a href="#" onclick="' . htmlspecialchars('alert(' . $GLOBALS['LANG']->JScharCode($lockInfo['msg']) . ');return false;') . '">' .
-                                                          t3lib_iconWorks::getSpriteIcon('status-warning-in-use', array('title' => htmlspecialchars($lockInfo['msg']))) .
-                                                          '</a>';
+                                                       t3lib_iconWorks::getSpriteIcon('status-warning-in-use', array('title' => htmlspecialchars($lockInfo['msg']))) .
+                                                       '</a>';
                }
 
                        // Hook: Post-processing of single controls for specific child records:
@@ -848,9 +848,9 @@ class t3lib_TCEforms_inline {
                                }
                                if (!in_array($p[1], $uniqueIds)) {
                                        $opt[] = '<option value="' . htmlspecialchars($p[1]) . '"' .
-                                                        ' style="' . (in_array($p[1], $uniqueIds) ? '' : '') .
-                                                        ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) : '') . '">' .
-                                                        htmlspecialchars($p[0]) . '</option>';
+                                                       ' style="' . (in_array($p[1], $uniqueIds) ? '' : '') .
+                                                       ($styleAttrValue ? ' style="' . htmlspecialchars($styleAttrValue) : '') . '">' .
+                                                       htmlspecialchars($p[0]) . '</option>';
                                }
                        }
 
index f252dc1..7fd3764 100644 (file)
@@ -449,7 +449,7 @@ class t3lib_TCEmain {
                                   - table is NOT readOnly
                                   - the table is set with content in the data-array (if not, there's nothing to process...)
                                   - permissions for tableaccess OK
-                          */
+                       */
                        $modifyAccessList = $this->checkModifyAccessList($table);
                        if (!$modifyAccessList) {
                                $id = 0;
@@ -873,7 +873,7 @@ class t3lib_TCEmain {
                           - If the field is nothing of the above and the field is configured in TCA, the fieldvalues are evaluated by ->checkValue
 
                           If everything is OK, the field is entered into $fieldArray[]
-                  */
+               */
                foreach ($incomingFieldArray as $field => $fieldValue) {
                        if (!in_array($table . '-' . $field, $this->exclude_array) && !$this->data_disableFields[$table][$id][$field]) { // The field must be editable.
 
@@ -1023,7 +1023,7 @@ class t3lib_TCEmain {
                                                        $table,
                                                        'uid=' . intval($id),
                                                        array(
-                                                                $eFile['statusField'] => $eFile['relEditFile'] . ' updated ' . date('d-m-Y H:i:s') . ', bytes ' . strlen($mixedRec[$eFile['contentField']])
+                                                               $eFile['statusField'] => $eFile['relEditFile'] . ' updated ' . date('d-m-Y H:i:s') . ', bytes ' . strlen($mixedRec[$eFile['contentField']])
                                                        )
                                                );
                                        }
@@ -3262,7 +3262,7 @@ class t3lib_TCEmain {
                                                        $pI = pathinfo($rec['ref_string']);
                                                        $copyDestName = dirname($origDestName) . '/RTEmagicC_' . substr(basename($origDestName), 10) . '.' . $pI['extension'];
                                                        if (!@is_file($copyDestName) && !@is_file($origDestName)
-                                                                                                                         && $origDestName === t3lib_div::getFileAbsFileName($origDestName) && $copyDestName === t3lib_div::getFileAbsFileName($copyDestName)) {
+                                                                                                                       && $origDestName === t3lib_div::getFileAbsFileName($origDestName) && $copyDestName === t3lib_div::getFileAbsFileName($copyDestName)) {
 
                                                                        // Making copies:
                                                                t3lib_div::upload_copy_move(PATH_site . $fileInfo['original'], $origDestName);
@@ -4114,14 +4114,14 @@ class t3lib_TCEmain {
                                                                        "Record '%s' (%s) was deleted from page '%s' (%s)";
                                                }
                                                $this->log($table, $uid, $state, 0, 0,
-                                                                  $message, 0,
-                                                                  array(
+                                                               $message, 0,
+                                                               array(
                                                                                $propArr['header'],
                                                                                $table . ':' . $uid,
                                                                                $pagePropArr['header'],
                                                                                $propArr['pid']
-                                                                  ),
-                                                                  $propArr['event_pid']);
+                                                               ),
+                                                               $propArr['event_pid']);
 
                                        } else {
                                                $this->log($table, $uid, $state, 0, 100, $GLOBALS['TYPO3_DB']->sql_error());
@@ -6077,7 +6077,7 @@ class t3lib_TCEmain {
                                if (
                                        !$GLOBALS['TCA'][$table]['columns'][$col]['config']['MM'] && // Do not unset MM relation fields, since equality of the MM count doesn't always mean that relations haven't changed.
                                        (!strcmp($val, $currentRecord[$col]) || // Unset fields which matched exactly.
-                                        ($cRecTypes[$col] == 'int' && $currentRecord[$col] == 0 && !strcmp($val, '')) // Now, a situation where TYPO3 tries to put an empty string into an integer field, we should not strcmp the integer-zero and '', but rather accept them to be similar.
+                                       ($cRecTypes[$col] == 'int' && $currentRecord[$col] == 0 && !strcmp($val, '')) // Now, a situation where TYPO3 tries to put an empty string into an integer field, we should not strcmp the integer-zero and '', but rather accept them to be similar.
                                        )
                                ) {
                                        unset($fieldArray[$col]);
@@ -6374,7 +6374,7 @@ class t3lib_TCEmain {
                        foreach ($GLOBALS['TCA'][$table]['columns'] as $field => $configArr) {
                                if ($configArr['config']['type'] == 'group' &&
                                        ($configArr['config']['internal_type'] == 'file' ||
-                                        $configArr['config']['internal_type'] == 'file_reference')) {
+                                       $configArr['config']['internal_type'] == 'file_reference')) {
                                        $listArr[] = $field;
                                }
                        }
index 4fad3bf..a3b0c4b 100644 (file)
@@ -835,11 +835,11 @@ class t3lib_transferData {
                $loadDB = t3lib_div::makeInstance('t3lib_loadDBGroup');
                $loadDB->registerNonTableValues = $fieldConfig['config']['allowNonIdValues'] ? 1 : 0;
                $loadDB->start(implode(',', $elements),
-                                          $fieldConfig['config']['foreign_table'] . ',' . $fieldConfig['config']['neg_foreign_table'],
-                                          $fieldConfig['config']['MM'],
-                                          $row['uid'],
-                                          $table,
-                                          $fieldConfig['config']
+                                       $fieldConfig['config']['foreign_table'] . ',' . $fieldConfig['config']['neg_foreign_table'],
+                                       $fieldConfig['config']['MM'],
+                                       $row['uid'],
+                                       $table,
+                                       $fieldConfig['config']
                );
 
                $idList = $loadDB->convertPosNeg($loadDB->getValueArray(), $fieldConfig['config']['foreign_table'], $fieldConfig['config']['neg_foreign_table']);
index e2f1f2e..ccf5bd0 100644 (file)
@@ -572,8 +572,8 @@ class t3lib_treeView {
                } else {
 
                        $icon = t3lib_iconWorks::getSpriteIconForRecord($this->table, $row, array(
-                                                                                                                                                                        'title' => ($this->showDefaultTitleAttribute ? 'UID: ' . $row['uid'] : $this->getTitleAttrib($row)),
-                                                                                                                                                                        'class' => 'c-recIcon'
+                                                                                                                                                                       'title' => ($this->showDefaultTitleAttribute ? 'UID: ' . $row['uid'] : $this->getTitleAttrib($row)),
+                                                                                                                                                                       'class' => 'c-recIcon'
                                                                                                                                                                ));
 
                }
index 0a56993..f45847e 100644 (file)
@@ -339,9 +339,9 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                        $HTML .= $theIcon;
                                } else {
                                        $aHref = 'index.php?id=' . $GLOBALS['SOBE']->id .
-                                                        '&tsbr[' . $depth . ']=' . ($deeper ? 0 : 1) .
-                                                        (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '') .
-                                                        '#' . $goto;
+                                                       '&tsbr[' . $depth . ']=' . ($deeper ? 0 : 1) .
+                                                       (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '') .
+                                                       '#' . $goto;
                                        $HTML .= '<a name="' . $goto . '" href="' . htmlspecialchars($aHref) . '">' . $theIcon . '</a>';
                                }
 
@@ -351,8 +351,8 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                } else {
                                        if ($this->linkObjects) {
                                                $aHref = 'index.php?id=' . $GLOBALS['SOBE']->id .
-                                                                '&sObj=' . $depth .
-                                                                (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '');
+                                                               '&sObj=' . $depth .
+                                                               (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '');
                                                if ($this->bType != 'const') {
                                                        $ln = is_array($arr[$key . '.ln..']) ? 'Defined in: ' . $this->lineNumberToScript($arr[$key . '.ln..']) : 'N/A';
                                                } else {
@@ -575,8 +575,8 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                $A_E = '';
                        }
                        $HTML .= ($first ? '' : '<img src="' . $GLOBALS['BACK_PATH'] . 'gfx/ol/' . $PM . $BTM . '.gif" width="18" height="16" align="top" border="0" alt="" />') .
-                                        $icon .
-                                        $A_B . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $GLOBALS['BE_USER']->uc['titleLen'])) . $A_E . '&nbsp;&nbsp;';
+                                       $icon .
+                                       $A_B . htmlspecialchars(t3lib_div::fixed_lgd_cs($row['title'], $GLOBALS['BE_USER']->uc['titleLen'])) . $A_E . '&nbsp;&nbsp;';
                        $RL = $this->ext_getRootlineNumber($row['pid']);
                        $keyArray[] = '<tr class="' . ($i++ % 2 == 0 ? 'bgColor4' : 'bgColor6') . '">
                                                        <td nowrap="nowrap">' . $HTML . '</td>
@@ -807,7 +807,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                                if ($catSplit[1] && isset($this->subCategories[$catSplit[1]])) {
                                                                                        $editableComments[$const]['subcat_name'] = $catSplit[1];
                                                                                        $editableComments[$const]['subcat'] = $this->subCategories[$catSplit[1]][1] . '/' .
-                                                                                                                                                                 $catSplit[1] . '/' . trim($catSplit[2]) . 'z';
+                                                                                                                                                               $catSplit[1] . '/' . trim($catSplit[2]) . 'z';
                                                                                } else {
                                                                                        $editableComments[$const]['subcat'] = 'x' . '/' . trim($catSplit[2]) . 'z';
                                                                                }
@@ -1134,7 +1134,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                case 'int':
                                                case 'int+':
                                                        $p_field = '<input id="' . $fN . '" type="text" name="' . $fN . '" value="' . $fV . '"' .
-                                                                          $GLOBALS['TBE_TEMPLATE']->formWidth(5) . ' onChange="uFormUrl(' . $aname . ')" />';
+                                                                       $GLOBALS['TBE_TEMPLATE']->formWidth(5) . ' onChange="uFormUrl(' . $aname . ')" />';
                                                        if ($typeDat['paramstr']) {
                                                                $p_field .= ' Range: ' . $typeDat['paramstr'];
                                                        } elseif ($typeDat['type'] == 'int+') {
@@ -1154,8 +1154,8 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                $p_field .= '<option value="' . htmlspecialchars($val) . '"' . $sel . '>' . $val . '</option>';
                                                        }
                                                        $p_field = '<select id="select-' . $fN . '" rel="' . $fN . '" name="C' . $fN .
-                                                                          '" class="typo3-tstemplate-ceditor-color-select" onChange="uFormUrl(' .
-                                                                          $aname . ');">' . $p_field . '</select>';
+                                                                       '" class="typo3-tstemplate-ceditor-color-select" onChange="uFormUrl(' .
+                                                                       $aname . ');">' . $p_field . '</select>';
 
                                                        $p_field .= '<input type="text" id="input-' . $fN . '" rel="' . $fN . '" name="' . $fN .
                                                                                '" class="typo3-tstemplate-ceditor-color-input" value="' . $fV . '"' .
@@ -1164,7 +1164,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                case 'wrap':
                                                        $wArr = explode('|', $fV);
                                                        $p_field = '<input type="text" id="' . $fN . '" name="' . $fN . '" value="' . $wArr[0] . '"' .
-                                                                          $GLOBALS['TBE_TEMPLATE']->formWidth(29) . ' onChange="uFormUrl(' . $aname . ')" />';
+                                                                       $GLOBALS['TBE_TEMPLATE']->formWidth(29) . ' onChange="uFormUrl(' . $aname . ')" />';
                                                        $p_field .= ' | ';
                                                        $p_field .= '<input type="text" name="W' . $fN . '" value="' . $wArr[1] . '"' .
                                                                                $GLOBALS['TBE_TEMPLATE']->formWidth(15) . ' onChange="uFormUrl(' . $aname . ')" />';
@@ -1173,7 +1173,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                        $wArr = explode(',', $fV);
                                                        $labels = t3lib_div::trimExplode(',', $typeDat['paramstr']);
                                                        $p_field = ($labels[0] ? $labels[0] : 'x') . ':<input type="text" name="' . $fN . '" value="' . $wArr[0] . '"' .
-                                                                          $GLOBALS['TBE_TEMPLATE']->formWidth(4) . ' onChange="uFormUrl(' . $aname . ')" />';
+                                                                       $GLOBALS['TBE_TEMPLATE']->formWidth(4) . ' onChange="uFormUrl(' . $aname . ')" />';
                                                        $p_field .= ' , ';
                                                        $p_field .= ($labels[1] ? $labels[1] : 'y') . ':<input type="text" name="W' . $fN . '" value="' . $wArr[1] . '"' .
                                                                                $GLOBALS['TBE_TEMPLATE']->formWidth(4) . ' onChange="uFormUrl(' . $aname . ')" />';
@@ -1258,7 +1258,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                                if ($onlineResourceFlag <= 0) {
                                                                                        $theImage = t3lib_BEfunc::thumbCode(
                                                                                                array(
-                                                                                                        'resources' => $selectThisFile
+                                                                                                       'resources' => $selectThisFile
                                                                                                ),
                                                                                                'sys_template',
                                                                                                'resources',
@@ -1268,7 +1268,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                                } else {
                                                                                        $theImage = t3lib_BEfunc::thumbCode(
                                                                                                array(
-                                                                                                        'resources' => $fI['file']
+                                                                                                       'resources' => $fI['file']
                                                                                                ),
                                                                                                'sys_template',
                                                                                                'resources',
@@ -1334,7 +1334,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                default:
                                                        $fwidth = $typeDat['type'] == 'small' ? 10 : 46;
                                                        $p_field = '<input id="' . $fN . '" type="text" name="' . $fN . '" value="' . $fV . '"' .
-                                                                          $GLOBALS['TBE_TEMPLATE']->formWidth($fwidth) . ' onChange="uFormUrl(' . $aname . ')" />';
+                                                                       $GLOBALS['TBE_TEMPLATE']->formWidth($fwidth) . ' onChange="uFormUrl(' . $aname . ')" />';
                                                break;
                                        }
 
@@ -1347,7 +1347,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                // Handle type=color specially
                                        if ($typeDat['type'] == 'color' && substr($params['value'], 0, 2) != '{$') {
                                                $color = '<div id="colorbox-' . $fN . '" class="typo3-tstemplate-ceditor-colorblock" style="background-color:' .
-                                                                $params['value'] . ';">&nbsp;</div>';
+                                                               $params['value'] . ';">&nbsp;</div>';
                                        } else {
                                                $color = '';
                                        }
@@ -1369,19 +1369,19 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                $deleteIconHTML = t3lib_iconWorks::getSpriteIcon(
                                                        'actions-edit-undo',
                                                        array(
-                                                                'class' => "typo3-tstemplate-ceditor-control undoIcon",
-                                                                'alt' => "Revert to default Constant",
-                                                                'title' => "Revert to default Constant",
-                                                                'rel' => $params['name']
+                                                               'class' => "typo3-tstemplate-ceditor-control undoIcon",
+                                                               'alt' => "Revert to default Constant",
+                                                               'title' => "Revert to default Constant",
+                                                               'rel' => $params['name']
                                                        )
                                                );
                                                $editIconHTML = t3lib_iconWorks::getSpriteIcon(
                                                        'actions-document-open',
                                                        array(
-                                                                'class' => "typo3-tstemplate-ceditor-control editIcon",
-                                                                'alt' => "Edit this Constant",
-                                                                'title' => "Edit this Constant",
-                                                                'rel' => $params['name']
+                                                               'class' => "typo3-tstemplate-ceditor-control editIcon",
+                                                               'alt' => "Edit this Constant",
+                                                               'title' => "Edit this Constant",
+                                                               'rel' => $params['name']
                                                        )
                                                );
                                                $constantCheckbox = '<input type="hidden" name="' . $checkboxName . '" id="' . $checkboxID . '" value="' . $checkboxValue . '"/>';
@@ -1392,12 +1392,12 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                }
 
                                                $constantDefaultRow = '<div class="typo3-tstemplate-ceditor-row" id="' . $defaultTyposcriptID . '" ' .
-                                                                                         $defaultTyposcriptStyle . '>' . $editIconHTML .
-                                                                                         htmlspecialchars($params['default_value']) . $color . '</div>';
+                                                                                       $defaultTyposcriptStyle . '>' . $editIconHTML .
+                                                                                       htmlspecialchars($params['default_value']) . $color . '</div>';
                                        }
 
                                        $constantEditRow = '<div class="typo3-tstemplate-ceditor-row" id="' . $userTyposcriptID . '" ' .
-                                                                          $userTyposcriptStyle . '>' . $deleteIconHTML . $p_field . $color . '</div>';
+                                                                       $userTyposcriptStyle . '>' . $deleteIconHTML . $p_field . $color . '</div>';
 
                                        $constantLabel = '<dt class="typo3-tstemplate-ceditor-label">' . htmlspecialchars($head) . '</dt>';
                                        $constantName = '<dt class="typo3-dimmed">[' . $params['name'] . ']</dt>';
@@ -1406,7 +1406,7 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
 
                                        $output .= '<a name="' . $raname . '"></a>' . $help['constants'][$params['name']];
                                        $output .= '<dl class="typo3-tstemplate-ceditor-constant">' . $constantLabel . $constantName .
-                                                          $constantDescription . $constantData . '</dl>';
+                                                       $constantDescription . $constantData . '</dl>';
                                } else {
                                        debug('Error. Constant did not exist. Should not happen.');
                                }
index b0fd155..5dd78f4 100644 (file)
@@ -161,8 +161,8 @@ class t3lib_tsStyleConfig extends t3lib_tsparser_ext {
        function ext_displayExample() {
                if ($this->helpConfig["imagetag"] || $this->helpConfig["description"] || $this->helpConfig["header"]) {
                        $out = '<div align="center">' . $this->helpConfig["imagetag"] . '</div><BR>' .
-                                  ($this->helpConfig["description"] ? implode(explode("//", $this->helpConfig["description"]), "<BR>") . "<BR>" : "") .
-                                  ($this->helpConfig["bulletlist"] ? "<ul><li>" . implode(explode("//", $this->helpConfig["bulletlist"]), "<li>") . "</ul>" : "<BR>");
+                               ($this->helpConfig["description"] ? implode(explode("//", $this->helpConfig["description"]), "<BR>") . "<BR>" : "") .
+                               ($this->helpConfig["bulletlist"] ? "<ul><li>" . implode(explode("//", $this->helpConfig["bulletlist"]), "<li>") . "</ul>" : "<BR>");
                }
                return $out;
        }
index 35115e8..344df69 100644 (file)
@@ -922,7 +922,7 @@ abstract class t3lib_userAuth {
                                $statement->bindValues(array(
                                                                                        ':ses_id' => $this->id,
                                                                                        ':ses_name' => $this->name,
-                                                                          ));
+                                                                       ));
                                $statement->bindValues($ipLockClause['parameters']);
                        }
                } else {
@@ -939,7 +939,7 @@ abstract class t3lib_userAuth {
                        $statement->bindValues(array(
                                                                                ':ses_id' => $this->id,
                                                                                ':ses_name' => $this->name,
-                                                                  ));
+                                                               ));
                        $statement->bindValues($ipLockClause['parameters']);
                }
                return $statement;
@@ -954,10 +954,10 @@ abstract class t3lib_userAuth {
         */
        protected function user_where_clause() {
                return (($this->enablecolumns['rootLevel']) ? 'AND ' . $this->user_table . '.pid=0 ' : '') .
-                          (($this->enablecolumns['disabled']) ? ' AND ' . $this->user_table . '.' . $this->enablecolumns['disabled'] . '=0' : '') .
-                          (($this->enablecolumns['deleted']) ? ' AND ' . $this->user_table . '.' . $this->enablecolumns['deleted'] . '=0' : '') .
-                          (($this->enablecolumns['starttime']) ? ' AND (' . $this->user_table . '.' . $this->enablecolumns['starttime'] . '<=' . $GLOBALS['EXEC_TIME'] . ')' : '') .
-                          (($this->enablecolumns['endtime']) ? ' AND (' . $this->user_table . '.' . $this->enablecolumns['endtime'] . '=0 OR ' . $this->user_table . '.' . $this->enablecolumns['endtime'] . '>' . $GLOBALS['EXEC_TIME'] . ')' : '');
+                       (($this->enablecolumns['disabled']) ? ' AND ' . $this->user_table . '.' . $this->enablecolumns['disabled'] . '=0' : '') .
+                       (($this->enablecolumns['deleted']) ? ' AND ' . $this->user_table . '.' . $this->enablecolumns['deleted'] . '=0' : '') .
+                       (($this->enablecolumns['starttime']) ? ' AND (' . $this->user_table . '.' . $this->enablecolumns['starttime'] . '<=' . $GLOBALS['EXEC_TIME'] . ')' : '') .
+                       (($this->enablecolumns['endtime']) ? ' AND (' . $this->user_table . '.' . $this->enablecolumns['endtime'] . '=0 OR ' . $this->user_table . '.' . $this->enablecolumns['endtime'] . '>' . $GLOBALS['EXEC_TIME'] . ')' : '');
        }
 
        /**
index 7c85a8c..53bcab5 100644 (file)
@@ -259,8 +259,8 @@ abstract class t3lib_userAuthGroup extends t3lib_userAuth {
 
                        $perms = intval($perms); // Make sure it's integer.
                        $str = ' (' .
-                                  '(pages.perms_everybody & ' . $perms . ' = ' . $perms . ')' . // Everybody
-                                  ' OR (pages.perms_userid = ' . $this->user['uid'] . ' AND pages.perms_user & ' . $perms . ' = ' . $perms . ')'; // User
+                               '(pages.perms_everybody & ' . $perms . ' = ' . $perms . ')' . // Everybody
+                               ' OR (pages.perms_userid = ' . $this->user['uid'] . ' AND pages.perms_user & ' . $perms . ' = ' . $perms . ')'; // User
                        if ($this->groupList) {
                                $str .= ' OR (pages.perms_groupid in (' . $this->groupList . ') AND pages.perms_group & ' . $perms . ' = ' . $perms . ')'; // Group (if any is set)
                        }
@@ -827,7 +827,7 @@ abstract class t3lib_userAuthGroup extends t3lib_userAuth {
                                $workspaceStageRec = t3lib_BEfunc::getRecord('sys_workspace_stage', $stage);
                                        // Check if the user is responsible for the current stage
                                if ((t3lib_div::inList($workspaceStageRec['responsible_persons'], 'be_users_' . $this->user['uid'])
-                                        && $stat['_ACCESS'] === 'member')
+                                       && $stat['_ACCESS'] === 'member')
                                        || $stat['_ACCESS'] === 'owner') {
                                        return TRUE;
                                }
@@ -835,7 +835,7 @@ abstract class t3lib_userAuthGroup extends t3lib_userAuth {
                                        // Check if the user is in a group which is responsible for the current stage
                                foreach ($this->userGroupsUID as $groupUid) {
                                        if ((t3lib_div::inList($workspaceStageRec['responsible_persons'], 'be_groups_' . $groupUid)
-                                                && $stat['_ACCESS'] === 'member')
+                                               && $stat['_ACCESS'] === 'member')
                                                || $stat['_ACCESS'] === 'owner') {
                                                return TRUE;
                                        }
@@ -1098,7 +1098,7 @@ abstract class t3lib_userAuthGroup extends t3lib_userAuth {
 
                                // Setting default User TSconfig:
                        $this->TSdataArray[] = $this->addTScomment('From $GLOBALS["TYPO3_CONF_VARS"]["BE"]["defaultUserTSconfig"]:') .
-                                                                  $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'];
+                                                               $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'];
 
                                // Default TSconfig for admin-users
                        if ($this->isAdmin()) {
@@ -1653,7 +1653,7 @@ abstract class t3lib_userAuthGroup extends t3lib_userAuth {
 
                                        // We now have a path with slash after and slash before (if unix)
                                if (@is_dir($path) &&
-                                        (($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && t3lib_div::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'])) || t3lib_div::isFirstPartOfStr($path, $fdir))) {
+                                       (($GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'] && t3lib_div::isFirstPartOfStr($path, $GLOBALS['TYPO3_CONF_VARS']['BE']['lockRootPath'])) || t3lib_div::isFirstPartOfStr($path, $fdir))) {
                                                // Alternative title?
                                        $name = $title ? $title : $altTitle;
                                                // Adds the filemount. The same filemount with same name, type and path cannot be set up twice because of the hash string used as key.
index d3cac4d..bf20b9a 100644 (file)
@@ -875,7 +875,7 @@ if (!empty($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer'])) {
        $proxyParts = explode(':', $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer'], 2);
        $GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_host'] = $proxyParts[0];
        $GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy_port'] = $proxyParts[1];
-    /* TODO: uncomment after refactoring getUrl()
+       /* TODO: uncomment after refactoring getUrl()
        t3lib_div::deprecationLog(
                'This TYPO3 installation is using the $TYPO3_CONF_VARS[\'SYS\'][\'curlProxyServer\'] property with the following value: ' .
                $TYPO3_CONF_VARS['SYS']['curlProxyServer'] . LF . 'Please make sure to set $TYPO3_CONF_VARS[\'HTTP\'][\'proxy_host\']' .
index 5a6ca30..74162e7 100644 (file)
@@ -65,7 +65,7 @@ abstract class t3lib_error_AbstractExceptionHandler implements t3lib_error_Excep
                $exceptionCodeNumber = ($exception->getCode() > 0) ? '#' . $exception->getCode() . ': ' : '';
                $logTitle = 'Core: Exception handler (' . $context . ')';
                $logMessage = 'Uncaught TYPO3 Exception: ' . $exceptionCodeNumber . $exception->getMessage() . ' | ' .
-                                         get_class($exception) . ' thrown in file ' . $filePathAndName . ' in line ' . $exception->getLine();
+                                       get_class($exception) . ' thrown in file ' . $filePathAndName . ' in line ' . $exception->getLine();
                if ($context === 'WEB') {
                        $logMessage .= '. Requested URL: ' . t3lib_div::getIndpEnv('TYPO3_REQUEST_URL');
                }
index 647cd55..0e93653 100644 (file)
@@ -115,7 +115,7 @@ class t3lib_error_DebugExceptionHandler extends t3lib_error_AbstractExceptionHan
                                                <div style="width: 100%; padding: 2px; margin: 0 0 6px 0;">
                                                        <strong style="color: #BE0027;">' . $exceptionCodeNumber . htmlspecialchars($exception->getMessage()) .
                                                        '</strong> ' . $moreInformationLink .
-                        '<br />
+                       '<br />
                                                        <br />
                                                        <span class="ExceptionProperty">' . get_class($exception) . '</span> thrown in file<br />
                                                        <span class="ExceptionProperty">' . htmlspecialchars($filePathAndName) . '</span> in line
index 077fab7..4df40c6 100644 (file)
@@ -185,7 +185,7 @@ class t3lib_extjs_ExtDirectApi {
                        // look up into the cache
                $cacheIdentifier = 'ExtDirectApi';
                $cacheHash = md5($cacheIdentifier . implode(',', $filterNamespaces) . t3lib_div::getIndpEnv('TYPO3_SSL') .
-                        serialize($this->settings) . TYPO3_MODE . t3lib_div::getIndpEnv('HTTP_HOST'));
+                       serialize($this->settings) . TYPO3_MODE . t3lib_div::getIndpEnv('HTTP_HOST'));
 
                        // with no_cache always generate the javascript content
                $cacheContent = $noCache ? '' : t3lib_pageSelect::getHash($cacheHash);
index 3d66d0b..b1f5e59 100644 (file)
@@ -161,7 +161,7 @@ class t3lib_file_Service_ImageProcessingService {
                } else {
                                // Filename:
                        $fileDestination = $gifCreator->tempPath . $hash . '.' . $imgExt;
-                                // Generate!
+                               // Generate!
                        if (!file_exists($fileDestination)) {
                                $this->processMask($maskImages, $gifCreator, $theImage, $fileConfiguration, $options, $fileDestination);
                        }
@@ -208,7 +208,7 @@ class t3lib_file_Service_ImageProcessingService {
                        $negate = $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_negate_mask'] ? ' -negate' : '';
 
                        $temp_ext = 'png';
-                                // If ImageMagick version 5+
+                               // If ImageMagick version 5+
                        if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['im_mask_temp_ext_gif']) {
                                $temp_ext = $gifCreator->gifExtension;
                        }
index 1c14d30..6cbfcfd 100644 (file)
@@ -1664,7 +1664,7 @@ class t3lib_file_Storage {
                if ($processingFolder && $path == '/') {
                        $processedFolderIdentifier = $this->processingFolder->getIdentifier();
                        $processedFolderIdentifier = trim($processedFolderIdentifier, '/');
-                        if (isset($items[$processedFolderIdentifier])) {
+                       if (isset($items[$processedFolderIdentifier])) {
                                unset($items[$processedFolderIdentifier]);
                        }
                }
index a9de498..fedb1aa 100644 (file)
@@ -134,12 +134,12 @@ abstract class t3lib_matchCondition_abstract {
        protected function normalizeExpression($expression) {
                $normalizedExpression = preg_replace(
                        array(
-                                '/\]\s*(OR|\|\|)?\s*\[/i',
-                                '/\]\s*(AND|&&)\s*\[/i',
+                               '/\]\s*(OR|\|\|)?\s*\[/i',
+                               '/\]\s*(AND|&&)\s*\[/i',
                        ),
                        array(
-                                ']||[',
-                                ']&&[',
+                               ']||[',
+                               ']&&[',
                        ),
                        trim($expression)
                );
index ff3e465..38fcf2d 100644 (file)
@@ -373,7 +373,7 @@ class t3lib_spritemanager_SpriteGenerator {
 
                $i = 0;
                while (isset($cssPathSegments[$i]) && isset($graphicPathSegments[$i]) &&
-                          $cssPathSegments[$i] == $graphicPathSegments[$i]) {
+                       $cssPathSegments[$i] == $graphicPathSegments[$i]) {
                        unset($cssPathSegments[$i]);
                        unset($graphicPathSegments[$i]);
                        ++$i;
index b1e4040..0e17535 100644 (file)
@@ -1034,16 +1034,16 @@ if (!t3lib_div::compat_version('4.2')) {
                2,
                0,
                array(
-                        array(
-                                'LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.0',
-                                '2',
-                                'i/pages.gif',
-                        ),
-                        array(
-                                'LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.3',
-                                '5',
-                                'i/pages_notinmenu.gif',
-                        ),
+                       array(
+                               'LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.0',
+                               '2',
+                               'i/pages.gif',
+                       ),
+                       array(
+                               'LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.3',
+                               '5',
+                               'i/pages_notinmenu.gif',
+                       ),
                )
        );
                // setting the doktype 1 ("Standard") to show less fields
index b480a3f..7ef4967 100644 (file)
@@ -96,7 +96,7 @@ class t3lib_TCEforms_Suggest {
                $jsObj = str_replace(' ', '', ucwords(str_replace('-', ' ', t3lib_div::strtolower($suggestId))));
                $this->TCEformsObj->additionalJS_post[] = '
                        var ' . $jsObj . ' = new TCEForms.Suggest("' . $fieldname . '", "' . $table . '", "' . $field .
-                                                                                                 '", "' . $row['uid'] . '", ' . $row['pid'] . ', ' . $minChars . ');
+                                                                                               '", "' . $row['uid'] . '", ' . $row['pid'] . ', ' . $minChars . ');
                        ' . $jsObj . '.defaultValue = "' . t3lib_div::slashJS($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.findRecord')) . '";
                ';
 
@@ -190,7 +190,6 @@ class t3lib_TCEforms_Suggest {
                                $config = t3lib_div::array_merge_recursive_overrule($config, $wizardConfig[$queryTable]);
                        }
 
-
                                // merge the configurations of different "levels" to get the working configuration for this table and
                                // field (i.e., go from the most general to the most special configuration)
                        if (is_array($TSconfig['TCEFORM.']['suggest.']['default.'])) {
@@ -218,7 +217,7 @@ class t3lib_TCEforms_Suggest {
                                $config['addWhere'] = strtr(' ' . $config['addWhere'], array(
                                                                                                                                                        '###THIS_UID###' => intval($uid),
                                                                                                                                                        '###CURRENT_PID###' => intval($pageId),
-                                                                                                                                          ));
+                                                                                                                                               ));
                        }
                                // instantiate the class that should fetch the records for this $queryTable
                        $receiverClassName = $config['receiverClass'];
@@ -256,7 +255,7 @@ class t3lib_TCEforms_Suggest {
                                $row = $resultRows[$rowsSort[$i]];
                                $rowId = $row['table'] . '-' . $row['uid'] . '-' . $table . '-' . $uid . '-' . $field;
                                $listItems[] = '<li' . ($row['class'] != '' ? ' class="' . $row['class'] . '"' : '') .
-                                                          ' id="' . $rowId . '" style="' . $row['style'] . '">' . $row['text'] . '</li>';
+                                                       ' id="' . $rowId . '" style="' . $row['style'] . '">' . $row['text'] . '</li>';
                        }
                }
 
index a9ffef3..716de28 100644 (file)
@@ -189,9 +189,9 @@ class t3lib_TCEforms_Suggest_DefaultReceiver {
                                $path = $this->getRecordPath($row, $uid);
                                if (strlen($path) > 30) {
                                        $croppedPath = '<abbr title="' . htmlspecialchars($path) . '">' .
-                                                                  htmlspecialchars($GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, 10) .
+                                                               htmlspecialchars($GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, 10) .
                                                                                                        '...' . $GLOBALS['LANG']->csConvObj->crop($GLOBALS['LANG']->charSet, $path, -20)
-                                                                  ) . '</abbr>';
+                                                               ) . '</abbr>';
                                } else {
                                        $croppedPath = htmlspecialchars($path);
                                }
@@ -238,7 +238,7 @@ class t3lib_TCEforms_Suggest_DefaultReceiver {
                if (strlen($searchString)) {
                        $searchString = $GLOBALS['TYPO3_DB']->quoteStr($searchString, $this->table);
                        $likeCondition = ' LIKE \'' . ($searchWholePhrase ? '%' : '') .
-                                                        $GLOBALS['TYPO3_DB']->escapeStrForLike($searchString, $this->table) . '%\'';
+                                                       $GLOBALS['TYPO3_DB']->escapeStrForLike($searchString, $this->table) . '%\'';
 
                                // Search in all fields given by label or label_alt
                        $selectFieldsList = $GLOBALS['TCA'][$this->table]['ctrl']['label'] . ',' . $GLOBALS['TCA'][$this->table]['ctrl']['label_alt'];
index 8a9482a..3efb3e3 100644 (file)
@@ -156,12 +156,12 @@ class t3lib_tree_RepresentationNode extends t3lib_tree_Node {
        public function toArray($addChildNodes = TRUE) {
                $arrayRepresentation = parent::toArray();
                $arrayRepresentation = array_merge($arrayRepresentation, array(
-                                                                                                                                         'label' => $this->label,
-                                                                                                                                         'type' => $this->type,
-                                                                                                                                         'class' => $this->class,
-                                                                                                                                         'icon' => $this->icon,
-                                                                                                                                         'callbackAction' => $this->callbackAction
-                                                                                                                                ));
+                                                                                                                                       'label' => $this->label,
+                                                                                                                                       'type' => $this->type,
+                                                                                                                                       'class' => $this->class,
+                                                                                                                                       'icon' => $this->icon,
+                                                                                                                                       'callbackAction' => $this->callbackAction
+                                                                                                                               ));
                return $arrayRepresentation;
        }
 
index ea83160..fcd134f 100644 (file)
@@ -111,7 +111,7 @@ class t3lib_tree_pagetree_DataProvider extends t3lib_tree_AbstractDataProvider {
         * @param int $level internally used variable as a recursion limiter
         * @return t3lib_tree_NodeCollection
         */
-        public function getNodes(t3lib_tree_Node $node, $mountPoint = 0, $level = 0) {
+       public function getNodes(t3lib_tree_Node $node, $mountPoint = 0, $level = 0) {
                /** @var $nodeCollection t3lib_tree_pagetree_NodeCollection */
                $nodeCollection = t3lib_div::makeInstance('t3lib_tree_pagetree_NodeCollection');
 
@@ -484,4 +484,4 @@ class t3lib_tree_pagetree_DataProvider extends t3lib_tree_AbstractDataProvider {
        }
 }
 
-?>
+?>
\ No newline at end of file
index 2c0d083..7d20b32 100644 (file)
@@ -50,9 +50,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'error' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'error' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -75,9 +75,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -106,9 +106,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        }
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -131,9 +131,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -165,9 +165,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        );
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -206,9 +206,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -232,9 +232,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -262,9 +262,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -292,9 +292,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = $newNode->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -316,9 +316,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = t3lib_tree_pagetree_Commands::getNode($newPageId)->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
@@ -341,9 +341,9 @@ class t3lib_tree_pagetree_extdirect_Commands {
                        $returnValue = t3lib_tree_pagetree_Commands::getNode($newPageId)->toArray();
                } catch (Exception $exception) {
                        $returnValue = array(
-                                'success' => FALSE,
-                                'message' => $exception->getMessage(),
-                        );
+                               'success' => FALSE,
+                               'message' => $exception->getMessage(),
+                       );
                }
 
                return $returnValue;
index b32e9f8..0796beb 100644 (file)
@@ -32,7 +32,6 @@
  * @package TYPO3
  * @subpackage t3lib_tree
  */
-
 class t3lib_tree_Tca_ExtJsArrayRenderer extends t3lib_tree_Renderer_ExtJsJson {
 
        /**
@@ -47,9 +46,9 @@ class t3lib_tree_Tca_ExtJsArrayRenderer extends t3lib_tree_Renderer_ExtJsJson {
                $nodeArray = array_merge(
                        $nodeArray,
                        array(
-                                'expanded' => $node->getExpanded(),
-                                'expandable' => $node->hasChildNodes(),
-                                'checked' => $node->getSelected(),
+                               'expanded' => $node->getExpanded(),
+                               'expandable' => $node->hasChildNodes(),
+                               'checked' => $node->getSelected(),
                        )
                );
                if (!$node->getSelectable()) {
index 9989c31..31404cd 100644 (file)
@@ -68,8 +68,8 @@ final class t3lib_utility_Client {
                        // Declare known browsers to look for
 
                $known = array('msie', 'firefox', 'webkit', 'opera', 'netscape', 'konqueror',
-                                          'gecko', 'chrome', 'safari', 'seamonkey', 'navigator', 'mosaic',
-                                          'lynx', 'amaya', 'omniweb', 'avant', 'camino', 'flock', 'aol');
+                                       'gecko', 'chrome', 'safari', 'seamonkey', 'navigator', 'mosaic',
+                                       'lynx', 'amaya', 'omniweb', 'avant', 'camino', 'flock', 'aol');
                $matches = array();
 
                $pattern = '#(?P<browser>' . join('|', $known) . ')[/ ]+(?P<version>[0-9]+(?:\.[0-9]+)?)#';
index a15b333..431a5c9 100644 (file)
@@ -130,7 +130,7 @@ final class t3lib_utility_Debug {
                } else {
                        $string = str_replace(array(
                                '"', '/', '<', "\n", "\r"
-                 ), array(
+                               ), array(
                                '\"', '\/', '\<', '', ''
                        ), $string);
                }
@@ -253,8 +253,8 @@ final class t3lib_utility_Debug {
 
                                        // Header:
                                $tRows[] = '<tr><td colspan="' . count($headerColumns) .
-                                                  '" style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;"><strong>' .
-                                                  htmlspecialchars($header) . '</strong></td></tr>';
+                                               '" style="background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;"><strong>' .
+                                               htmlspecialchars($header) . '</strong></td></tr>';
                                $tCells = array();
                                foreach ($headerColumns as $key) {
                                        $tCells[] = '
@@ -343,8 +343,8 @@ final class t3lib_utility_Debug {
                                                        $string .= print_r($val, TRUE);
                                                }
                                                $result .= '<font face="Verdana,Arial" size="1" color="red">' .
-                                                                  nl2br(htmlspecialchars($string)) .
-                                                                  '<br /></font>';
+                                                               nl2br(htmlspecialchars($string)) .
+                                                               '<br /></font>';
                                        } else {
                                                if (gettype($val) == 'object') {
                                                        $string = 'Unknown object';
@@ -352,8 +352,8 @@ final class t3lib_utility_Debug {
                                                        $string = (string) $val;
                                                }
                                                $result .= '<font face="Verdana,Arial" size="1" color="red">' .
-                                                                  nl2br(htmlspecialchars($string)) .
-                                                                  '<br /></font>';
+                                                               nl2br(htmlspecialchars($string)) .
+                                                               '<br /></font>';
                                        }
                                        $result .= '</td>
                                        </tr>';
@@ -364,8 +364,8 @@ final class t3lib_utility_Debug {
                        $result = '<table border="1" cellpadding="1" cellspacing="0" bgcolor="white">
                                <tr>
                                        <td><font face="Verdana,Arial" size="1" color="red">' .
-                                         nl2br(htmlspecialchars((string) $array_in)) .
-                                         '<br /></font></td>
+                                       nl2br(htmlspecialchars((string) $array_in)) .
+                                       '<br /></font></td>
                                </tr>
                        </table>'; // Output it as a string.
                }
index 9df3582..9841595 100644 (file)
@@ -74,7 +74,7 @@ class t3lib_cache_frontend_VariableFrontendTest extends tx_phpunit_testcase {
        }
 
        /**
-        * @test
+        * @test
         * @author Karsten Dambekalns <karsten@typo3.org>
         * @author Ingo Renner <ingo@typo3.org>
         */
index 8413534..fbd02f2 100644 (file)
@@ -1145,12 +1145,12 @@ class t3lib_file_Driver_LocalDriverTest extends t3lib_file_BaseTestCase {
 
                $fileContents = uniqid();
                $this->addToMount(array(
-                                      'targetFolder' => array(),
-                                      'someFolder' => array('file' => $fileContents)
-                                 ));
+                       'targetFolder' => array(),
+                       'someFolder' => array('file' => $fileContents)
+               ));
                $fixture = $this->createDriverFixture(array(
-                                                          'basePath' => $this->getMountRootUrl()
-                                                     ));
+                       'basePath' => $this->getMountRootUrl()
+               ));
                return array($mockedFolder, $sourceFolder, $fileContents, $fixture);
        }
 
index 947ae40..2993dae 100644 (file)
@@ -330,7 +330,7 @@ class t3lib_file_FileTest extends Tx_Phpunit_TestCase {
                $mockDriver = $this->getMockForAbstractClass('t3lib_file_driver_Abstract');
                $mockDriver->expects($this->any())->method('getFileHandle')->will($this->returnValue($mockFileHandle));
                $mockDriver->expects($this->once())->method('readFromFile')->with($this->anything(), $this->equalTo($bytesToRead))
-                   ->will($this->returnValue(substr($fileContents, 0, $bytesToRead)));
+                       ->will($this->returnValue(substr($fileContents, 0, $bytesToRead)));
 
                $fixture->setStorageDriver($mockDriver);
 
@@ -370,7 +370,7 @@ class t3lib_file_FileTest extends Tx_Phpunit_TestCase {
                $mockDriver = $this->getMockForAbstractClass('t3lib_file_driver_Abstract');
                $mockDriver->expects($this->any())->method('getFileHandle')->will($this->returnValue($mockFileHandle));
                $mockDriver->expects($this->once())->method('writeToFile')->with($this->anything(), $this->equalTo($fileContents))
-                   ->will($this->returnValue(TRUE));
+                       ->will($this->returnValue(TRUE));
 
                $fixture->setStorageDriver($mockDriver);
 
index 58a6960..a464df9 100644 (file)
@@ -75,8 +75,8 @@ class t3lib_file_Repository_AbstractRepositoryTest extends Tx_Phpunit_TestCase {
        public function findByUidAcceptsNumericUidInString() {
                $this->createDatabaseMock();
                $this->mockedDb->expects($this->once())->method('exec_SELECTgetSingleRow')
-                 ->with($this->anything(), $this->anything(), $this->stringContains('uid=' . 123))
-                 ->will($this->returnValue(array('uid' => 123)));
+                       ->with($this->anything(), $this->anything(), $this->stringContains('uid=' . 123))
+                       ->will($this->returnValue(array('uid' => 123)));
 
                $this->fixture->findByUid("123");
        }
index 55ef9e4..27a8c85 100644 (file)
@@ -310,7 +310,7 @@ class t3lib_file_StorageTest extends t3lib_file_BaseTestCase {
                        // let all other checks pass
                /** @var $fixture t3lib_file_Storage */
                $fixture = $this->getMock('t3lib_file_Storage', array('isWritable', 'isBrowsable', 'checkUserActionPermission'),
-                                         array($mockedDriver, array()), '', FALSE);
+                       array($mockedDriver, array()), '', FALSE);
                $fixture->expects($this->any())->method('isWritable')->will($this->returnValue(TRUE));
                $fixture->expects($this->any())->method('isBrowsable')->will($this->returnValue(TRUE));
                $fixture->expects($this->any())->method('checkUserActionPermission')->will($this->returnValue(TRUE));
index c424417..092f369 100644 (file)
@@ -78,8 +78,8 @@ class t3lib_utility_clientTest extends tx_phpunit_testcase {
                        );
                }
                $this->assertEquals(
-                       $expected,
-                       $compare
+                       $expected,
+                       $compare
                );
        }
 
@@ -197,8 +197,8 @@ class t3lib_utility_clientTest extends tx_phpunit_testcase {
                $infoArray = t3lib_utility_Client::getBrowserInfo($userAgentString);
 
                $this->assertEquals(
-                       '1.9.2.3',
-                       $infoArray['all']['gecko']
+                       '1.9.2.3',
+                       $infoArray['all']['gecko']
                );
        }
 
index b969c38..d9a24dc 100644 (file)
@@ -123,56 +123,56 @@ class t3lib_utility_MailTest extends tx_phpunit_testcase {
                $GLOBALS['TYPO3_CONF_VARS']['MAIL'] = $mailConfigurationBackup;
        }
 
-    /**
-     * @test
-     */
-    public function breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven() {
-        $this->assertEmpty(
-            t3lib_utility_Mail::breakLinesForEmail('')
-        );
-    }
-
-    /**
-     * @test
-     */
-    public function breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded() {
-        $newlineChar = LF;
-        $lineWidth = 76;
-        $str = 'This text is not longer than 76 chars and therefore will not be broken.';
-        $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
-        $this->assertEquals(
-            1,
-            count(explode($newlineChar, $returnString))
-        );
-    }
-
-    /**
-     * @test
-     */
-    public function breakLinesForEmailBreaksTextIfCharWithIsExceeded() {
-        $newlineChar = LF;
-        $lineWidth = 50;
-        $str = 'This text is longer than 50 chars and therefore will be broken.';
-        $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
-        $this->assertEquals(
-            2,
-            count(explode($newlineChar, $returnString))
-        );
-    }
-
-    /**
-     * @test
-     */
-    public function breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit() {
-        $newlineChar = LF;
-        $lineWidth = 10;
+       /**
+        * @test
+        */
+       public function breakLinesForEmailReturnsEmptyStringIfEmptryStringIsGiven() {
+               $this->assertEmpty(
+                       t3lib_utility_Mail::breakLinesForEmail('')
+               );
+       }
+
+       /**
+        * @test
+        */
+       public function breakLinesForEmailReturnsOneLineIfCharWithIsNotExceeded() {
+               $newlineChar = LF;
+               $lineWidth = 76;
+               $str = 'This text is not longer than 76 chars and therefore will not be broken.';
+               $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
+               $this->assertEquals(
+                       1,
+                       count(explode($newlineChar, $returnString))
+               );
+       }
+
+       /**
+        * @test
+        */
+       public function breakLinesForEmailBreaksTextIfCharWithIsExceeded() {
+               $newlineChar = LF;
+               $lineWidth = 50;
+               $str = 'This text is longer than 50 chars and therefore will be broken.';
+               $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
+               $this->assertEquals(
+                       2,
+                       count(explode($newlineChar, $returnString))
+               );
+       }
+
+       /**
+        * @test
+        */
+       public function breakLinesForEmailBreaksTextWithNoSpaceFoundBeforeLimit() {
+               $newlineChar = LF;
+               $lineWidth = 10;
                // first space after 20 chars (more than $lineWidth)
-        $str = 'abcdefghijklmnopqrst uvwxyz 123456';
-        $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
-        $this->assertEquals(
-            $returnString,
-            'abcdefghijklmnopqrst' . LF . 'uvwxyz' . LF . '123456'
-        );
-    }
+               $str = 'abcdefghijklmnopqrst uvwxyz 123456';
+               $returnString = t3lib_utility_Mail::breakLinesForEmail($str, $newlineChar, $lineWidth);
+               $this->assertEquals(
+                       $returnString,
+                               'abcdefghijklmnopqrst' . LF . 'uvwxyz' . LF . '123456'
+               );
+       }
 }
-?>
+?>
\ No newline at end of file
index a501adc..cc4a5c0 100644 (file)
@@ -32,7 +32,6 @@ require_once('fixture/t3lib_utility_math_fixture_classWithStringRepresentation.p
  * @package TYPO3
  * @subpackage t3lib
  */
-
 class t3lib_utility_MathTest extends tx_phpunit_testcase {
 
        //////////////////////////////////
@@ -58,14 +57,14 @@ class t3lib_utility_MathTest extends tx_phpunit_testcase {
         * @dataProvider forceIntegerInRangeForcesIntegerIntoDefaultBoundariesDataProvider
         */
        public function forceIntegerInRangeForcesIntegerIntoDefaultBoundaries($expected, $value) {
-                $this->assertEquals($expected, t3lib_utility_Math::forceIntegerInRange($value, 0));
+               $this->assertEquals($expected, t3lib_utility_Math::forceIntegerInRange($value, 0));
        }
 
        /**
         * @test
         */
        public function forceIntegerInRangeSetsDefaultValueIfZeroValueIsGiven() {
-                $this->assertEquals(42, t3lib_utility_Math::forceIntegerInRange('', 0, 2000000000, 42));
+               $this->assertEquals(42, t3lib_utility_Math::forceIntegerInRange('', 0, 2000000000, 42));
        }
 
        //////////////////////////////////
index 0c27225..160061a 100644 (file)
@@ -804,8 +804,8 @@ class clickMenu {
                                $icon = t3lib_iconWorks::getSpriteIconForFile(
                                        'folder',
                                        array(
-                                                'class'=>'absmiddle',
-                                                'title' => htmlspecialchars($fileObject->getName())
+                                               'class'=>'absmiddle',
+                                               'title' => htmlspecialchars($fileObject->getName())
                                        )
                                );
                                $folder = TRUE;
@@ -813,11 +813,11 @@ class clickMenu {
                                $icon = t3lib_iconWorks::getSpriteIconForFile(
                                        $fileObject->getExtension(),
                                        array(
-                                                'class'=>'absmiddle',
-                                                'title' => htmlspecialchars(
-                                                        $fileObject->getName() .
-                                                       ' (' . t3lib_div::formatSize($fileObject->getSize()) . ')'
-                                                )
+                                               'class'=>'absmiddle',
+                                               'title' => htmlspecialchars(
+                                                       $fileObject->getName() .
+                                                       ' (' . t3lib_div::formatSize($fileObject->getSize()) . ')'
+                                               )
                                        )
                                );
                        }
index 4ff782d..ef93bce 100644 (file)
@@ -298,7 +298,7 @@ class SC_alt_db_navframe {
 
                        $workspaceInfo = '
                                <div class="bgColor4 workspace-info">' .
-                                        t3lib_iconWorks::getSpriteIcon(
+                                       t3lib_iconWorks::getSpriteIcon(
                                                'apps-toolbar-menu-workspace',
                                                array(
                                                        'title' => $wsTitle,
index 5d5b71d..a684e25 100644 (file)
@@ -944,7 +944,7 @@ class SC_alt_doc {
                                                '',
                                                array_merge($this->R_URL_getvars, array('SET'=>''))
                                        ) . t3lib_BEfunc::getUrlToken('editRecord'),'id="checkShowPalettes"') . '<label for="checkShowPalettes">' .
-                                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes', 1) . '</label>';
+                                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes', 1) . '</label>';
                }
                else {
                        return '';
index f1af6eb..4a3da38 100644 (file)
@@ -763,7 +763,7 @@ class TYPO3backend {
                if(empty($this->cssFiles[$cssFileName])) {
                        $this->cssFiles[$cssFileName] = $cssFile;
                        $cssFileAdded = TRUE;
-               }
+               }
 
                return $cssFileAdded;
        }
@@ -841,4 +841,4 @@ if (is_array($GLOBALS['TBE_MODULES']['_configuration'])) {
 
 $TYPO3backend->render();
 
-?>
\ No newline at end of file
+?>
index 12a21f3..cb586a9 100644 (file)
@@ -127,13 +127,13 @@ class SC_browse_links {
                // Set temporary DB mounts
                $tempDBmount = intval($GLOBALS['BE_USER']->getSessionData('pageTree_temporaryMountPoint'));
                if ($tempDBmount) {
-                       $altMountPoints = $tempDBmount;
+                       $altMountPoints = $tempDBmount;
                }
 
-               if ($altMountPoints) {
-                       $GLOBALS['BE_USER']->groupData['webmounts'] = implode(',', array_unique(t3lib_div::intExplode(',', $altMountPoints)));
-                       $GLOBALS['WEBMOUNTS'] = $GLOBALS['BE_USER']->returnWebmounts();
-               }
+               if ($altMountPoints) {
+                       $GLOBALS['BE_USER']->groupData['webmounts'] = implode(',', array_unique(t3lib_div::intExplode(',', $altMountPoints)));
+                       $GLOBALS['WEBMOUNTS'] = $GLOBALS['BE_USER']->returnWebmounts();
+               }
 
                $this->content = '';
 
index 71f91a8..c4195ba 100644 (file)
@@ -352,7 +352,7 @@ class localPageTree extends t3lib_browseTree {
        function wrapIcon($icon, $row) {
                $content = $this->addTagAttributes($icon, ' title="id=' . $row['uid'] . '"');
                if ($this->ext_showPageId) {
-                       $content .= '[' . $row['uid'] . ']&nbsp;';
+                       $content .= '[' . $row['uid'] . ']&nbsp;';
                }
                return $content;
        }
@@ -2940,4 +2940,4 @@ class browse_links {
                return $result;
        }
 }
-?>
\ No newline at end of file
+?>
index 53f6f43..e459193 100644 (file)
@@ -60,7 +60,7 @@ class localRecordList extends recordList {
 
        var $dontShowClipControlPanels=FALSE;   // If TRUE, will disable the rendering of clipboard + control panels.
        var $showClipboard=FALSE;                               // If TRUE, will show the clipboard in the field list.
-       var $noControlPanels = FALSE;                   // If TRUE, will DISABLE all control panels in lists. (Takes precedence)
+       var $noControlPanels = FALSE;                   // If TRUE, will DISABLE all control panels in lists. (Takes precedence)
        var $clickMenuEnabled = TRUE;                   // If TRUE, clickmenus will be rendered
 
        var $totalRowCount;                                             // count of record rows in view
index 8ab9f1f..d77bac8 100644 (file)
@@ -220,7 +220,7 @@ class fileList extends t3lib_recordList {
                                                        break;
                                                case 'rw':
                                                        $sortingKey = $fileObject->checkActionPermission('read') ? 'R' : ''
-                                                                     . $fileObject->checkActionPermission('write') ? 'W' : '';
+                                                               . $fileObject->checkActionPermission('write') ? 'W' : '';
                                                        break;
                                                case 'fileext':
                                                        $sortingKey = $fileObject->getExtension();
@@ -645,7 +645,7 @@ class fileList extends t3lib_recordList {
                $elFromTable = $this->clipObj->elFromTable('_FILE');
                if (is_a($fileOrFolderObject, 't3lib_file_Folder') && count($elFromTable)) {
                        $cells[] = '<a href="' . htmlspecialchars($this->clipObj->pasteUrl('_FILE', $fullIdentifier)) . '" onclick="return ' . htmlspecialchars($this->clipObj->confirmMsg('_FILE', $fullIdentifier, 'into', $elFromTable)) . '" title="' . $GLOBALS['LANG']->getLL('clip_pasteInto', TRUE) . '">' .
-                         t3lib_iconWorks::getSpriteIcon('actions-document-paste-into') .
+                       t3lib_iconWorks::getSpriteIcon('actions-document-paste-into') .
                        '</a>';
                }
 
index a89d6bc..6ad1f0b 100644 (file)
@@ -817,8 +817,8 @@ class recordHistory {
         * @return      string          HTML output
         */
        function createRollbackLink($key, $alt = '', $type = 0) {
-                return $this->linkPage('<img ' . t3lib_iconWorks::skinImg('', 'gfx/revert_' . $type . '.gif', 'width="33" height="33"') . ' alt="' . $alt . '" title="' . $alt . '" align="middle" />', array('rollbackFields' => $key));
-        }
+               return $this->linkPage('<img ' . t3lib_iconWorks::skinImg('', 'gfx/revert_' . $type . '.gif', 'width="33" height="33"') . ' alt="' . $alt . '" title="' . $alt . '" align="middle" />', array('rollbackFields' => $key));
+       }
 
        /**
         * Creates a link to the same page.
index 0b750cf..440f876 100644 (file)
@@ -1,4 +1,4 @@
-<?php
+ <?php
 /***************************************************************
 *  Copyright notice
 *
@@ -124,7 +124,7 @@ class AjaxLogin {
                if(is_object($GLOBALS['BE_USER'])) {
                        $ajaxObj->setContentFormat('json');
                        if (@is_file(PATH_typo3conf.'LOCK_BACKEND')) {
-                               $ajaxObj->addContent('login', array('will_time_out' => FALSE, 'locked' => TRUE));
+                               $ajaxObj->addContent('login', array('will_time_out' => FALSE, 'locked' => TRUE));
                                $ajaxObj->setContentFormat('json');
                        } elseif (!isset($GLOBALS['BE_USER']->user['uid'])) {
                                $ajaxObj->addContent('login', array('timed_out' => TRUE));
index f619324..7062042 100644 (file)
@@ -279,7 +279,7 @@ class ModuleMenu {
                        $icon['size']     = $iconSizes[3];
                        $icon['title']    = htmlspecialchars($iconTitle);
                        $icon['html']     = '<img src="' . $iconFileRelative . '" ' . $iconSizes[3] .
-                    ' title="' . htmlspecialchars($iconTitle) . '" alt="' . htmlspecialchars($iconTitle) . '" />';
+                               ' title="' . htmlspecialchars($iconTitle) . '" alt="' . htmlspecialchars($iconTitle) . '" />';
                }
 
                return $icon;
index f094397..19914b7 100644 (file)
@@ -62,13 +62,13 @@ class TYPO3_tcefile {
                // VeriCode - a hash of server specific value and other things which
                // identifies if a submission is OK. (see $GLOBALS['BE_USER']->veriCode())
        protected $vC;
-           // the page where the user should be redirected after everything is done
+               // the page where the user should be redirected after everything is done
        protected $redirect;
 
                // Internal, dynamic:
                // File processor object
        protected $fileProcessor;
-           // the result array from the file processor
+               // the result array from the file processor
        protected $fileData;
 
 
index 92234c7..6f8a76d 100644 (file)
@@ -127,7 +127,7 @@ class SC_db_new {
         */
        var $doc;
        var $content;           // Accumulated HTML output
-    var $tRows;
+       var $tRows;
 
        /**
         * Constructor function for the class
@@ -521,8 +521,8 @@ class SC_db_new {
                                                                                $temp = explode(':', substr($v['ctrl']['title'], 9 + strlen($_EXTKEY)));
                                                                                $langFile = $temp[0];
                                                                                $thisTitle = $GLOBALS['LANG']->sL('LLL:EXT:' . $_EXTKEY . '/' . $langFile . ':extension.title');
-                                                                               // if no localisation available, read title from ext_emconf.php
-                                                                               if (!$thisTitle && is_file(t3lib_extMgm::extPath($_EXTKEY) . 'ext_emconf.php')) {
+                                                                               // if no localisation available, read title from ext_emconf.php
+                                                                               if (!$thisTitle && is_file(t3lib_extMgm::extPath($_EXTKEY) . 'ext_emconf.php')) {
                                                                                        include(t3lib_extMgm::extPath($_EXTKEY) . 'ext_emconf.php');
                                                                                        $thisTitle = $EM_CONF[$_EXTKEY]['title'];
                                                                                }
index c5b8e60..2ffd53f 100644 (file)
@@ -189,7 +189,7 @@ class tx_aboutmodules_Functions {
                                $collapseJS = 'onclick="window.location.href=\'alt_menu.php?collapsedOverride[' . $moduleName . ']=' . ($config[$moduleName]
                                                ? '0' : '1') . '\'"';
                                $collapseIcon = t3lib_iconWorks::getSpriteIcon('actions-view-table-' . ($config[$moduleName] ? 'expand'
-                                        : 'collapse'), array('class' => 'c-iconCollapse'));
+                                       : 'collapse'), array('class' => 'c-iconCollapse'));
                        } else {
                                $collapseJS = $collapseIcon = '';
                        }
@@ -496,9 +496,9 @@ class tx_aboutmodules_Functions {
                                $prefix = $navFrameScript . $navFrameScriptParam . '&currentSubScript=';
                        } else {
                                $prefix = 'alt_mod_frameset.php?' .
-                                                 'fW="+top.TS.navFrameWidth+"' .
-                                                 '&nav="+top.TS.PATH_typo3+"' . rawurlencode($navFrameScript . $navFrameScriptParam) .
-                                                 '&script=';
+                                               'fW="+top.TS.navFrameWidth+"' .
+                                               '&nav="+top.TS.PATH_typo3+"' . rawurlencode($navFrameScript . $navFrameScriptParam) .
+                                               '&script=';
                        }
                }
                return $prefix;
@@ -579,10 +579,10 @@ class tx_aboutmodules_Functions {
                                'id' => 'temp_CACHED',
                                'title' => $title,
                                'href' => $backPath .
-                                                 'tce_db.php?vC=' . $GLOBALS['BE_USER']->veriCode() .
-                                                 '&redirect=' . rawurlencode(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT')) .
-                                                 '&cacheCmd=temp_CACHED' .
-                                                 t3lib_BEfunc::getUrlToken('tceAction'),
+                                               'tce_db.php?vC=' . $GLOBALS['BE_USER']->veriCode() .
+                                               '&redirect=' . rawurlencode(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT')) .
+                                               '&cacheCmd=temp_CACHED' .
+                                               t3lib_BEfunc::getUrlToken('tceAction'),
                                'icon' => '<img' . t3lib_iconWorks::skinImg($backPath, 'gfx/clear_cache_files_in_typo3c.gif', 'width="21" height="18"') . ' title="' . htmlspecialchars($title) . '" alt="" />'
                        );
                }
@@ -593,9 +593,9 @@ class tx_aboutmodules_Functions {
                        'id' => 'all',
                        'title' => $title,
                        'href' => $backPath . 'tce_db.php?vC=' . $GLOBALS['BE_USER']->veriCode() .
-                                         '&redirect=' . rawurlencode(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT')) .
-                                         '&cacheCmd=all' .
-                                         t3lib_BEfunc::getUrlToken('tceAction'),
+                                       '&redirect=' . rawurlencode(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT')) .
+                                       '&cacheCmd=all' .
+                                       t3lib_BEfunc::getUrlToken('tceAction'),
                        'icon' => '<img' . t3lib_iconWorks::skinImg($backPath, 'gfx/clear_all_cache.gif', 'width="21" height="18"') . ' title="' . htmlspecialchars($title) . '" alt="" />'
                );
 
index 1d871ef..b8ade54 100755 (executable)
@@ -46,7 +46,7 @@ $BE_USER->modAccess($MCONF,1);
  * @package TYPO3
  * @subpackage tx_beuser
  */
- class localPageTree extends t3lib_browseTree {
+class localPageTree extends t3lib_browseTree {
        var $expandFirst=0;
        var $expandAll=0;
 
@@ -302,7 +302,7 @@ class printAllPageTree_perms extends printAllPageTree {
  * @package TYPO3
  * @subpackage tx_beuser
  */
- class localFolderTree extends t3lib_folderTree {
+class localFolderTree extends t3lib_folderTree {
        var $expandFirst=0;
        var $expandAll=0;
 
index 66814ed..471f13e 100755 (executable)
@@ -229,7 +229,7 @@ class SC_db_layout {
                $this->menuConfig();
 
                        // Setting sys language from session var:
-               $this->current_sys_language=intval($this->MOD_SETTINGS['language']);
+               $this->current_sys_language=intval($this->MOD_SETTINGS['language']);
 
                        // Include scripts: QuickEdit
                if ($this->MOD_SETTINGS['function']==0) {
@@ -290,7 +290,7 @@ class SC_db_layout {
                        }
                }
 
-                        // First, select all pages_language_overlay records on the current page. Each represents a possibility for a language on the page. Add these to language selector.
+                       // First, select all pages_language_overlay records on the current page. Each represents a possibility for a language on the page. Add these to language selector.
                $res = $this->exec_languageQuery($this->id);
                while($lrow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res))      {
                        if ($GLOBALS['BE_USER']->checkLanguageAccess($lrow['uid']))     {
@@ -896,7 +896,7 @@ class SC_db_layout {
                $q_count = $this->getNumberOfHiddenElements();
                $h_func_b= t3lib_BEfunc::getFuncCheck($this->id,'SET[tt_content_showHidden]',$this->MOD_SETTINGS['tt_content_showHidden'],'db_layout.php','','id="checkTt_content_showHidden"').
                                        '<label for="checkTt_content_showHidden">' .
-                                  (!$q_count ? $GLOBALS['TBE_TEMPLATE']->dfw($GLOBALS['LANG']->getLL('hiddenCE', 1)) : $GLOBALS['LANG']->getLL('hiddenCE', 1) .
+                                       (!$q_count ? $GLOBALS['TBE_TEMPLATE']->dfw($GLOBALS['LANG']->getLL('hiddenCE', 1)) : $GLOBALS['LANG']->getLL('hiddenCE', 1) .
                                        ' (' . $q_count . ')') . '</label>';
 
                $h_func_b.= '<br />'.
@@ -1052,7 +1052,7 @@ class SC_db_layout {
                                } else {
                                $h_func = '';
                        }
-                       }
+                       }
 
                                // Start the dblist object:
                        $dblist->itemsLimitSingleTable = 1000;
@@ -1355,4 +1355,4 @@ $SOBE->clearCache();
 $SOBE->main();
 $SOBE->printContent();
 
-?>
\ No newline at end of file
+?>
index 5dc0ef3..74ea3b8 100644 (file)
@@ -215,7 +215,7 @@ class SC_wizard_backend_layout {
 
                $content .= '<a href="#" title="' .
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());return true;">' .
-                        t3lib_iconWorks::getSpriteIcon('actions-document-save') . '</a>';
+                       t3lib_iconWorks::getSpriteIcon('actions-document-save') . '</a>';
 
                $content .= '<a href="#" title="' .
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());window.close();return true;">' .
@@ -223,7 +223,7 @@ class SC_wizard_backend_layout {
 
                $content .= '<a href="#" title="'.
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '" onclick="window.close();return true;">' .
-                        t3lib_iconWorks::getSpriteIcon('actions-document-close') . '</a>';
+                       t3lib_iconWorks::getSpriteIcon('actions-document-close') . '</a>';
 
 
                $content .= $this->doc->spacer(10);
index a0134ae..dbda929 100755 (executable)
@@ -720,12 +720,12 @@ $TCA['tt_content'] = array(
                                        ),
                                ),
                                'foreign_selector_fieldTcaOverride' => array(
-                                        'config' => array(
-                                                'filter' => array(
-                                                        'fileType' =>  array(
-                                                                'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
-                                                        )
-                                                )
+                                       'config' => array(
+                                               'filter' => array(
+                                                       'fileType' =>  array(
+                                                               'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
+                                                       )
+                                               )
                                        )
                                ),
                                'maxitems' => '200',
@@ -1454,13 +1454,13 @@ $TCA['tt_content'] = array(
                                'appearance' => array(
                                        'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference',
                                ),
-                                'foreign_selector_fieldTcaOverride' => array(
-                                        'config' => array(
-                                                'filter' => array(
-                                                        'fileType' =>  array(
-                                                                'disallowed' => PHP_EXTENSIONS_DEFAULT
-                                                        )
-