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

Change-Id: I4600d5584622701efd25a904455ead1257228605
Resolves: #38813
Releases: 6.0
Reviewed-on: http://review.typo3.org/12721
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
29 files changed:
typo3/sysext/install/Resources/Public/Stylesheets/general.css
typo3/sysext/install/Resources/Public/Stylesheets/install.css
typo3/sysext/install/mod/class.tx_install.php
typo3/sysext/lowlevel/class.tx_lowlevel_cleaner_core.php
typo3/sysext/lowlevel/clmods/class.missing_files.php
typo3/sysext/lowlevel/clmods/class.rte_images.php
typo3/sysext/lowlevel/config/index.php
typo3/sysext/perm/mod1/index.php
typo3/sysext/recordlist/mod1/index.php
typo3/sysext/recycler/classes/helper/class.tx_recycler_helper.php
typo3/sysext/recycler/mod1/index.php
typo3/sysext/recycler/res/css/customExtJs.css
typo3/sysext/reports/mod/mod_styles.css
typo3/sysext/rtehtmlarea/extensions/CharacterMap/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/CopyPaste/skin/htmlarea.css
typo3/sysext/rtehtmlarea/extensions/MicrodataSchema/class.tx_rtehtmlarea_microdataschema.php
typo3/sysext/rtehtmlarea/extensions/MicrodataSchema/skin/htmlarea.css
typo3/sysext/rtehtmlarea/htmlarea/plugins/BlockElements/block-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultInline/default-inline.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/DefinitionList/definition-list.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/InlineElements/inline-elements.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/MicrodataSchema/microdata-schema.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SelectFont/select-font.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-checker.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextIndicator/text-indicator.js
typo3/sysext/rtehtmlarea/htmlarea/plugins/TextStyle/text-style.js
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php

index d14de42..281ebb7 100644 (file)
@@ -18,16 +18,16 @@ p, form, fieldset, h3, h4, h5, h6, dl {
        margin: 1em 0 1em 0;
 }
 
