[BUGFIX] Language module: Fix docheader
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 31 Aug 2012 11:48:28 +0000 (13:48 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 31 Aug 2012 11:59:03 +0000 (13:59 +0200)
Some id / class mixups break display of doc header in
language handling module.

Change-Id: I3af3c6cf63b2c456bbd3476b7b4e12c80eecb908
Fixes: #40476
Releases: 6.0
Reviewed-on: http://review.typo3.org/14240
Reviewed-by: Kai Vogel
Tested-by: Kai Vogel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/beuser/Resources/Private/Layouts/Default.html
typo3/sysext/lang/Resources/Private/Layouts/Default.html [new file with mode: 0644]
typo3/sysext/lang/Resources/Private/Layouts/DocHeader.html [deleted file]
typo3/sysext/lang/Resources/Private/Templates/Language/Index.html

index c7acc6c..2cbd1e2 100755 (executable)
@@ -28,7 +28,6 @@
                                <f:flashMessages renderMode="div" />
 
                                <f:render section="content" />
-
                        </div>
                </div>
        </div>
diff --git a/typo3/sysext/lang/Resources/Private/Layouts/Default.html b/typo3/sysext/lang/Resources/Private/Layouts/Default.html
new file mode 100644 (file)
index 0000000..7ec8d1a
--- /dev/null
@@ -0,0 +1,28 @@
+<f:be.container loadExtJs="1">
+       <div class="typo3-fullDoc">
+
+               <div id="typo3-docheader">
+                       <div class="typo3-docheader-functions">
+                               <div class="left">
+                                       <f:be.buttons.csh />
+                               </div>
+                               <div class="right">
+                               </div>
+                       </div>
+                       <div class="typo3-docheader-buttons">
+                               <div class="left">
+                               </div>
+                               <div class="right">
+                                       <f:be.buttons.shortcut />
+                               </div>
+                       </div>
+               </div>
+
+               <div id="typo3-docbody">
+                       <div id="typo3-inner-docbody">
+                               <f:render section="content" />
+                       </div>
+               </div>
+
+       </div>
+</f:be.container>
\ No newline at end of file
diff --git a/typo3/sysext/lang/Resources/Private/Layouts/DocHeader.html b/typo3/sysext/lang/Resources/Private/Layouts/DocHeader.html
deleted file mode 100644 (file)
index 4a1da71..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<f:be.container loadExtJs="1">
-       <div class="typo3-fullDoc">
-               <div id="typo3-docheader">
-                       <div id="typo3-docheader-functions">&nbsp;</div>
-                       <div id="typo3-docheader-buttons">
-                               <div class="right">
-                                       <f:be.buttons.shortcut />
-                               </div>
-                       </div>
-               </div>
-
-               <div id="typo3-docbody">
-                       <div id="typo3-inner-docbody">
-                               <f:render section="Content" />
-                       </div>
-               </div>
-       </div>
-</f:be.container>
\ No newline at end of file
index f37f291..510f386 100644 (file)
@@ -1,6 +1,6 @@
-<f:layout name="DocHeader"/>
+<f:layout name="Default"/>
 
-<f:section name="Content">
+<f:section name="content">
        <f:flashMessages renderMode="div" />
 
        <!-- values needed to be replaced by javascript 415px, 401px, 390px 361px 337px -->