[TASK] Fix CGL violations against SuperfluousWhitespace
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 9 Jul 2012 17:23:33 +0000 (19:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 9 Jul 2012 19:55:01 +0000 (21:55 +0200)
Fix CGL violations against SuperfluousWhitespace

Change-Id: I92ba1333015c6e1b58105f96691afe6515202c86
Resolves: #38800
Releases: 6.0
Reviewed-on: http://review.typo3.org/12720
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
31 files changed:
t3lib/class.t3lib_autoloader.php
t3lib/js/extjs/ExtDirect.StateProvider.js
t3lib/js/extjs/components/pagetree/javascript/nodeui.js
t3lib/js/extjs/contexthelp.js
t3lib/js/extjs/notifications.js
typo3/sysext/beuser/mod/index.php
typo3/sysext/cms/layout/res/grideditor.js
typo3/sysext/cms/layout/res/typo3.pageModule.js
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php
typo3/sysext/em/classes/extensions/class.tx_em_extensions_details.php
typo3/sysext/em/classes/extensions/class.tx_em_extensions_list.php
typo3/sysext/em/classes/index.php
typo3/sysext/em/classes/install/class.tx_em_install.php
typo3/sysext/em/classes/settings/class.tx_em_settings.php
typo3/sysext/em/classes/tools/class.tx_em_tools.php
typo3/sysext/em/classes/tools/class.tx_em_tools_unzip.php
typo3/sysext/em/classes/tools/class.tx_em_tools_xmlhandler.php
typo3/sysext/em/res/js/em_components.js
typo3/sysext/em/res/js/em_files.js
typo3/sysext/em/res/js/em_languages.js
typo3/sysext/em/res/js/em_settings.js
typo3/sysext/em/res/js/em_ter.js
typo3/sysext/form/Classes/View/Wizard/Wizard.php
typo3/sysext/form/Tests/Unit/System/Filter/AlphabeticTest.php
typo3/sysext/form/Tests/Unit/System/Filter/AlphanumericTest.php
typo3/sysext/impexp/app/index.php
typo3/sysext/impexp/class.tx_impexp.php
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/class.crawler.php
typo3/sysext/indexed_search/example/class.crawlerhook.php
typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php

index 564de46..1e911ab 100644 (file)
@@ -157,7 +157,6 @@ class t3lib_autoloader {
                        $classRegistry = self::lowerCaseClassRegistry(self::createCoreAndExtensionRegistry());
                }
 
-
                self::$classNameToFileMapping = $classRegistry;
        }
 
