Fixed bug #8014: Deactivated tabs in page-properties should be hidden
authorIngo Renner <ingo.renner@typo3.org>
Sat, 5 Apr 2008 12:50:19 +0000 (12:50 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sat, 5 Apr 2008 12:50:19 +0000 (12:50 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3534 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 7f86601..860e7b5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-05  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #8014: Deactivated tabs in page-properties should be hidden
+
 2008-04-04  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #7990: htmlArea RTE color picker has no scrollbar
index 80fd0a3..4eaf22b 100755 (executable)
@@ -657,12 +657,14 @@ class t3lib_TCEforms      {
                                if ($content) {
                                        // Wrap content (row) with table-tag, otherwise tab/sheet will be disabled (see getdynTabMenu() )
                                        $content = '<table border="0" cellspacing="0" cellpadding="0" width="100%">'.$content.'</table>';
-                               }
-                               $parts[$idx] = array(
-                                       'label' => $out_array_meta[$idx]['title'],
-                                       'content' => $content,
-                                       'newline' => $out_array_meta[$idx]['newline'],  // Newline for this tab/sheet
-                               );
+                                       $parts[$idx] = array(
+                                               'label' => $out_array_meta[$idx]['title'],
+                                               'content' => $content,
+                                               'newline' => $out_array_meta[$idx]['newline'],  // Newline for this tab/sheet
+                                       );
+                               } 
+                               
+                               
                        }
 
                        if (count($parts) > 1) {