[TASK] Drop "Show field descriptions" in quick edit 58/40658/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 25 Jun 2015 21:03:37 +0000 (23:03 +0200)
committerFrank Nägler <frank.naegler@typo3.org>
Fri, 26 Jun 2015 09:38:03 +0000 (11:38 +0200)
Page module in "quick edit" mode shows a happy little
checkbox at the bottom "Show field descriptions".
This doesn't do anything for quite some time already
and is dropped now. Poor checkbox ;)

Change-Id: Ia24f944d924bee5f2abec773b67652595010a7b6
Resolves: #67759
Releases: master
Reviewed-on: http://review.typo3.org/40658
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/lang/locallang_core.xlf

index 9c502c4..757ceb5 100644 (file)
@@ -345,7 +345,6 @@ class PageLayoutController {
                // MENU-ITEMS:
                $this->MOD_MENU = array(
                        'tt_content_showHidden' => '',
-                       'showDescriptions' => '',
                        'function' => array(
                                0 => $lang->getLL('m_function_0'),
                                1 => $lang->getLL('m_function_1'),
@@ -918,14 +917,6 @@ class PageLayoutController {
                        '</label>' .
                        '</div>';
 
-               if (ExtensionManagementUtility::isLoaded('context_help')) {
-                       $h_func_b .= '<div class="checkbox">' .
-                               '<label for="checkShowDescriptions">' .
-                               BackendUtility::getFuncCheck($this->id, 'SET[showDescriptions]', $this->MOD_SETTINGS['showDescriptions'], '', '', 'id="checkShowDescriptions"') .
-                               $lang->sL('LLL:EXT:lang/locallang_core.xlf:labels.showDescriptions', TRUE) .
-                               '</label>' .
-                               '</div>';
-               }
                // Add the function menus to bottom:
                $content .= $this->doc->section('', $h_func_b, 0, 0);
                $content .= $this->doc->spacer(10);
index 2a6a0f4..bef2e6e 100644 (file)
@@ -894,20 +894,18 @@ class FormEngine {
         * Construct runtime environment for Inline Relational Record Editing.
         * - creates an anonymous \TYPO3\CMS\Backend\Controller\EditDocumentController in $GLOBALS['SOBE']
         * - sets $this to $GLOBALS['SOBE']->tceforms
-        * -
+        *
         * @return void
         */
        protected function setUpRuntimeEnvironmentForAjaxRequests() {
                $this->getLanguageService()->includeLLFile('EXT:lang/locallang_alt_doc.xlf');
                // Create a new anonymous object:
                $GLOBALS['SOBE'] = new \stdClass();
-               $GLOBALS['SOBE']->MOD_MENU = array(
-                       'showDescriptions' => '',
-               );
+               $GLOBALS['SOBE']->MOD_MENU = array();
                // Setting virtual document name
                $GLOBALS['SOBE']->MCONF['name'] = 'xMOD_alt_doc.php';
                // CLEANSE SETTINGS
-               $GLOBALS['SOBE']->MOD_SETTINGS = BackendUtility::getModuleData($GLOBALS['SOBE']->MOD_MENU, GeneralUtility::_GP('SET'), $GLOBALS['SOBE']->MCONF['name']);
+               $GLOBALS['SOBE']->MOD_SETTINGS = array();
                // Create an instance of the document template object
                // @todo: resolve clash getDocumentTemplate() / getControllerDocumenttemplate()
                $GLOBALS['SOBE']->doc = GeneralUtility::makeInstance(DocumentTemplate::class);
index 488ad47..f4844c8 100644 (file)
@@ -89,8 +89,9 @@ Do you want to continue WITHOUT saving?</source>
                                <source>Show secondary options (palettes)</source>
                                <note from="developer">This label is deprecated (not used anymore) since CMS 7</note>
                        </trans-unit>
-                       <trans-unit id="labels.showDescriptions">
+                       <trans-unit id="labels.showDescriptions" deprecated="Unused since CMS 7">
                                <source>Show field descriptions</source>
+                               <note from="developer">This label is deprecated (not used anymore) since CMS 7</note>
                        </trans-unit>
                        <trans-unit id="labels.disableRTE">
                                <source>Disable Rich Text Editor (RTE)</source>