index f9ef13f..4a19c49 100644 (file)
@@ -168,7 +168,6 @@ Ext.extend(TYPO3.state.ExtDirectProvider, Ext.state.Provider, {
                var i;
                var found = false;
 
-
                var lastValue = this.state[name];
                for (i = 0; i < this.queue.length; i++) {
                        if (this.queue[i].name === name) {
index 1e72db5..ffcef4e 100644 (file)
@@ -80,7 +80,6 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
             this.wrap = Ext.DomHelper.insertHtml("beforeEnd", targetNode, buf);
         }
 
-
         this.elNode = this.wrap.childNodes[0];
         this.ctNode = this.wrap.childNodes[1];
         var cs = this.elNode.childNodes;
@@ -117,24 +116,24 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
         * @param {String} title
         * @return {void}
         */
-    onTipChange : function(node, tip, title) {
+       onTipChange : function(node, tip, title) {
                TYPO3.Components.PageTree.PageTreeNodeUI.superclass.onTipChange.apply(this, arguments);
 
-        if(this.rendered){
-            var hasTitle = Ext.isDefined(title);
-            if(this.iconNode.setAttributeNS){
-                this.iconNode.setAttributeNS("ext", "qtip", tip);
-                if(hasTitle){
-                    this.iconNode.setAttributeNS("ext", "qtitle", title);
-                }
-            }else{
-                this.iconNode.setAttribute("ext:qtip", tip);
-                if(hasTitle){
-                    this.iconNode.setAttribute("ext:qtitle", title);
-                }
-            }
-        }
-    },
+       if(this.rendered){
+               var hasTitle = Ext.isDefined(title);
+               if(this.iconNode.setAttributeNS){
+                       this.iconNode.setAttributeNS("ext", "qtip", tip);
+               if(hasTitle){
+                       this.iconNode.setAttributeNS("ext", "qtitle", title);
+               }
+               }else{
+                       this.iconNode.setAttribute("ext:qtip", tip);
+               if(hasTitle){
+                       this.iconNode.setAttribute("ext:qtitle", title);
+               }
+       }
+       }
+       },
 
        /**
         * Returns the drag and drop handles
@@ -144,7 +143,7 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
        getDDHandles: function() {
                var ddHandles = [this.iconNode, this.textNode, this.elNode];
                var handlesIndex = ddHandles.length;
-               
+
                var textNode = Ext.get(this.textNode);
                for (var i = 0; i < textNode.dom.childNodes.length; ++i) {
                        if (textNode.dom.childNodes[i].nodeName === 'SPAN') {
@@ -156,7 +155,7 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
                }
 
                return ddHandles;
-    },
+       },
 
        /**
         * Only set the onOver class if we are not in dragging mode
@@ -171,4 +170,4 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
 });
 
 // XTYPE Registration
-Ext.reg('TYPO3.Components.PageTree.PageTreeNodeUI', TYPO3.Components.PageTree.PageTreeNodeUI);
+Ext.reg('TYPO3.Components.PageTree.PageTreeNodeUI', TYPO3.Components.PageTree.PageTreeNodeUI);
\ No newline at end of file
index 6ff8c8f..e98d534 100644 (file)
@@ -107,7 +107,6 @@ TYPO3.ContextHelp = function() {
                tip.doAutoWidth();
        }
 
-
        return {
                /**
                 * Constructor
index c55b276..06deded 100644 (file)
@@ -222,7 +222,6 @@ TYPO3.Dialog = function() {
                fn: Ext.emptyFn
        };
 
-
        return {
                /** @public functions */
                InformationDialog: function(configuration) {
@@ -304,7 +303,6 @@ TYPO3.ContextHelpWindow = function() {
        */
        var height;
 
-
        return {
                /**
                 * init class vars
index e24f0e7..67a53eb 100755 (executable)
@@ -1190,7 +1190,6 @@ class SC_mod_tools_be_user_index {
                        $comparation=array();
                        $counter=0;
 
-
                        $offset=0;
                        $numberAtTime=1000;
                        $tooManyUsers='';
index 9981a92..7f22d85 100644 (file)
@@ -187,7 +187,6 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
                                        continue;
                                }
 
-
                                var cellHtml = '<div class="cell_container"><a class="link_editor" id="e_'
                                                + col + '_' + row + '" title="' + TYPO3.l10n.localize('editCell') + '" href="#"><!-- --></a>';
                                if (this.cellCanSpanRight(col, row)) {
@@ -371,7 +370,6 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
                                }
                        });
 
-
                        win = new Ext.Window({
                                layout: 'fit',
                                title: TYPO3.l10n.localize('title'),
index 8fad7b5..2a2903f 100644 (file)
@@ -1,4 +1,3 @@
-
 var typo3pageModule = {
        placeholder: null,
        el: null,
index ba2e47f..e872ed8 100644 (file)
@@ -753,7 +753,6 @@ class tx_em_Connection_ExtDirectServer {
                                        $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:extBackup_md5') . ' ' . md5($backUpData) . ')
                                <br /></td></tr>';
 
-
                        if (is_array($techInfo['tables'])) {
                                $lines[] = '<tr class="bgColor4"><td><strong>' . $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:extBackup_data_tables') .
                                                '</strong></td><td>' .
index 2fe2895..0054588 100644 (file)
@@ -567,25 +567,21 @@ $EM_CONF[$_EXTKEY] = ' . tx_em_Tools::arrayToCode($EM_CONF, 0) . ';
                                $emConf[$key]
                        );
 
-
                                // Installation status
                        $techInfo = $this->install->makeDetailedExtensionAnalysis($extKey, $extInfo, TRUE, FALSE);
                        $lines[] = array('<tr><td colspan="2">&nbsp;</td></tr>');
                        $lines[] = array('<tr class="t3-row-header"><td colspan="2"><strong>' . $GLOBALS['LANG']->getLL('extInfoArray_inst_status') . '</strong></td></tr>');
 
-
                        $headerCol = $GLOBALS['LANG']->getLL('extInfoArray_inst_type');
                        $headerCol = t3lib_BEfunc::wrapInHelp($this->descrTable, 'emconf_type', $headerCol);
                        $dataCol = $this->api->typeLabels[$extInfo['type']] . ' - <em>' . $this->api->typeDescr[$extInfo['type']] . '</em>';
                        $lines[] = array($headerCol, $dataCol);
 
-
                        $headerCol = $GLOBALS['LANG']->getLL('extInfoArray_inst_twice');
                        $headerCol = t3lib_BEfunc::wrapInHelp($this->descrTable, 'emconf_doubleInstall', $headerCol);
                        $dataCol = $this->extInformationArray_dbInst($extInfo['doubleInstall'], $extInfo['type']);
                        $lines[] = array($headerCol, $dataCol);
 
-
                        if (is_array($extInfo['files'])) {
                                sort($extInfo['files']);
                                $headerCol = $GLOBALS['LANG']->getLL('extInfoArray_root_files');
@@ -690,7 +686,6 @@ $EM_CONF[$_EXTKEY] = ' . tx_em_Tools::arrayToCode($EM_CONF, 0) . ';
                        }
                }
 
-
                return '<table border="0" cellpadding="1" cellspacing="2">
                                        ' . $output . '
                                </table>';
index 118eba9..e3bde3e 100644 (file)
@@ -159,8 +159,6 @@ class tx_em_Extensions_List {
         * @see getInstalledExtensions()
         */
        function getFlatInstExtList($path, &$list, $type) {
-
-
                if (@is_dir($path)) {
                        $extList = t3lib_div::get_dirs($path);
                        if (is_array($extList)) {
@@ -196,8 +194,6 @@ class tx_em_Extensions_List {
                                $key = count($list);
                                $loaded = t3lib_extMgm::isLoaded($extKey);
 
-
-
                                $exist = $this->findIndex($extKey, $list);
                                if ($exist !== FALSE) {
                                        $key = $exist;
@@ -224,7 +220,6 @@ class tx_em_Extensions_List {
                                $list[$key]['typeShort'] = $type;
                                $list[$key]['installed'] = $loaded ? 1 : 0;
 
-
                                $state = htmlspecialchars($emConf['state']);
                                $list[$key]['state'] = $this->states[$state];
                                $list[$key]['stateCls'] = 'state-' . $state;
@@ -261,7 +256,6 @@ class tx_em_Extensions_List {
                                $list[$key]['conflicts'] = $constraints['conflicts'];
                                $list[$key]['suggests'] = $constraints['suggests'];
 
-
                                unset($list[$key]['_md5_values_when_last_written']);
                        }
                }
index d3ce7c1..126ada0 100644 (file)
@@ -293,7 +293,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                $this->xmlHandler = t3lib_div::makeInstance('tx_em_Tools_XmlHandler');
                $this->xmlHandler->useObsolete = $this->MOD_SETTINGS['display_obsolete'];
 
-
                // Initialize newListing
                if (isset($this->MOD_MENU['function']['extensionmanager'])) {
                        $this->extensionmanager = t3lib_div::makeInstance('tx_em_ExtensionManager', $this);
@@ -301,7 +300,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                        $this->extensionmanager = &$this;
                }
 
-
                // Output classes
                $this->extensionList = t3lib_div::makeInstance('tx_em_Extensions_List', $this);
                $this->extensionDetails = t3lib_div::makeInstance('tx_em_Extensions_Details', $this);
@@ -330,7 +328,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                        ');
                }
 
-
                // Descriptions:
                $this->descrTable = '_MOD_' . $this->MCONF['name'];
                if ($GLOBALS['BE_USER']->uc['edit_showFieldHelp']) {
@@ -393,7 +390,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                $this->MOD_MENU['singleDetails'] = $this->mergeExternalItems($this->MCONF['name'], 'singleDetails', $this->MOD_MENU['singleDetails']);
                $this->MOD_MENU['extensionInfo'] = $this->mergeExternalItems($this->MCONF['name'], 'singleDetails', array());
 
-
                        // page/be_user TSconfig settings and blinding of menu-items
                if (!$GLOBALS['BE_USER']->getTSConfigVal('mod.' . $this->MCONF['name'] . '.allowTVlisting')) {
                        unset($this->MOD_MENU['display_details'][3]);
@@ -404,7 +400,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                        // CLEANSE SETTINGS
                $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
 
-
                if ($this->MOD_SETTINGS['function'] == 2) {
                        // If listing from online repository, certain items are removed though:
                        unset($this->MOD_MENU['listOrder']['type']);
@@ -427,7 +422,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
         * @return      void
         */
        public function main() {
-
                $menu = '';
 
                if (empty($this->MOD_SETTINGS['mirrorListURL'])) {
@@ -471,7 +465,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
 
                        $this->content .= $menu ? $this->doc->section('', '<form action="' . $this->script . '" method="post" name="pageform"><span class="nobr">' . $menu . '</span></form>') : '';
 
-
                        $view = $this->MOD_SETTINGS['function'];
                        if (t3lib_div::_GP('view')) {
                                        // temporary overwrite the view with GP var. Used from ExtJS without changing the submodule
@@ -1854,7 +1847,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                                                $headline = t3lib_BEfunc::wrapInHelp('_MOD_tools_em', 'info', $headline);
                                                $content = $this->extensionDetails->extInformationarray($extKey, $list[$extKey]);
 
-
                                                $this->content .= $this->doc->spacer(10);
                                                $this->content .= $this->doc->section($headline, $content, FALSE, TRUE, FALSE, TRUE);
                                                break;
@@ -2117,7 +2109,6 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
                                        0, 1
                                );
 
-
                                $details = '                                                    ' . $GLOBALS['LANG']->getLL('extDumpTables_based_on') . '<br />
                                <ul>
                                <li>' . $GLOBALS['LANG']->getLL('extDumpTables_based_on_one') . '</li>
index 11b1ac0..c31e1f8 100644 (file)
@@ -281,7 +281,6 @@ class tx_em_Install {
                                                                                                $content = $updateContent;
                                                                                        }
 
-
                                                                                        // Install / Uninstall:
                                                                                        if (!$this->parentObject->CMD['standAlone']) {
                                                                                                $content .= '<h3>' . $GLOBALS['LANG']->getLL('ext_import_install_uninstall') . '</h3>';
index 4e8e636..903fafa 100644 (file)
@@ -135,8 +135,6 @@ class tx_em_Settings implements t3lib_Singleton {
                        'display_files' => '',
                        'hide_shy' => 0,
                        'hide_obsolete' => 0,
-
-
                        'singleDetails' => array(
                                'info' => $GLOBALS['LANG']->getLL('details_info'),
                                'edit' => $GLOBALS['LANG']->getLL('details_edit'),
@@ -147,7 +145,6 @@ class tx_em_Settings implements t3lib_Singleton {
                        ),
                        'fe_u' => '',
                        'fe_p' => '',
-
                        'mirrorListURL' => '',
                        'rep_url' => '',
                        'extMirrors' => '',
index 6da91a3..79e2a42 100644 (file)
@@ -1074,7 +1074,6 @@ final class tx_em_Tools {
                        $folder .= '/';
                }
 
-
                $newFile = t3lib_div::resolveBackPath(PATH_site . $folder . $file);
 
                if (!is_writable(dirname($newFile))) {
index ce700c8..83aeba6 100644 (file)
@@ -452,7 +452,6 @@ class tx_em_Tools_Unzip {
                        // Store the file position
                        $v_pos_entry = ftell($this->_zip_fd);
 
-
                        // Go to the file position
                        @rewind($this->_zip_fd);
                        if (@fseek($this->_zip_fd, $v_header['offset'])) {
@@ -506,7 +505,6 @@ class tx_em_Tools_Unzip {
                        return $v_result;
                }
 
-
                // Check that the file header is coherent with $p_entry info
                // TBC
 
@@ -640,7 +638,6 @@ class tx_em_Tools_Unzip {
                                                return $v_result;
                                        }
 
-
                                        // Read the file by ARCHIVE_ZIP_READ_BLOCK_SIZE octets blocks
                                        $v_size = $p_entry['compressed_size'];
                                        while ($v_size != 0) {
@@ -668,7 +665,6 @@ class tx_em_Tools_Unzip {
                                                return $v_result;
                                        }
 
-
                                        // Read the compressed file in a buffer (one shot)
                                        $v_buffer = @fread($this->_zip_fd, $p_entry['compressed_size']);
 
@@ -908,7 +904,6 @@ class tx_em_Tools_Unzip {
                        $p_header['external'] = 0x41FF0010;
                }
 
-
                // Return
                return $v_result;
        }
index 407bc5f..1cfe4eb 100644 (file)
@@ -396,14 +396,12 @@ class tx_em_Tools_XmlHandler {
                }
                $string = gzread($fp, 0xffff); // Read 64KB
 
-
                $idx = 0;
                $defaultCategories = tx_em_Tools::getDefaultCategory();
                foreach ($defaultCategories as $catKey => $tmp) {
                        $this->revCatArr[$catKey] = $idx++;
                }
 
-
                $idx = 0;
                $states = tx_em_Tools::getStates();
                foreach ($states as $state => $tmp) {
index 7529194..dd57c92 100644 (file)
@@ -279,7 +279,6 @@ TYPO3.EM.GridColumns.ImportExtension = {
                                                + '&nodoc=1&view=info&CMD[silentMode]=1&CMD[standAlone]=1&ter_connect=1&CMD[importExt]='
                                                + record.extkey  + '&CMD[extVersion]=' + record.version + '&CMD[loc]=L'
 
-
                                TYPO3.EM.ImportWindow = new TYPO3.EM.InstallWindow({
                                        title: action + ': ' + record.title + ' (' + record.extkey + ') version ' + record.version,
                                        record: record,
@@ -732,8 +731,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
 
        initComponent:function() {
 
-
-
                Ext.apply(this, {
                        itemId: 'extUploadForm',
                        height: 340,
@@ -804,7 +801,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
 
                                activate: function(panel) {
 
-
                                }
                        },
                        scope: this
@@ -815,7 +811,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
 
        onRender: function() {
 
-
                TYPO3.EM.TerUpload.superclass.onRender.apply(this, arguments);
 
                Ext.apply(this.getForm(),{
index 478dc67..9a9410f 100644 (file)
@@ -38,9 +38,6 @@ TYPO3.EM.ExtFilelist = Ext.extend(Ext.Panel, {
                        stylesheet: TYPO3.settings.EM.editorCss
                });
 
-
-
-
                this.fileTree = new Ext.tree.TreePanel ({
                        itemId: 'extfiletree',
                        cls: 'extfiletree',
index f2d0536..09420a1 100644 (file)
@@ -110,8 +110,6 @@ TYPO3.EM.LanguagesProgressBar = new Ext.ProgressBar ({
        hidden: true
 });
 
-
-
 TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
        border:false,
        layout: 'form',
@@ -314,7 +312,6 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                progressBar.show();
                languagegrid.disable();
 
-
                if (button.id === 'lang-checkbutton') {
                                // check languages
                        this.startFetchLanguages(0, Ext.StoreMgr.get('em-languageext-store'), function(){
@@ -400,7 +397,6 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                this.extCount = store.data.items.length;
                this.cb = callback;
 
-
                        // fill arrays
                this.extkeyArray = [];
                for (var i = 0; i < this.extCount; i++) {
@@ -421,7 +417,6 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                var record = grid.store.getAt(row);
                var i;
 
-
                if (response) {
                                // update fetched record
                        var fetchedRecord = grid.store.getAt(row - 1);
@@ -434,7 +429,6 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                if(this.extkeyArray.length > 0 && !this.interruptProcess) {
                        var ext = this.extkeyArray.shift();
 
-
                        //update Grid
                        grid.getView().focusRow(row);
                        grid.getSelectionModel().selectRow(row);
@@ -515,8 +509,6 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                        },
                        scope: this
                });
-
-
        }
 });
 Ext.reg('extlanguages', TYPO3.EM.Languages);
index 4e5a660..6f265bf 100644 (file)
@@ -77,8 +77,6 @@ TYPO3.EM.Settings = Ext.extend(Ext.FormPanel, {
                        ]
                });
 
-
-
                var mirrorSm  = new Ext.grid.CheckboxSelectionModel({
                        singleSelect: true,
                        header: '',
@@ -302,7 +300,6 @@ TYPO3.EM.Settings = Ext.extend(Ext.FormPanel, {
                                }]
                });
 
-
                // call parent
                TYPO3.EM.Settings.superclass.initComponent.apply(this, arguments);
 
index d6a1449..4681a59 100644 (file)
@@ -36,9 +36,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
        recordData: null,
 
        initComponent:function() {
-
-
-
                Ext.apply(this, {
                        itemId: 'extUploadForm',
                        height: 340,
@@ -116,7 +113,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
 
                                activate: function(panel) {
 
-
                                }
                        },
                        scope: this
@@ -127,7 +123,6 @@ TYPO3.EM.TerUpload = Ext.extend(Ext.form.FormPanel, {
 
        onRender: function() {
 
-
                TYPO3.EM.TerUpload.superclass.onRender.apply(this, arguments);
 
                Ext.apply(this.getForm(),{
index 637d7c8..d317ca0 100644 (file)
@@ -104,7 +104,6 @@ class tx_form_View_Wizard_Wizard extends tx_form_View_Wizard_Abstract {
                                // Localization
                        $this->loadLocalization();
 
-
                                // Setting up the buttons and markers for docheader
                        $docHeaderButtons = $this->getButtons();
                        $markers['CSH'] = $docHeaderButtons['csh'];
index b4632f2..0e192cf 100644 (file)
@@ -3,7 +3,7 @@
 *  Copyright notice
 *
 *  (c) 2012 Andreas Lappe <a.lappe@kuehlhaus.com>, kuehlhaus AG
-*                      
+*
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 750694e..694f27c 100644 (file)
@@ -3,7 +3,7 @@
 *  Copyright notice
 *
 *  (c) 2012 Andreas Lappe <a.lappe@kuehlhaus.com>, kuehlhaus AG
-*                      
+*
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
index 7680a52..bdb00d6 100755 (executable)
@@ -223,7 +223,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                $this->doc->bodyTagId = 'imp-exp-mod';
                $this->doc->setModuleTemplate(t3lib_extMgm::extRelPath('impexp') . '/app/template.html');
 
-
                $this->pageinfo = t3lib_BEfunc::readPageAccess($this->id, $this->perms_clause);
 
                                // JavaScript
@@ -369,7 +368,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                        $inData['exclude'] = array();
                }
 
-
                        // Saving/Loading/Deleting presets:
                $this->processPresets($inData);
 
@@ -417,7 +415,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                        }
                }
 
-
                        // Configure which records to export
                if (is_array($inData['record'])) {
                        foreach($inData['record'] as $ref) {
@@ -817,7 +814,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                </tr>';
                }
 
-
                $row[] = '
                        <tr class="tableheader bgColor5">
                                <td colspan="2">'.$LANG->getLL('makeconfig_relationsAndExclusions', 1).'</td>
@@ -854,7 +850,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                        </td>
                                </tr>';
 
-
                        // Add buttons:
                $row[] = '
                                <tr class="bgColor4">
@@ -888,7 +883,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                        <td><input type="checkbox" name="tx_impexp[excludeHTMLfileResources]" id="checkExcludeHTMLfileResources" value="1"'.($inData['excludeHTMLfileResources'] ? ' checked="checked"' : '').' /></td>
                                </tr>';
 
-
                        // Extensions
                $row[] = '
                        <tr class="tableheader bgColor5">
@@ -900,8 +894,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                        <td>'.$this->extensionSelector('tx_impexp[extension_dep]', $inData['extension_dep']).'</td>
                                </tr>';
 
-
-
                        // Add buttons:
                $row[] = '
                                <tr class="bgColor4">
@@ -911,8 +903,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                                <input type="hidden" name="tx_impexp[download_export_name]" value="'.substr($nameSuggestion, 0, 30).'" />
                                        </td>
                                </tr>';
-
-
        }
 
        /**
@@ -1021,7 +1011,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                        </td>
                                </tr>';
 
-
                        // Add buttons:
                $row[] = '
                                <tr class="bgColor4">
@@ -1069,7 +1058,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                        $import->allowPHPScripts = $inData['allowPHPScripts'];
                        $import->softrefInputValues = $inData['softrefInputValues'];
 
-
                                // OUTPUT creation:
                        $menuItems = array();
 
@@ -1217,7 +1205,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                );
                        }
 
-
                                // Perform import or preview depending:
                        $overviewContent = '';
                        $extensionInstallationMessage = '';
@@ -1343,7 +1330,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                        }
                        $this->content.= $this->doc->section('', $content, 0, 1);
 
-
                                // Print overview:
                        if ($overviewContent) {
                                $this->content.= $this->doc->section($inData['import_file'] ? $LANG->getLL('importdata_structureHasBeenImported', 1) : $LANG->getLL('filterpage_structureToBeImported', 1), $overviewContent, 0, 1);
index 2955b0e..b920286 100755 (executable)
@@ -689,7 +689,6 @@ class tx_impexp {
                                $fileRec['content_md5'] = md5($fileRec['content']);
                                $this->dat['files'][$fI['ID']] = $fileRec;
 
-
                                        // For soft references, do further processing:
                                if ($recordRef === '_SOFTREF_') {
 
@@ -2769,7 +2768,6 @@ class tx_impexp {
                                        }
                                }
 
-
                                        // Check if file exists:
                                if (file_exists(PATH_site.$fI['relFileName'])) {
                                        if ($this->update) {
index ff8f073..ec25cff 100644 (file)
@@ -120,7 +120,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
                        $searchData = array_merge($this->settings['defaultOptions'], $searchData);
                }
 
-
                        // Indexer configuration from Extension Manager interface:
                $this->indexerConfig = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['indexed_search']);
                $this->enableMetaphoneSearch = $this->indexerConfig['enableMetaphoneSearch'] ? TRUE : FALSE;
@@ -139,7 +138,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
 
                $searchData['results'] = t3lib_utility_Math::forceIntegerInRange($searchData['results'], 1, 100000, $this->defaultResultNumber);
 
-
                        // This gets the search-words into the $searchWordArray
                $this->sword = $searchData['sword'];
 
@@ -150,7 +148,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
 
                $this->searchWords = $this->getSearchWords($searchData['defaultOperand']);
 
-
                        // This is the id of the site root.
                        // This value may be a commalist of integer (prepared for this)
                $this->searchRootPageIdList = intval($GLOBALS['TSFE']->config['rootLine'][0]['uid']);
@@ -414,7 +411,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
                $title = $resultData['item_title'] . $resultData['titleaddition'];
                $title = htmlspecialchars($title);
 
-
                        // If external media, link to the media-file instead.
                if ($row['item_type']) {
                        if ($row['show_resume']) {
@@ -986,7 +982,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
                        $showTypeSearch = (count($allSearchTypes) || count($allDefaultOperands));
                        $this->view->assign('showTypeSearch', $showTypeSearch);
 
-
                                // "Search in"
                        $allMediaTypes = $this->getAllAvailableMediaTypesOptions();
                        $this->view->assign('allMediaTypes', $allMediaTypes);
@@ -997,7 +992,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
                        $showMediaAndLanguageSearch = (count($allMediaTypes) || count($allLanguageUids));
                        $this->view->assign('showMediaAndLanguageSearch', $showMediaAndLanguageSearch);
 
-
                                // Sections
                        $allSections = $this->getAllAvailableSectionsOptions();
                        $this->view->assign('allSections', $allSections);
@@ -1394,7 +1388,6 @@ class Tx_IndexedSearch_Controller_SearchController extends Tx_Extbase_MVC_Contro
                        $this->getPathFromPageId($pageUid);
                }
 
-
                        // If external domain, then link to that:
                if (count($this->domainRecords[$pageUid])) {
                        $scheme = t3lib_div::getIndpEnv('TYPO3_SSL') ? 'https://' : 'http://';
index 663e952..719c87c 100755 (executable)
@@ -652,7 +652,6 @@ class tx_indexedsearch_crawler {
                        // Load indexer if not yet.
                $this->loadIndexerClass();
 
-
                        // Init:
                $rl = is_array($rl) ? $rl : $this->getUidRootLineForClosestTemplate($cfgRec['pid']);
                $fieldList = t3lib_div::trimExplode(',', $cfgRec['fieldlist'], 1);
index 16e2442..8c9fb77 100755 (executable)
@@ -74,7 +74,6 @@ class tx_indexedsearch_crawlerhook {
                        // Increase step counter (this is just an example of how the session data can be used - to track how many instances of indexing is left)
                $session_data['step']++;
 
-
                switch((int)$session_data['step']) {
                        case 1: // Indexing Example: Content accessed with GET parameters added to URL:
 
index 2f9a849..b51a2c0 100755 (executable)
@@ -138,7 +138,6 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
                        TABLE.c-list TR TD { white-space: nowrap; vertical-align: top; }
                ', $this->pObj->content);
 
-
                        // Check if details for a phash record should be shown:
                if (t3lib_div::_GET('phash')) {
 
@@ -389,8 +388,6 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
                                $lines[] = '<td>'.($row['freeIndexUid'] ? $row['freeIndexUid'].($row['freeIndexSetId']?'/'.$row['freeIndexSetId']:'') : '&nbsp;').'</td>';
                                $lines[] = '<td>'.($row['recordUid'] ? $row['recordUid'] : '&nbsp;').'</td>';
 
-
-
                                        // cHash parameters:
                                $arr = unserialize($row['cHashParams']);
                                if (!is_array($arr)) {
@@ -613,8 +610,6 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
                                                '</strong><hr/>';
                        }
 
-
-
                        $content.='<h3>Word statistics</h3>';
 
                                // Finding all words for this phash:
@@ -666,7 +661,6 @@ class tx_indexedsearch_modfunc1 extends t3lib_extobjbase {
                                        );
                        $content.= $this->listWords($ftrows, 'Top-20 words by count:', 2);
 
-
                        $content.='<h3>Section records for this phash</h3>';
 
                                // Finding sections for this record: