[TASK] Fix CGL violations against SuperfluousWhitespace
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 1 Jul 2012 20:01:03 +0000 (22:01 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 1 Jul 2012 22:31:08 +0000 (00:31 +0200)
Fix CGL violations against SuperfluousWhitespace

Change-Id: Iadf22a70963e88a0c592f225ac1855dc3feeae3c
Resolves: #38530
Releases: 6.0
Reviewed-on: http://review.typo3.org/12509
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
21 files changed:
typo3/sysext/aboutmodules/class.tx_aboutmodules_functions.php
typo3/sysext/beuser/mod/index.php
typo3/sysext/cms/layout/class.tx_cms_layout.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/sysext/cms/tslib/class.tslib_content.php
typo3/sysext/cms/tslib/class.tslib_fe.php
typo3/sysext/cms/tslib/class.tslib_feuserauth.php
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php
typo3/sysext/cms/tslib/class.tslib_menu.php
typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php
typo3/sysext/cms/tslib/content/class.tslib_content_template.php
typo3/sysext/cms/web_info/class.tx_cms_webinfo.php
typo3/sysext/cshmanual/mod/index.php
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php
typo3/sysext/em/classes/class.tx_em_api.php
typo3/sysext/em/classes/class.tx_em_extensionmanager.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/extensions/class.tx_em_extensions_details.php

index 16438a4..62dce8d 100644 (file)
@@ -154,7 +154,7 @@ class tx_aboutmodules_Functions {
                                'onclick' => 'top.goToModule(\'' . $moduleName . '\');',
                        );
 
-                       // Creating image icon
+                               // Creating image icon
                        $image = @getimagesize($this->mIconFile($GLOBALS['LANG']->moduleLabels['tabs_images'][$moduleKey], $backPath));
                        $imageCode = '';
                        $descr3_title = $GLOBALS['LANG']->moduleLabels['tabs'][$moduleKey] . ' ';
@@ -167,7 +167,7 @@ class tx_aboutmodules_Functions {
                                $descr3_imageCode = '<img' . t3lib_iconWorks::skinImg($backPath, 'gfx/dummy_module.gif', 'width="14" height="12"') . ' title="' . htmlspecialchars($descr3_title) . '" alt="" />';
                        }
 
-                       // Creating the various links:
+                               // Creating the various links:
                        $label = $GLOBALS['LANG']->moduleLabels['tabs'][$moduleKey];
                        if ($link && $prefix) {
                                $link = $prefix . rawurlencode($link);
@@ -186,8 +186,7 @@ class tx_aboutmodules_Functions {
                        $selectItems[] = '<option value="top.goToModule(\'' . $moduleName . '\');">' . htmlspecialchars($GLOBALS['LANG']->moduleLabels['tabs'][$moduleKey]) . '</option>';
                        $label = '&nbsp;<strong>' . $label . '</strong>&nbsp;';
 
-
-                       // make menu collapsable
+                               // make menu collapsable
                        if ($collapsable == 1 && is_array($moduleInfo['sub'])) {
                                $collapseJS = 'onclick="window.location.href=\'alt_menu.php?collapsedOverride[' . $moduleName . ']=' . ($config[$moduleName]
                                                ? '0' : '1') . '\'"';
@@ -197,25 +196,24 @@ class tx_aboutmodules_Functions {
                                $collapseJS = $collapseIcon = '';
                        }
 
-                       // Creating a main item for the vertical menu (descr=0)
+                               // Creating a main item for the vertical menu (descr=0)
                        $menuCode .= '
                                                <tr class="c-mainitem" id="' . $moduleCSSId . '">
                                                        <td colspan="3" ' . $collapseJS . ' >' . $imageCode . '<span class="c-label">' . $label . '</span>' . $collapseIcon . '</td>
                                                </tr>';
 
-                       // Code for "About modules"
+                               // Code for "About modules"
                        $descrCode .= '
                                                <tr class="c-mainitem">
                                                        <td colspan="3">' . $imageCode . $label . '</td>
                                                </tr>';
 
-
-                       // Hide submodules when collapsed:
+                               // Hide submodules when collapsed:
                        if ($collapsable == 1 && $config[$moduleName] == 1 && $descr == 0 && $config['expandAll'] != 1) {
                                unset($moduleInfo['sub']);
                        }
 
-                       // Traversing submodules
+                               // Traversing submodules
                        $subCode = '';
                        if (is_array($moduleInfo['sub'])) {
                                $collection[$moduleKey]['subitems'] = array();
index 28ba34d..e24f0e7 100755 (executable)
@@ -34,11 +34,6 @@ $GLOBALS['LANG']->includeLLFile('EXT:beuser/mod/locallang.xml');
 
 $BE_USER->modAccess($MCONF, 1);
 
-
-
-
-
-
 /**
  * Base Extension class for printing a page tree (non-browsable though)
  *
@@ -130,15 +125,6 @@ class localPageTree extends t3lib_browseTree {
        }
 }
 
-
-
-
-
-
-
-
-
-
 /**
  * Extension class for printing a page tree: All pages of a mount point.
  *
@@ -187,15 +173,6 @@ class printAllPageTree extends localPageTree {
        }
 }
 
-
-
-
-
-
-
-
-
-
 /**
  * Extension class for printing a page tree: Printing all pages, with permissions.
  *
@@ -285,16 +262,6 @@ class printAllPageTree_perms extends printAllPageTree {
        }
 }
 
-
-
-
-
-
-
-
-
-
-
 /**
  * Base Extension class for printing a folder tree (non-browsable though)
  *
@@ -376,18 +343,6 @@ class localFolderTree extends t3lib_folderTree {
        }
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
 /**
  * Extension class for printing a folder tree: All folders
  *
@@ -412,16 +367,6 @@ class printAllFolderTree extends localFolderTree {
        }
 }
 
-
-
-
-
-
-
-
-
-
-
 /**
  * Extension class of beuserauth class.
  *
@@ -1005,17 +950,6 @@ class local_beUserAuth extends t3lib_beUserAuth {
        }
 }
 
-
-
-
-
-
-
-
-
-
-
-
 /**
  * Main script class
  *
@@ -1038,7 +972,6 @@ class SC_mod_tools_be_user_index {
        var $include_once=array();
        var $content;
 
-
        /**
         * Basic initialization of the class
         *
@@ -1050,7 +983,6 @@ class SC_mod_tools_be_user_index {
                $this->menuConfig();
                $this->switchUser(t3lib_div::_GP('SwitchUser'));
 
-
                // **************************
                // Initializing
                // **************************
@@ -1160,10 +1092,6 @@ class SC_mod_tools_be_user_index {
                return $buttons;
        }
 
-
-
-
-
        /***************************
         *
         * OTHER FUNCTIONS:
@@ -1377,7 +1305,6 @@ class SC_mod_tools_be_user_index {
                return $content;
        }
 
-
        /**
         * Creates a HTML anchor to the user record
         *
@@ -1389,7 +1316,6 @@ class SC_mod_tools_be_user_index {
                return '<a href="'.htmlspecialchars($this->MCONF['_']).'&be_user_uid='.$rec['uid'].'">' . htmlspecialchars($str) . '</a>';
        }
 
-
        /**
         * Builds a list of all links for a specific element (here: BE user) and returns it for print.
         *
@@ -1432,7 +1358,6 @@ class SC_mod_tools_be_user_index {
                return implode('', $cells);
        }
 
-
        /**
         * Inits all BE-users available, for development ONLY!
         *
index 62c8892..0420a0f 100755 (executable)
@@ -448,7 +448,6 @@ class tx_cms_layout extends recordList {
                                                                // because of bad (historic) conception, starting tag has to be placed inside tt_content_drawHeader()
                                                        $singleElementHTML .= '</div>';
 
-
                                                        $statusHidden = ($this->isDisabled('tt_content', $row) ? ' t3-page-ce-hidden' : '');
                                                        $singleElementHTML = '<div class="t3-page-ce' . $statusHidden . '">' . $singleElementHTML . '</div>';
 
@@ -811,7 +810,6 @@ class tx_cms_layout extends recordList {
                        }
                }
 
-
                        // Add the big buttons to page:
                if ($this->option_showBigButtons) {
                        $bArray = array();
@@ -2000,7 +1998,6 @@ class tx_cms_layout extends recordList {
                                '&nbsp;' .
                                htmlspecialchars($rec['title']);
 
-
                        // Init array where infomation is accumulated as label/value pairs.
                $lines = array();
 
@@ -2061,7 +2058,6 @@ class tx_cms_layout extends recordList {
                                        t3lib_BEfunc::date($rrow2[1]) . ' (' . t3lib_BEfunc::calcAge($rrow2[1] - $rrow2[0], $this->agePrefixes) . ')');
                                $lines[] = array($GLOBALS['LANG']->getLL('pI_hitsTotal') . ':', $rrow2[0]);
 
-
                                        // Last 10 days
                                $nextMidNight = mktime(0, 0, 0) + 1 * 3600 * 24;
 
@@ -2088,7 +2084,6 @@ class tx_cms_layout extends recordList {
                                        </table>';
                                $lines[] = array($GLOBALS['LANG']->getLL('pI_hits10days') . ':', $hitTable, 1);
 
-
                                        // Last 24 hours
                                $nextHour = mktime(date('H'), 0, 0) + 3600;
                                $hours = 16;
index b33122d..223c1cd 100755 (executable)
@@ -523,7 +523,6 @@ class SC_db_layout {
                                }
                        }
 
-
                        if ($this->pageinfo['content_from_pid']) {
                                $contentPage = t3lib_BEfunc::getRecord('pages', intval($this->pageinfo['content_from_pid']));
                                $title = t3lib_BEfunc::getRecordTitle('pages', $contentPage);
@@ -666,7 +665,6 @@ class SC_db_layout {
                        }
                }
 
-
                        // Creating the selector box, allowing the user to select which element to edit:
                $opt = array();
                $is_selected = 0;
@@ -843,7 +841,6 @@ class SC_db_layout {
                                        // Initialize - reads the clipboard content from the user session
                                $tceforms->clipObj->initializeClipboard();
 
-
                                if ($GLOBALS['BE_USER']->uc['edit_showFieldHelp'] !== 'text' && $this->MOD_SETTINGS['showDescriptions']) {
                                        $tceforms->edit_showFieldHelp = 'text';
                                }
@@ -888,7 +885,6 @@ class SC_db_layout {
                        $content .= $this->doc->section($GLOBALS['LANG']->getLL('noAccess'), $GLOBALS['LANG']->getLL('noAccess_msg') . '<br /><br />', 0, 1);
                }
 
-
                        // Bottom controls (function menus):
                $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"').
@@ -916,7 +912,6 @@ class SC_db_layout {
                $content.=$this->doc->section('', $h_func_b, 0, 0);
                $content.=$this->doc->spacer(10);
 
-
                        // Select element matrix:
                if ($this->eRParts[0]=='tt_content' && t3lib_utility_Math::canBeInterpretedAsInteger($this->eRParts[1])) {
                        $posMap = t3lib_div::makeInstance('ext_posMap');
@@ -1092,7 +1087,6 @@ class SC_db_layout {
                        $h_func_b = '';
                }       // END: traverse tables
 
-
                        // For Context Sensitive Menus:
                $this->doc->getContextMenuCode();
 
index bda25fc..7243f16 100644 (file)
@@ -199,7 +199,6 @@ class SC_db_new_content_el {
                                $this->onClickEvent = '';
                        }
 
-
                                // ***************************
                                // Creating content
                                // ***************************
@@ -220,7 +219,6 @@ class SC_db_new_content_el {
                                // Copy wrapper for tabs
                        $this->elementWrapperForTabs = $this->elementWrapper;
 
-
                                // Hook for manipulating wizardItems, wrapper, onClickEvent etc.
                        if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms']['db_new_content_el']['wizardItemsHook'])) {
                                foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms']['db_new_content_el']['wizardItemsHook'] as $classData) {
@@ -375,7 +373,6 @@ class SC_db_new_content_el {
                        'back' => ''
                );
 
-
                if ($this->id && $this->access) {
                                // CSH
                        $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_ce', $GLOBALS['BACK_PATH'], '', TRUE);
@@ -388,7 +385,6 @@ class SC_db_new_content_el {
                        }
                }
 
-
                return $buttons;
        }
 
index f6bb639..59eb775 100644 (file)
@@ -220,7 +220,6 @@ class SC_wizard_backend_layout {
                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '" onclick="window.close();return true;">' .
                        t3lib_iconWorks::getSpriteIcon('actions-document-close') . '</a>';
 
-
                $content .= $this->doc->spacer(10);
 
                $content .= '
index 7da2a45..195ca9c 100644 (file)
@@ -1190,7 +1190,6 @@ class tslib_cObj {
                                // This array is used to collect the image-refs on the page...
                        $GLOBALS['TSFE']->imagesOnPage[] = $info[3];
 
-
                        $altParam = $this->getAltParam($conf);
                        if ($conf['params'] && !isset($conf['params.'])) {
                                $params = ' ' . $conf['params'];
@@ -4828,7 +4827,6 @@ class tslib_cObj {
                                                        // This flag indicates, that this TypoTag section should NOT be included in the nonTypoTag content.
                                                $breakOut = ($theConf['breakoutTypoTagContent'] ? 1 : 0);
 
-
                                                $this->parameters = array();
                                                if ($currentTag[1]) {
                                                        $params = t3lib_div::get_tag_attributes($currentTag[1]);
@@ -4849,7 +4847,6 @@ class tslib_cObj {
                                                $this->data[$this->currentValKey] = $contentAccum[$contentAccumP];
                                                $newInput = $this->cObjGetSingle($theName, $theConf, '/parseFunc/.tags.' . $tag[0]); // fetch the content object
 
-
                                                $contentAccum[$contentAccumP] = $newInput;
                                                $contentAccumP++;
 
@@ -5036,7 +5033,6 @@ class tslib_cObj {
                                        $len--;
                                } // Included '\/' 3/12
 
-
                                $parts[0] = substr($textpieces[$i], 0, $len);
                                $parts[1] = substr($textpieces[$i], $len);
 
@@ -5988,7 +5984,6 @@ class tslib_cObj {
                                                                // menu. Mount points always work in the content of the current domain and we must not change
                                                                // domain if MP variables exist.
 
-
                                                                // If we link across domains and page is free type shortcut, we must resolve the shortcut first!
                                                                // If we do not do it, TYPO3 will fail to (1) link proper page in RealURL/CoolURI because
                                                                // they return relative links and (2) show proper page if no RealURL/CoolURI exists when link is clicked
@@ -6953,7 +6948,6 @@ class tslib_cObj {
                                        $diff_y_d = $diff_y_d / 2;
                                }
 
-
                                $x_d = round($x_d * $c - $diff_x_d);
                                $y_d = round($y_d * $c - $diff_y_d);
 
index d884e44..1cf8e84 100644 (file)
@@ -3807,7 +3807,6 @@ if (version == "n3") {
                                                }
                                        }
 
-
                                        $GLOBALS['TT']->push('Store SQL');
                                        $GLOBALS['TYPO3_DB']->exec_INSERTquery('sys_stat', $insertFields);
                                        $GLOBALS['TT']->pull();
index c1f6d12..701a27c 100644 (file)
@@ -264,7 +264,6 @@ class tslib_feUserAuth extends t3lib_userAuth {
                        t3lib_div::devLog(count($groupDataArr).' usergroup records found by services', 'tslib_feUserAuth');
                }
 
-
                        // Use 'auth' service to check the usergroups if they are really valid
                foreach ($groupDataArr as $groupData) {
                                // By default a group is valid
index ef04ffe..057ed58 100644 (file)
@@ -98,7 +98,6 @@ class tslib_gifBuilder extends t3lib_stdGraphic {
                        $this->cObj =t3lib_div::makeInstance('tslib_cObj');
                        $this->cObj->start($this->data);
 
-
                        // Hook preprocess gifbuilder conf
                        // Added by Julle for 3.8.0
                        //
@@ -159,7 +158,6 @@ class tslib_gifBuilder extends t3lib_stdGraphic {
                        }
                        if (!$this->setup['XY'])        {$this->setup['XY']='120,50';}
 
-
                                // Checking TEXT and IMAGE objects for files. If any errors the objects are cleared.
                                // The Bounding Box for the objects is stored in an array
                        foreach($sKeyArray as $theKey) {
index dcc857d..3a22bad 100644 (file)
@@ -2320,7 +2320,6 @@ class tslib_gmenu extends tslib_menu {
                        }
                        $c++;
 
-
                        if ($isGD) {
                                        // Pre-working the item
                                $gifCreator = t3lib_div::makeInstance('tslib_gifBuilder');
@@ -2829,7 +2828,6 @@ class tslib_imgmenu extends tslib_menu {
                                                foreach ($sKeyArray as $theKey) {
                                                        $theValue=$val[$theKey];
 
-
                                                        if (intval($theKey) && $theValArr=$val[$theKey.'.']) {
                                                                $cObjData = $this->menuArr[$key] ? $this->menuArr[$key] : Array();
 
index de04608..8050eb8 100644 (file)
@@ -157,7 +157,6 @@ class tslib_content_ShockwaveFlashObject extends tslib_content_Abstract {
                        $height = $conf[$type . '.']['defaultHeight'];
                }
 
-
                $embed = 'swfobject.embedSWF("' . $conf['player'] . '", "' . $replaceElementIdString . '", "' . $width . '", "' . $height . '",
                                "' . $flashVersion . '", "' . $installUrl . '", ' . $conf['embedParams'] . ');';
 
index 4a61064..135df02 100644 (file)
@@ -180,7 +180,6 @@ class tslib_content_Template extends tslib_content_Abstract {
                                        // Reset current to empty
                                $this->cObj->data[$this->cObj->currentValKey] = '';
 
-
                                        // Getting marks
                                $markerArray = array();
                                foreach ($marks as $theKey => $theValue) {
index 10ac49f..59df489 100644 (file)
@@ -114,12 +114,10 @@ class tx_cms_webinfo_page extends t3lib_extobjbase {
                        $timespan_e = mktime (0, 0, 0)-(30-1)*3600*24+1;
                        $header = '<br />'.sprintf($LANG->getLL('stat_period'), t3lib_BEfunc::date($timespan_b), t3lib_BEfunc::date($timespan_e)).'<br />';
 
-                               //
                        $dblist->start($this->pObj->id, 'pages', 0);
                        $dblist->pages_noEditColumns = 1;
                        $dblist->generateList();
 
-
                        $theOutput .= $this->pObj->doc->header($LANG->getLL('hits_title'));
                        $theOutput .= $this->pObj->doc->section('',
                                t3lib_BEfunc::cshItem($dblist->descrTable, 'stat', $GLOBALS['BACK_PATH'], '|<br />') . // CSH
index 7279805..112917d 100644 (file)
@@ -134,7 +134,7 @@ class SC_view_help {
                        // The remaining parts make up the FlexForm field name itself
                        // (reassembled with dots)
                        $flexFormField = implode('.', $identifierParts);
-                       // Assemble a different main key and switch field to use FlexForm field name
+                               // Assemble a different main key and switch field to use FlexForm field name
                        $this->mainKey .= '.' . $this->field;
                        foreach ($extraIdentifierInformation as $extraKey) {
                                $this->mainKey .= '.' . $extraKey;
@@ -142,7 +142,7 @@ class SC_view_help {
                        $this->field = $flexFormField;
                }
 
-               // limitAccess is checked if the $this->table really IS a table (and if the user is NOT a translator who should see all!)
+                       // limitAccess is checked if the $this->table really IS a table (and if the user is NOT a translator who should see all!)
                $showAllToUser = t3lib_BEfunc::isModuleSetInTBE_MODULES('txllxmltranslateM1') && $GLOBALS['BE_USER']->check('modules', 'txllxmltranslateM1');
                $this->limitAccess = isset($GLOBALS['TCA'][$this->table]) ? !$showAllToUser : FALSE;
                $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_view_help.xlf', 1);
@@ -155,17 +155,17 @@ class SC_view_help {
         */
        function main() {
 
-               // Start HTML output accumulation:
+                       // Start HTML output accumulation:
                $GLOBALS['TBE_TEMPLATE']->divClass = 'typo3-view-help';
                $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage($GLOBALS['LANG']->getLL('title'));
 
                if ($this->field == '*') {
-                       // If ALL fields is supposed to be shown:
+                               // If ALL fields is supposed to be shown:
                        $this->createGlossaryIndex();
                        $this->content .= $this->render_Table($this->mainKey);
 
                } elseif ($this->tfID) {
-                       // ... otherwise show only single field:
+                               // ... otherwise show only single field:
                        $this->createGlossaryIndex();
                        $this->content .= $this->render_Single($this->mainKey, $this->field);
 
@@ -173,11 +173,11 @@ class SC_view_help {
                        $this->content .= $this->render_Single($this->mainKey, $this->field);
 
                } else {
-                       // Render Table Of Contents if nothing else:
+                               // Render Table Of Contents if nothing else:
                        $this->content.= $this->render_TOC();
                }
 
-               // End page:
+                       // End page:
                $this->content .= '<br/>';
                $this->content .= $GLOBALS['TBE_TEMPLATE']->endPage();
        }
@@ -203,19 +203,18 @@ class SC_view_help {
         * @return string HTML content
         */
        function render_TOC() {
-               // Initialize:
+                       // Initialize:
                $CSHkeys = array_flip(array_keys($GLOBALS['TCA_DESCR']));
                $TCAkeys = array_keys($GLOBALS['TCA']);
 
                $outputSections = array();
                $tocArray = array();
 
-
-               // TYPO3 Core Features:
+                       // TYPO3 Core Features:
                $GLOBALS['LANG']->loadSingleTableDescription('xMOD_csh_corebe');
                $this->render_TOC_el('xMOD_csh_corebe', 'core', $outputSections, $tocArray, $CSHkeys);
 
-               // Backend Modules:
+                       // Backend Modules:
                $loadModules = t3lib_div::makeInstance('t3lib_loadModules');
                $loadModules->load($GLOBALS['TBE_MODULES']);
                foreach ($loadModules->modules as $mainMod => $info) {
index 8a23542..0b992b4 100755 (executable)
@@ -235,7 +235,6 @@ class tx_cssstyledcontent_pi1 extends tslib_pibase {
                                $tableTagParams['class'] = $tableClass;
                        }
 
-
                                // Compile table output:
                        $out = '
                                <table ' . t3lib_div::implodeAttributes($tableTagParams) . '>' .
@@ -1128,7 +1127,6 @@ class tx_cssstyledcontent_pi1 extends tslib_pibase {
                                        }
                                        $GLOBALS['TSFE']->register['columnwidth'] = $maxImageSpace + $tmpColspacing;
 
-
                                                // Close this row at the end (colCount), or the last row at the final end
                                        if ($separateRows && ($i + 1 == count($imgsTag))) {
                                                        // Close the very last row with either normal configuration or lastRow stdWrap
index fbd63be..3b6cefc 100644 (file)
@@ -42,7 +42,6 @@ class tx_em_API {
         */
        public $typeBackPaths = array();
 
-
        /**
         * Constructor
         *
@@ -66,9 +65,6 @@ class tx_em_API {
                        'G' => $GLOBALS['LANG']->getLL('descr_global'),
                        'L' => $GLOBALS['LANG']->getLL('descr_local'),
                );
-
-
-
        }
 }
 ?>
\ No newline at end of file
index 390009b..c045552 100644 (file)
 /**
  * Module: Extension manager, developer module
  *
- * @author     Steffen Kamper <info@sk-typo3.de>
+ * @author Steffen Kamper <info@sk-typo3.de>
  */
-
-
 class tx_em_ExtensionManager {
 
        /**
@@ -68,8 +66,6 @@ class tx_em_ExtensionManager {
         */
        protected $gzSupport = FALSE;
 
-
-
        /**
         * Constructor
         *
@@ -101,7 +97,6 @@ class tx_em_ExtensionManager {
                $this->pageRenderer->addCssFile($this->resPath . 'js/ux/css/RangeMenu.css');
                $this->pageRenderer->addCssFile($this->resPath . 'css/t3_em.css');
 
-
                $iconsGfxPath = $GLOBALS['TBE_STYLES']['skinImgAutoCfg']['relDir'] . 'gfx/';
                $this->pageRenderer->addCssInlineBlock('em-t3skin-icons', '
                        .x-tree-node-leaf img.tree-edit { background-image:url(' . $iconsGfxPath . 'edit_file.gif);}
@@ -124,7 +119,6 @@ class tx_em_ExtensionManager {
 
                $this->pageRenderer->addExtDirectCode();
 
-
                        // Localization
                $labels = array();
                $this->pageRenderer->addInlineLanguageLabelFile(t3lib_extMgm::extPath('em', 'language/locallang.xml'));
@@ -164,7 +158,6 @@ class tx_em_ExtensionManager {
                $fileAllowCreate = intval($GLOBALS['BE_USER']->getTSConfigVal('mod.tools_em.fileAllowCreate'));
                $fileAllowDownload = intval($GLOBALS['BE_USER']->getTSConfigVal('mod.tools_em.fileAllowDownload'));
 
-
                        // add the settings
                $additionalSettings = array(
                        'siteUrl' => t3lib_div::getIndpEnv('TYPO3_SITE_URL'),
index 46eec08..b4963c4 100644 (file)
@@ -217,7 +217,6 @@ class tx_em_Connection_ExtDirectServer {
                $list = t3lib_div::makeInstance('tx_em_Extensions_List');
                $extList = $list->getInstalledExtensions(TRUE);
 
-
                return array(
                        'length' => count($extList),
                        'data' => $extList
@@ -238,7 +237,6 @@ class tx_em_Connection_ExtDirectServer {
                        /** @var $extension tx_em_Extensions_List */
                        $extension = t3lib_div::makeInstance('tx_em_Extensions_List');
 
-
                        $extPath = t3lib_extMgm::extPath($extKey);
                        $type = tx_em_Tools::getExtTypeFromPath($extPath);
                        $typePath = tx_em_Tools::typePath($type);
@@ -303,7 +301,6 @@ class tx_em_Connection_ExtDirectServer {
                $extensionList = t3lib_div::makeInstance('tx_em_Extensions_List', $this);
                list($list,) = $extensionList->getInstalledExtensions();
 
-
                $arr = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$extKey]);
                $arr = is_array($arr) ? $arr : array();
 
@@ -783,7 +780,6 @@ class tx_em_Connection_ExtDirectServer {
                        $lines[] = '<tr class="t3-row-header"><td colspan="2">' .
                                        $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:ext_details_update_em_conf') . '</td></tr>';
 
-
                        $updateEMConf = $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:extUpdateEMCONF_file');
                        $lines[] = '<tr class="bgColor4"><td colspan="2">' .
                                        $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:extUpdateEMCONF_info_changes') . '<br />
@@ -796,7 +792,6 @@ class tx_em_Connection_ExtDirectServer {
                                        ) . '</a>'
                                        . '</td></tr>';
 
-
                        // mod menu for singleDetails
                        $modMenu = $GLOBALS['TBE_MODULES_EXT']['tools_em']['MOD_MENU']['singleDetails'];
                        if (isset($modMenu) && is_array($modMenu)) {
@@ -813,8 +808,6 @@ class tx_em_Connection_ExtDirectServer {
 
                        $content = '<table border="0" cellpadding="2" cellspacing="2">' . implode('', $lines) . '</table>';
 
-
-
                        return $this->replaceLinks($content);
                }
        }
@@ -916,7 +909,6 @@ class tx_em_Connection_ExtDirectServer {
                        $limit = '';
                }
 
-
                $list = tx_em_Database::getExtensionListFromRepository(
                        $repositoryId,
                        $addFields,
@@ -1314,8 +1306,6 @@ class tx_em_Connection_ExtDirectServer {
                                                $result[$lang] = $okIcon . $GLOBALS['LANG']->sL('LLL:EXT:em/language/locallang.xml:translation_status_uptodate');
                                        }
                                }
-
-
                        }
                }
                return $result;
@@ -1496,7 +1486,6 @@ class tx_em_Connection_ExtDirectServer {
                $objRepositoryUtility = t3lib_div::makeInstance('tx_em_Repository_Utility', $objRepository);
                $mirrors = $objRepositoryUtility->getMirrors(TRUE)->getMirrors();
 
-
                if ($settings['selectedMirror'] == '') {
                        $randomMirror = array_rand($mirrors);
                        $mirrorUrl = $mirrors[$randomMirror]['host'] . $mirrors[$randomMirror]['path'];
@@ -1528,7 +1517,6 @@ class tx_em_Connection_ExtDirectServer {
                        }
                }
 
-
                if (count($filter)) {
                        foreach ($filter as $value) {
                                switch ($value['data']['type']) {
index bff4e66..5e1f459 100644 (file)
@@ -355,8 +355,6 @@ class tx_em_Connection_ExtDirectSoap {
                                'error' => $error->faultstring
                        );
                }
-
-
        }
 
        /**
index a282a30..09c4ac2 100644 (file)
@@ -528,7 +528,6 @@ $EM_CONF[$_EXTKEY] = ' . tx_em_Tools::arrayToCode($EM_CONF, 0) . ';
                                $emConf[$key]
                        );
 
-
                        $headerCol = $GLOBALS['LANG']->getLL('extInfoArray_clear_cache');
                        $headerCol = t3lib_BEfunc::wrapInHelp($this->descrTable, 'emconf_clearCacheOnLoad', $headerCol);
                        if ($emConf['clearCacheOnLoad']) {