[TASK] Remove 'Hide: Yes' from hidden CEs
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 20 Sep 2012 18:36:38 +0000 (20:36 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 22 Sep 2012 18:15:17 +0000 (20:15 +0200)
Hidden content elements in page module are
grayed out and got a different icon, no need for an
additional "Hide: yes" at the bottom

Change-Id: I96ff27566fc63ac1e29f83278617172471dba739
Resolves: #41132
Releases: 6.0
Reviewed-on: http://review.typo3.org/14788
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/backend/Classes/View/PageLayoutView.php

index 49954c4..2515a3f 100644 (file)
@@ -1069,7 +1069,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                $content = '';
                // Get processed values:
                $info = array();
-               $this->getProcessedValue('tt_content', 'hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter', $row, $info);
+               $this->getProcessedValue('tt_content', 'starttime,endtime,fe_group,spaceBefore,spaceAfter', $row, $info);
                // Display info from records fields:
                if (count($info)) {
                        $content = '<div class="t3-page-ce-info">
@@ -1913,4 +1913,4 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
 }
 
 
-?>
\ No newline at end of file
+?>