[TASK] Replace Space Indent into Tab indent (CGL Cleanup)
authorStefano Kowalke <blueduck@gmx.net>
Sun, 6 May 2012 12:04:23 +0000 (14:04 +0200)
committerTolleiv Nietsch <tolleiv.nietsch@typo3.org>
Sun, 6 May 2012 18:02:48 +0000 (20:02 +0200)
This patch replaces some forgotten and/or
overseen space chars in indention into tab chars.

Change-Id: I53f5c20b050fc07bf9c6844437ac6064ca81dede
Resolves: #36883
Reviewed-on: http://review.typo3.org/11025
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/version/Classes/Preview.php
typo3/sysext/version/class.tx_version_tcemain.php
typo3/sysext/version/cm1/index.php

index c05056d..ed0481d 100644 (file)
@@ -223,7 +223,7 @@ class Tx_Version_Preview implements t3lib_Singleton {
                                        throw new Exception('POST requests are incompatible with keyword preview.', 1294585191);
                                }
                        } else {
-                               throw new Exception('ADMCMD command could not be executed! (No keyword configuration found)', 1294585192);
+                               throw new Exception('ADMCMD command could not be executed! (No keyword configuration found)', 1294585192);
                        }
                }
                return FALSE;
index f383db3..9daccbe 100644 (file)
@@ -381,7 +381,7 @@ class tx_version_tcemain {
 
                if (is_array($workspaceRec)) {
 
-                                // Get the new stage title from workspaces library, if workspaces extension is installed
+                               // Get the new stage title from workspaces library, if workspaces extension is installed
                        if (t3lib_extMgm::isLoaded('workspaces')) {
                                $stageService = t3lib_div::makeInstance('Tx_Workspaces_Service_Stages');
                                $newStage = $stageService->getStageTitle((int)$stageId);
@@ -919,7 +919,7 @@ class tx_version_tcemain {
                                                                                        if ($movePlhID) {
                                                                                                        // Remove, if normal publishing:
                                                                                                if (!$swapIntoWS) {
-                                                                                                               // For delete + completely delete!
+                                                                                                               // For delete + completely delete!
                                                                                                        $tcemainObj->deleteEl($table, $movePlhID, TRUE, TRUE);
                                                                                                } else {
                                                                                                        // Otherwise update the movePlaceholder:
@@ -998,7 +998,7 @@ class tx_version_tcemain {
 
                                                                                                // Checking for "new-placeholder" and if found, delete it (BUT FIRST after swapping!):
                                                                                        if (!$swapIntoWS && $t3ver_state['curVersion']>0) {
-                                                                                                       // For delete + completely delete!
+                                                                                                       // For delete + completely delete!
                                                                                                $tcemainObj->deleteEl($table, $swapWith, TRUE, TRUE);
                                                                                        }
                                                                                } else $tcemainObj->newlog('During Swapping: SQL errors happened: ' . implode('; ', $sqlErrors), 2);
@@ -1098,7 +1098,7 @@ class tx_version_tcemain {
         *
         * @param string $table Table name
         * @param integer $id Record UID
-        * @param boolean $flush If set, will completely delete element
+        * @param boolean $flush If set, will completely delete element
         * @param t3lib_TCEmain $tcemainObj TCEmain object
         * @return      void
         */
index 7eb32ed..1184acc 100755 (executable)
@@ -359,7 +359,7 @@ class tx_version_cm1 extends t3lib_SCbase {
                                ),
                                '',
                                $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-                       );
+                       );
                }
                return $buttons;
        }
@@ -479,7 +479,7 @@ class tx_version_cm1 extends t3lib_SCbase {
                                                '</a>'.
                                                        '<a href="'.$this->doc->issueCommand('&cmd['.$this->table.']['.$this->uid.'][version][action]=swap&cmd['.$this->table.']['.$this->uid.'][version][swapWith]='.$row['uid'].'&cmd['.$this->table.']['.$this->uid.'][version][swapContent]=ALL').'">'.
                                                '<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/insert4.gif','width="14" height="14"').' alt="" title="Publish page AND content! - AND ALL SUBPAGES!" />'.
-                                               '</a>' : '') */ : t3lib_iconWorks::getSpriteIcon('status-status-current', array('title' =>  $GLOBALS['LANG']->getLL('currentOnlineVersion', TRUE)))) . '</td>
+                                               '</a>' : '')*/: t3lib_iconWorks::getSpriteIcon('status-status-current', array('title' =>  $GLOBALS['LANG']->getLL('currentOnlineVersion', TRUE)))) . '</td>
                                        <td nowrap="nowrap">'.$adminLinks.'</td>
                                        <td nowrap="nowrap">'.t3lib_BEfunc::getRecordTitle($this->table,$row,TRUE).'</td>
                                        <td>'.$row['uid'].'</td>
@@ -1594,7 +1594,7 @@ class tx_version_cm1 extends t3lib_SCbase {
                                $sId = 1;
                                $sLabel = $GLOBALS['LANG']->getLL('editing');
                                $color = '#666666';
-                               $label = $GLOBALS['LANG']->getLL('commentForReviewer');
+                               $label = $GLOBALS['LANG']->getLL('commentForReviewer');
                                $titleAttrib = $GLOBALS['LANG']->getLL('sendToReview');
                        break;
                        case 1: