[BUGFIX] Wrong label reference for backend_layout
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 14 May 2012 12:37:08 +0000 (14:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 16 May 2012 13:53:32 +0000 (15:53 +0200)
tbl_pages.php references non-existing labels.
Actually they have different names.

Change-Id: I0093979c18278238d0825e8033bdb2ed661c5e9d
Releases: 6.0, 4.7, 4.6, 4.5
Fixes: #37158
Reviewed-on: http://review.typo3.org/11196
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/stddb/tbl_pages.php

index e8f7241..2a63094 100644 (file)
@@ -727,7 +727,7 @@ $TCA['pages'] = array(
                ),
                'backend_layout' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout_formlabel',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'backend_layout',
@@ -744,7 +744,7 @@ $TCA['pages'] = array(
                ),
                'backend_layout_next_level' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout_next_level',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout_next_level_formlabel',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'backend_layout',
@@ -1100,4 +1100,4 @@ if (!t3lib_div::compat_version('4.2')) {
        ');
 }
 
-?>
\ No newline at end of file
+?>