From 82fd45bf1771057aadf2df1843ca169839eea162 Mon Sep 17 00:00:00 2001 From: Roland Waldner Date: Sun, 20 May 2012 07:52:33 +0200 Subject: [PATCH] [BUGFIX] Reduce spacing CGL violations in /typo3/sysext/ There were a lot spacing CGL violations in /typo3/sysext/. These will be reduced by this commit. Change-Id: Iae4dc7bfbca79f5e71446d850eebfceeb20e4a18 Resolves: #37310 Releases: 6.0 Reviewed-on: http://review.typo3.org/11311 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- view/class.tx_feedit_editpanel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index ee33de0..85f29b4 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -79,7 +79,7 @@ class tx_feedit_editpanel { $theCmd =$TSFE_EDIT['cmd']; } - switch($theCmd) { + switch($theCmd) { case 'edit': case 'new': $finalOut = $this->editContent($formTag, $formName, $theCmd, $newUID, $dataArr, $table, $currentRecord, $blackLine); @@ -225,7 +225,7 @@ class tx_feedit_editpanel { * @return string A tag wrapped string. * @see editPanel(), editIcons(), t3lib_tsfeBeUserAuth::extEditAction() */ - protected function editPanelLinkWrap($string, $formName, $cmd, $currentRecord='', $confirm='', $nPid='') { + protected function editPanelLinkWrap($string, $formName, $cmd, $currentRecord='', $confirm='', $nPid='') { // Editing forms on page only supported in Live workspace (because of incomplete implementation) $editFormsOnPage = $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editFormsOnPage'] && $GLOBALS['BE_USER']->workspace === 0; $nV=t3lib_div::_GP('ADMCMD_view') ? 1 : 0; @@ -245,7 +245,7 @@ class tx_feedit_editpanel { $out = $this->editPanelLinkWrap_doWrap($string, $adminURL . 'alt_doc.php?edit[' . $rParts[0] . '][' . $nPid . ']=new&noView=' . $nV, $currentRecord); } } else { - if ($confirm && $GLOBALS['BE_USER']->jsConfirmation(8)) { + if ($confirm && $GLOBALS['BE_USER']->jsConfirmation(8)) { // Gets htmlspecialchared later $cf1 = 'if (confirm(' . t3lib_div::quoteJSvalue($confirm, TRUE) . ')) {'; $cf2 = '}'; @@ -269,7 +269,7 @@ class tx_feedit_editpanel { * @return string A tag wrapped string. * @see editPanelLinkWrap() */ - protected function editPanelLinkWrap_doWrap($string, $url, $currentRecord) { + protected function editPanelLinkWrap_doWrap($string, $url, $currentRecord) { if ($GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup'] || $GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup']) { $retUrl = t3lib_div::getIndpEnv('REQUEST_URI'); $rParts = explode(':', $currentRecord);