[TASK] Remove condensed mode leftovers 80/27980/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 2 Mar 2014 18:05:48 +0000 (19:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 3 Mar 2014 07:57:58 +0000 (08:57 +0100)
The condensed mode user setting has been removed
three years ago with #24585

Now also remove the leftover parts.
Keep the language labels to not interfere
with older versions.

Resolves: #56479
Releases: 6.2
Change-Id: I8cb3ebc5aac162357ce1d343eed1031156ccd749
Reviewed-on: https://review.typo3.org/27980
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Resources/Public/JavaScript/backend.js
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/t3editor/res/jslib/parse_typoscript/tokenizetyposcript.js
typo3/sysext/workspaces/Classes/Controller/PreviewController.php

index b320ca6..1b3d4e2 100644 (file)
@@ -170,7 +170,7 @@ class ClickMenu {
                if ($this->iParts[2]) {
                        $this->listFrame = 1;
                }
-               if ($GLOBALS['BE_USER']->uc['condensedMode'] || $this->iParts[2] == 2) {
+               if ($this->iParts[2] == 2) {
                        $this->alwaysContentFrame = 1;
                }
                if (isset($this->iParts[1]) && $this->iParts[1] !== '') {
index a272061..b04bff4 100644 (file)
@@ -488,7 +488,6 @@ class BackendController {
                        'securityLevel' => $this->loginSecurityLevel,
                        'TYPO3_mainDir' => TYPO3_mainDir,
                        'pageModule' => $pageModule,
-                       'condensedMode' => $GLOBALS['BE_USER']->uc['condensedMode'] ? 1 : 0,
                        'inWorkspace' => $GLOBALS['BE_USER']->workspace !== 0 ? 1 : 0,
                        'workspaceFrontendPreviewEnabled' => $GLOBALS['BE_USER']->user['workspace_preview'] ? 1 : 0,
                        'veriCode' => $GLOBALS['BE_USER']->veriCode(),
index e0e74e7..a583cc6 100644 (file)
@@ -703,9 +703,6 @@ class PageLayoutController {
                // Setting close url/return url for exiting this script:
                // Goes to 'Columns' view if close is pressed (default)
                $this->closeUrl = $this->local_linkThisScript(array('SET' => array('function' => 1)));
-               if ($GLOBALS['BE_USER']->uc['condensedMode']) {
-                       $this->closeUrl = $GLOBALS['BACK_PATH'] . 'alt_db_navframe.php';
-               }
                if ($this->returnUrl) {
                        $this->closeUrl = $this->returnUrl;
                }
index 2578fa2..e712d1f 100644 (file)
@@ -184,7 +184,6 @@ function debugObj(obj,name) {       //
 
 
        // Used by Frameset Modules
-var condensedMode = TYPO3.configuration.condensedMode;
 var currentSubScript = "";
 var currentSubNavScript = "";
 
index 2771ef3..26a1bb2 100644 (file)
@@ -307,7 +307,6 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
                // user-data for the modules
                'thumbnailsByDefault' => 1,
                'emailMeAtLogin' => 0,
-               'condensedMode' => 0,
                'noMenuMode' => 0,
                'startModule' => 'help_aboutmodules',
                'hideSubmoduleIcons' => 0,
index ca4c206..2cec88a 100644 (file)
@@ -245,7 +245,6 @@ var typoscriptWords = {
        'compensateFieldWidth': 'reserved',
        'compX': 'reserved',
        'compY': 'reserved',
-       'condensedMode': 'reserved',
        'conf': 'reserved',
        'constants': 'reserved',
        'content_from_pid_allowOutsideDomain': 'reserved',
@@ -1572,7 +1571,6 @@ var typoscriptWords = {
        'compensateFieldWidth': 'reserved',
        'compX': 'reserved',
        'compY': 'reserved',
-       'condensedMode': 'reserved',
        'conf': 'reserved',
        'constants': 'reserved',
        'content_from_pid_allowOutsideDomain': 'reserved',
index ead7bf2..54b601c 100644 (file)
@@ -225,7 +225,6 @@ class PreviewController extends \TYPO3\CMS\Workspaces\Controller\AbstractControl
                        'securityLevel' => $loginSecurityLevel,
                        'TYPO3_mainDir' => TYPO3_mainDir,
                        'pageModule' => $pageModule,
-                       'condensedMode' => $GLOBALS['BE_USER']->uc['condensedMode'] ? 1 : 0,
                        'inWorkspace' => $GLOBALS['BE_USER']->workspace !== 0 ? 1 : 0,
                        'workspaceFrontendPreviewEnabled' => $GLOBALS['BE_USER']->user['workspace_preview'] ? 1 : 0,
                        'veriCode' => $GLOBALS['BE_USER']->veriCode(),