-ol, ul { 
+ol, ul {
        margin: 1em 0 1em 1.5em;
        padding: 0 0 0 1em;
 }
 
-ul { 
+ul {
        list-style: disc;
 }
 
-ol { 
+ol {
        list-style: decimal;
 }
 
@@ -56,16 +56,16 @@ h4 {
        margin: 0;
 }
 
-.clearfix:after { 
-       content: "."; 
-       display: block; 
-       height: 0; 
-       clear: both; 
+.clearfix:after {
+       content: ".";
+       display: block;
+       height: 0;
+       clear: both;
        visibility: hidden;
 }
 
-* html .clearfix { 
-       height: 1%; 
+* html .clearfix {
+       height: 1%;
 }
 
 legend {
index 66bb613..a3316ad 100644 (file)
@@ -162,13 +162,13 @@ h1,
 }
 
 .t3-install-displaytwinimagetextarea {
-       width: 48em; 
+       width: 48em;
        overflow: scroll;
        border: 1px #797878 solid;
 }
 
 .t3-install-displaytwinimagetextarea textarea {
-       width: 300em; 
+       width: 300em;
        border: 0;
 }
 
@@ -225,14 +225,14 @@ h1,
 
 /* 8: phpinfo() */
 #t3-install-debuginformation {
-       width: 48em; 
-       height: 20em; 
+       width: 48em;
+       height: 20em;
        overflow: scroll;
        border: 1px #797878 solid;
 }
 
 #t3-install-debuginformation textarea {
-       width: 200em; 
+       width: 200em;
        height: 68em;
        border: 0;
 }
index 380a57f..e13d248 100644 (file)
@@ -789,7 +789,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                                                </p>
                                        ');
 
-
                                        $headCode='Header legend';
                                        $this->message($headCode, 'Notice!', '
                                                <p>
@@ -1340,7 +1339,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                $typo3conf_files = t3lib_div::getFilesInDir($EDIT_path, '', 1, 1);
                $fileFound = 0;
 
-
                foreach ($typo3conf_files as $k => $file) {
                                // Delete temp_CACHED files if option is set
                        if ( $this->INSTALL['delTempCached'] && preg_match('|/temp_CACHED_[a-z0-9_]+\.php|', $file)) {
@@ -1689,12 +1687,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                        // Add the content to the message array
                $this->message($headCode, 'Statistics', $content, 1);
 
-
-
-
-
-
-
                $this->message($headCode, 'typo3temp/ folder', '
                        <p>
                                TYPO3 uses this directory for temporary files, mainly processed
@@ -1912,7 +1904,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                        // Add the content to the message array
                $this->message($headCode, 'Statistics', $content, 1);
 
-
                        // Output the page
                $this->output($this->outputWrapper($this->printAll()));
        }
@@ -4560,9 +4551,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
 
                $this->message('Image Processing', 'Current configuration', $msg, $etype);
 
-
-
-
                if (!$GLOBALS['TYPO3_CONF_VARS']['GFX']['image_processing']) {
                        $this->message('Image Processing', 'Image Processing disabled!', '
                                <p>
@@ -4584,8 +4572,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                        return;
                }
 
-
-
                $msg = '
                        <p>
                                <a id="testmenu"></a>
@@ -4597,7 +4583,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                ' . $this->imagemenu();
                $this->message('Image Processing', 'Testmenu', $msg, '');
 
-
                $parseStart = t3lib_div::milliseconds();
                $imageProc = t3lib_div::makeInstance('t3lib_stdGraphic');
                $imageProc->init();
@@ -4723,7 +4708,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                                        $result = $this->displayTwinImage($fileInfo[3], $imageProc->IM_commands, $note);
                                        $this->message($headCode, 'Write GIF', $result[0], $result[1]);
 
-
                                                // Writing PNG
                                        $imageProc->IM_commands = array();
                                        $theFile = t3lib_extMgm::extPath('install').'imgs/jesus.gif';
@@ -4896,7 +4880,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                                        </p>
                                ');
 
-
                                if ($gdActive) {
                                        // GD with box
                                        $imageProc->IM_commands=array();
@@ -4915,7 +4898,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                                        $result = $this->displayTwinImage($fileInfo[3], $imageProc->IM_commands);
                                        $this->message($headCode, 'Create simple image', $result[0], $result[1]);
 
-
                                                // GD from image with box
                                        $imageProc->IM_commands=array();
                                        $input = t3lib_extMgm::extPath('install').'imgs/jesus.'.$imageProc->gifExtension;
@@ -4935,7 +4917,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                                        $result = $this->displayTwinImage($fileInfo[3], $imageProc->IM_commands);
                                        $this->message($headCode, 'Create image from file', $result[0], $result[1]);
 
-
                                                // GD with text
                                        $imageProc->IM_commands=array();
                                        $im = imagecreatetruecolor(170, 136);
@@ -5463,7 +5444,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                        // Getting current tables
                $whichTables=$this->sqlHandler->getListOfTables();
 
-
                        // Getting number of static_template records
                if ($whichTables['static_template']) {
                        $static_template_count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('uid', 'static_template');
@@ -5505,7 +5485,6 @@ REMOTE_ADDR was '".t3lib_div::getIndpEnv('REMOTE_ADDR')."' (".t3lib_div::getIndp
                        </p>
                ', -1, 1);
 
-
                        // Menu
                $sql_files = array_merge(
                        t3lib_div::getFilesInDir(PATH_typo3conf, 'sql', 1, 1),
@@ -8524,7 +8503,6 @@ $out="
                                || $privileges === 'CREATE'
                                || strpos($privileges, 'CREATE,') !== FALSE) {
 
-
                                        // and we need this privelege not on a specific DB, but on *
                                if ($dbName === '*') {
                                                // user has permissions to create new databases
@@ -8555,4 +8533,4 @@ $out="
                }
        }
 }
-?>
+?>
\ No newline at end of file
index c7014f0..b1b9dd4 100644 (file)
@@ -326,7 +326,6 @@ class tx_lowlevel_cleaner_core extends t3lib_cli {
                        echo LF . LF;
                }
 
-
                        // Processing performance statistics:
                $this->performanceStatistics['genTree()'] = t3lib_div::milliseconds()-$pt;
 
index ec7a467..9672192 100644 (file)
@@ -93,7 +93,6 @@ This will show you missing files in the TYPO3 system and only report back if err
                        'softrefFilesMissing' => array(),
                );
 
-
                        // Select all files in the reference table
                $recs = $TYPO3_DB->exec_SELECTgetRows(
                        '*',
index bf5c2d9..eac4b34 100644 (file)
@@ -157,7 +157,6 @@ Reports problems with RTE images';
                        }
                }
 
-
                ksort($resultArray['RTEmagicFilePairs']);
                ksort($resultArray['completeFileList']);
                ksort($resultArray['missingFiles']);
@@ -251,7 +250,6 @@ Reports problems with RTE images';
                        } else echo 'Bypassing fixing of double-usages since --AUTOFIX was not "doubleFiles"'.LF;
                }
 
-
                if (is_array($resultArray['lostFiles'])) {
                        if ($limitTo === 'lostFiles') {
                                echo 'Removing lost RTEmagic files from folders inside uploads/: '.LF;
index d3c09f3..68c4427 100755 (executable)
@@ -204,7 +204,6 @@ class SC_mod_tools_config_index {
                        break;
                }
 
-
                        // Update node:
                $update = 0;
                $node = t3lib_div::_GET('node');
@@ -222,7 +221,6 @@ class SC_mod_tools_config_index {
                $arrayBrowser->fixedLgd = $this->MOD_SETTINGS['fixedLgd'];
                $arrayBrowser->searchKeysToo = TRUE;
 
-
                $search_field = t3lib_div::_GP('search_field');
                        // If any POST-vars are send, update the condition array
                if (t3lib_div::_POST('search') && trim($search_field)) {
@@ -292,7 +290,6 @@ class SC_mod_tools_config_index {
                        } else {
                                $this->content .= $GLOBALS['LANG']->getLL('copyPaste', TRUE) . LF . '</div>';
                        }
-
                }
 
                $this->content .= '<br /><table border="0" cellpadding="0" cellspacing="0" class="t3-tree t3-tree-config">';
@@ -305,7 +302,6 @@ class SC_mod_tools_config_index {
                        </table>
                ';
 
-
                        // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                $markers = array(
index da254fd..87c1b68 100755 (executable)
@@ -366,7 +366,6 @@ class SC_mod_web_perm_index {
                        // data of the first group, the user is member of
                $firstGroup = $beGroupKeys[0] ? $beGroupArray[$beGroupKeys[0]] : '';
 
-
                        // Owner selector:
                $options = '';
                        // flag: is set if the page-userid equals one from the user-list
@@ -390,7 +389,6 @@ class SC_mod_web_perm_index {
 
                $this->content .= $this->doc->section($GLOBALS['LANG']->getLL('Owner') . ':', $selector);
 
-
                        // Group selector:
                $options = '';
                $userset = 0;
index 906bfc8..641654b 100644 (file)
@@ -263,8 +263,6 @@ class SC_db_list {
                        && $dblist->clipObj->current == 'normal'
                        && !$this->modTSconfig['properties']['showClipControlPanelsDespiteOfCMlayers'];
 
-
-
                        // If there is access to the page, then render the list contents and set up the document template object:
                if ($access) {
 
index ab5b5a4..96f5dbe 100644 (file)
@@ -66,7 +66,6 @@ class tx_recycler_helper {
                        }
                }
 
-
                if (!$GLOBALS['BE_USER']->check('tables_modify', $table)) {
                        $hasAccess = 0;
                }
index b805d8d..917d287 100644 (file)
@@ -159,9 +159,7 @@ class  tx_recycler_module1 extends t3lib_SCbase {
                        $this->getJavaScriptLabels()
                );
 
-
                        // Load Recycler JavaScript:
-
                        // Load Plugins
                $uxPath = $this->doc->backpath . '../t3lib/js/extjs/ux/';
                $this->pageRenderer->addJsFile($uxPath . 'Ext.grid.RowExpander.js');
index a2eab09..8efe08c 100644 (file)
@@ -27,7 +27,7 @@ dl.recycler-table-list-entry-details dt {
        margin-right: 3px;
 }
 
-button.delete { 
+button.delete {
        background-image: url('../icons/delete.gif');
 }
 
index b5d17f9..9d38d4e 100644 (file)
@@ -1,4 +1,3 @@
-
 body#ext-reports-mod-index-php {
        margin: 0px;
 }
index 0ffc8fe..e9d40cb 100644 (file)
@@ -6,5 +6,4 @@
 .htmlarea-action-soft-hyphen-insert {
        background-image: url('images/soft-hyphen-insert.gif') !important;
        background-position: 0 0 !important;
-}
-
+}
\ No newline at end of file
index 500c168..4ba4a30 100644 (file)
@@ -1,15 +1,15 @@
 /* Selectors for the CopyPaste extension of htmlArea RTE */
-.htmlarea-action-copy { 
+.htmlarea-action-copy {
        background-image: url('images/copy.gif') !important;
 }
-.htmlarea-action-cut { 
+.htmlarea-action-cut {
        background-image: url('images/cut.gif') !important;
 }
-.htmlarea-action-paste { 
+.htmlarea-action-paste {
        background-image: url('images/paste.gif') !important;
 }
 .htmlarea-action-copy,
 .htmlarea-action-cut,
 .htmlarea-action-paste {
        background-position: 0 0 !important;
-}
+}
\ No newline at end of file
index 4e2ed7f..2ee558e 100644 (file)
@@ -125,7 +125,7 @@ class tx_rtehtmlarea_microdataschema extends tx_rtehtmlarea_api {
                $types = array();
                $properties = array();
                        // Load the document
-               $document = new DOMDocument(); 
+               $document = new DOMDocument();
                $document->loadXML($string);
                if ($document) {
                                // Scan resource descriptions
index 1a42796..481b5ca 100644 (file)
@@ -1,5 +1,4 @@
 /* Selectors for the MicrodataSchema plugin of htmlArea RTE */
 .htmlarea-action-microdata-show {
        background-image: url('images/microdata-show.gif') !important;
-}
-
+}
\ No newline at end of file
index 3d12034..24606ed 100644 (file)
@@ -106,7 +106,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                        license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the dropdown list
                 */
@@ -331,7 +331,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                                                this.indentSelectedListElements(parentElement, range);
                                        }
                                } else if (tableCell) {
-       
+
                                        var tablePart = tableCell.parentNode.parentNode;
                                                // Get next cell in same table part
                                        var nextCell = tableCell.nextSibling ? tableCell.nextSibling : (tableCell.parentNode.nextSibling ? tableCell.parentNode.nextSibling.cells[0] : null);
@@ -575,7 +575,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                while (i < startAncestors.length && i < endAncestors.length && startAncestors[i] === endAncestors[i]) {
                        ++i;
                }
-               
+
                if ((endBlocks.start === endBlocks.end && /^(body)$/i.test(endBlocks.start.nodeName)) || !startAncestors[i] || !endAncestors[i]) {
                        --i;
                }
@@ -724,7 +724,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                        // which breaks the range
                var range = this.editor.getBookMark().moveTo(bookmark);
                bookmark = this.editor.getBookMark().get(range);
-               
+
                        // Check if the last element has children. If so, outdent those that do not intersect the selection
                var last = indentedList.lastChild.lastChild;
                if (last && /^(ol|ul)$/i.test(last.nodeName)) {
@@ -771,7 +771,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                        // which breaks the range
                var range = this.editor.getBookMark().moveTo(bookmark);
                bookmark = this.editor.getBookMark().get(range);
-               
+
                if (!wrappedList.previousSibling) {
                                // Outdenting the first element(s) of an indented list
                        var next = list.parentNode.nextSibling;
@@ -820,7 +820,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
                        // Remove the list if all its elements have been moved up
                if (!list.hasChildNodes()) {
                        list.parentNode.removeChild(list);
-               } 
+               }
                this.editor.getSelection().selectRange(this.editor.getBookMark().moveTo(bookmark));
        },
        /*
@@ -1170,7 +1170,7 @@ HTMLArea.BlockElements = Ext.extend(HTMLArea.Plugin, {
        },
        /*
        * This function handles the hotkey events registered on elements of the dropdown list
-       */      
+       */
        onHotKey: function(editor, key) {
                var blockElement;
                var hotKeyConfiguration = this.getHotKeyConfiguration(key);
index 375f08a..9187579 100644 (file)
@@ -90,7 +90,7 @@ HTMLArea.DefaultInline = Ext.extend(HTMLArea.Plugin, {
                }
                return false;
        },
-       
+
        /*
         * This function gets called when the toolbar is updated
         */
index bb7dfab..348daa8 100644 (file)
@@ -172,7 +172,7 @@ HTMLArea.DefinitionList = Ext.extend(HTMLArea.BlockElements, {
                                newNode.removeAttribute('className');
                        }
                }
-               
+
                if (this.tags && this.tags[nodeName] && this.tags[nodeName].allowedClasses) {
                        if (newNode.className && /\S/.test(newNode.className)) {
                                var allowedClasses = this.tags[nodeName].allowedClasses;
@@ -293,7 +293,7 @@ HTMLArea.DefinitionList = Ext.extend(HTMLArea.BlockElements, {
                }
                return false;
        },
-       
+
        /*
         * This function gets called when the toolbar is updated
         */
index b7bd759..c582e63 100644 (file)
@@ -61,7 +61,7 @@ HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
                        license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the dropdown list
                 */
@@ -84,7 +84,7 @@ HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
                        }
                }
                this.registerDropDown(dropDownConfiguration);
-               
+
                /*
                 * Registering the buttons
                 */
@@ -332,7 +332,7 @@ HTMLArea.InlineElements = Ext.extend(HTMLArea.Plugin, {
                                newElement.removeAttribute("className");
                        }
                }
-               
+
                if (this.tags && this.tags[tagName] && this.tags[tagName].allowedClasses) {
                        if (newElement.className && /\S/.test(newElement.className)) {
                                var allowedClasses = this.tags[tagName].allowedClasses;
index 792a858..e6f5b28 100644 (file)
@@ -46,7 +46,7 @@ HTMLArea.Language = Ext.extend(HTMLArea.Plugin, {
                        // Importing list of allowed attributes
                if (this.getPluginInstance('TextStyle')) {
                        this.allowedAttributes = this.getPluginInstance('TextStyle').allowedAttributes;
-               }                       
+               }
                if (!this.allowedAttributes && this.getPluginInstance('InlineElements')) {
                        this.allowedAttributes = this.getPluginInstance('InlineElements').allowedAttributes;
                }
@@ -179,7 +179,7 @@ HTMLArea.Language = Ext.extend(HTMLArea.Plugin, {
                        // Could be a button or its hotkey
                var buttonId = this.translateHotKey(id);
                buttonId = buttonId ? buttonId : id;
-               
+
                switch (buttonId) {
                        case 'RightToLeft':
                        case 'LeftToRight':
index a3ddef7..424bd59 100644 (file)
@@ -149,7 +149,7 @@ HTMLArea.MicrodataSchema = Ext.extend(HTMLArea.Plugin, {
                                styleSheet.addRule(selector, style);
                        }
                        return true;
-               }, this);               
+               }, this);
        },
        /*
         * This function gets called when a button was pressed.
@@ -163,7 +163,7 @@ HTMLArea.MicrodataSchema = Ext.extend(HTMLArea.Plugin, {
                        // Could be a button or its hotkey
                var buttonId = this.translateHotKey(id);
                buttonId = buttonId ? buttonId : id;
-               
+
                switch (buttonId) {
                        case 'ShowMicrodata':
                                this.toggleMicrodata();
@@ -346,7 +346,7 @@ HTMLArea.MicrodataSchema = Ext.extend(HTMLArea.Plugin, {
                                case 'itemprop':
                                case 'itemtype':
                                        element.setAttribute(itemId, (value === 'none') ? '' : value);
-                                       break;  
+                                       break;
                        }
                }, this);
                var itemScopeField = this.fieldset.find('itemId', 'itemscope')[0];
index 27ba1ba..86a6368 100644 (file)
@@ -134,7 +134,7 @@ HTMLArea.SelectFont = Ext.extend(HTMLArea.Plugin, {
                                        this.onUpdateToolbar(select, this.getEditorMode(), selectionEmpty, ancestors, endPointsInSameBlock);
                                }, this);
                        }
-               }, this);       
+               }, this);
        },
        /*
         * This function gets called when some font style or font size was selected from the dropdown lists
index 3c22a8e..3d4601f 100644 (file)
@@ -436,7 +436,7 @@ HTMLArea.SpellChecker = Ext.extend(HTMLArea.Plugin, {
                        TYPO3.Dialog.QuestionDialog({
                                title: this.getButton('SpellCheck').tooltip.title,
                                msg: this.localize('QUIT_CONFIRMATION'),
-                               fn: function (button) { 
+                               fn: function (button) {
                                        if (button == 'yes') {
                                                this.close();
                                        }
index 48d6648..eca3115 100644 (file)
@@ -261,7 +261,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
                }
                this.close();
        },
-       
+
        /*
         * Unlink the selection.
         * This function is called from the TYPO3 link popup and from unlink button pressed in toolbar or context menu.
@@ -298,7 +298,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
                        this.close();
                }
        },
-       
+
        /*
        * Set attributes of anchors intersecting a range in the given node
        *
@@ -380,7 +380,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
                        }
                }
        },
-       
+
        /*
         * Clean up images in special anchor classes
         */
@@ -404,7 +404,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, {
                        node.removeChild(nodeArray[i]);
                }
        },
-       
+
        /*
         * Clean up all anchors intesecting with the range in the given node
         */
index 44dc5b5..606bbb3 100644 (file)
@@ -45,7 +45,7 @@ HTMLArea.TextIndicator = Ext.extend(HTMLArea.Plugin, {
                        license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
-               
+
                /*
                 * Registering the indicator
                 */
index 656ffca..6a58425 100644 (file)
@@ -60,7 +60,7 @@ HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
                 * Regular expression to check if an element is an inline elment
                 */
                this.REInlineTags = /^(a|abbr|acronym|b|bdo|big|cite|code|del|dfn|em|i|img|ins|kbd|q|samp|small|span|strike|strong|sub|sup|tt|u|var)$/;
-               
+
                        // Allowed attributes on inline elements
                this.allowedAttributes = new Array('id', 'title', 'lang', 'xml:lang', 'dir', 'class', 'itemscope', 'itemtype', 'itemprop');
                if (HTMLArea.isIEBeforeIE9) {
@@ -79,7 +79,7 @@ HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
                        license         : 'GPL'
                };
                this.registerPluginInformation(pluginInformation);
-               /* 
+               /*
                 * Registering the dropdown list
                 */
                var buttonId = 'TextStyle';
@@ -135,7 +135,7 @@ HTMLArea.TextStyle = Ext.extend(HTMLArea.Plugin, {
                var parent = this.editor.getSelection().getParentElement();
                var selectionEmpty = this.editor.getSelection().isEmpty();
                var ancestors = this.editor.getSelection().getAllAncestors();
-               
+
                if (!selectionEmpty) {
                                // The selection is not empty
                        for (var i = 0; i < ancestors.length; ++i) {
index 62f4da4..33f069c 100644 (file)
@@ -830,7 +830,6 @@ class tx_rtehtmlarea_browse_links extends browse_links {
                                $tree=$pagetree->getBrowsableTree();
                                $cElements = $this->expandPage();
 
-
                                // Outputting Temporary DB mount notice:
                                if (intval($GLOBALS['BE_USER']->getSessionData('pageTree_temporaryMountPoint'))) {
                                        $link = '<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))) . '">' .