[CLEANUP] Remove unused code from old backend 62/33162/3
authorBenjamin Mack <benni@typo3.org>
Sat, 4 Oct 2014 12:24:12 +0000 (14:24 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 4 Oct 2014 13:34:38 +0000 (15:34 +0200)
Prior to TYPO3 CMS 4.5 there were still some
variables which are not used anymore since then.

The menuReset() function does not exist anymore
as well as the CSS class "navFrameHL".

Releases: master
Resolves: #62033
Change-Id: Ie7bda9d4e3d6f2090548d133768543236112b2cb
Reviewed-on: http://review.typo3.org/33162
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/visual/_element_tree.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3kin.css
typo3/sysext/t3skin/ext_tables.php

index 864c8a3..97807dc 100644 (file)
@@ -1146,8 +1146,7 @@ function jumpToUrl(URL) {
         * @todo Define visibility
         */
        public function docBodyTagBegin() {
-               $bodyContent = 'body onclick="if (top.menuReset) top.menuReset();" ' . trim(($this->bodyTagAdditions . ($this->bodyTagId ? ' id="' . $this->bodyTagId . '"' : '')));
-               return '<' . trim($bodyContent) . '>';
+               return '<body ' . trim(($this->bodyTagAdditions . ($this->bodyTagId ? ' id="' . $this->bodyTagId . '"' : ''))) . '>';
        }
 
        /**
index 5f1ee31..7c95d01 100644 (file)
@@ -46,14 +46,6 @@ body#typo3-alt-db-navframe-php div.c-notice {
        border: 1px solid black;
 }
 
-.navFrameHL {
-       background-color: #d7dbe2;
-}
-
-.navFrameHL a {
-       font-weight: bold;
-}
-
 table#typo3-tree tr:hover {
        background-color: #d7dbe2;
 }
index 708eb94..1808227 100644 (file)
@@ -11760,12 +11760,6 @@ table#typo3-tree a {
 body#typo3-alt-db-navframe-php div.c-notice {
   border: 1px solid black;
 }
-.navFrameHL {
-  background-color: #d7dbe2;
-}
-.navFrameHL a {
-  font-weight: bold;
-}
 table#typo3-tree tr:hover {
   background-color: #d7dbe2;
 }
index ce15d17..4807434 100644 (file)
@@ -28,8 +28,7 @@ if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
                // light tablerow background, greenish
                'bgColor6' => '#E6E9EB',
                // light tablerow background, yellowish, for section headers. Light.
-               'hoverColor' => '#FF0000',
-               'navFrameHL' => '#F8F9FB'
+               'hoverColor' => '#FF0000'
        );
        $TBE_STYLES['colorschemes'][0] = '-|class-main1,-|class-main2,-|class-main3,-|class-main4,-|class-main5';
        $TBE_STYLES['colorschemes'][1] = '-|class-main11,-|class-main12,-|class-main13,-|class-main14,-|class-main15';