[BUGFIX] Different button behaviour Page module views 19/28219/3
authorPatrick Broens <patrick@patrickbroens.nl>
Mon, 10 Mar 2014 12:40:22 +0000 (13:40 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 12 Mar 2014 08:54:14 +0000 (09:54 +0100)
In the Page module the button behaviour for adding new content elements
"Add a new record at this place" is different in the "columns" and
"languages" view.

The columns view shows the all buttons in a column when hovering over this
column, the languages view will show one button when hovering over this
hidden button. A backend user needs to know where the button is.

The languages view should have the same behaviour as the columns view.

Change-Id: Ia1b98de5b8622c7586bd03e7769ba4aa39121e38
Resolves: #56722
Releases: 6.2, 6.1
Related: #56720
Reviewed-on: https://review.typo3.org/28219
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/backend/Classes/View/PageLayoutView.php

index 30de7f8..c9d1183 100644 (file)
@@ -624,8 +624,8 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                foreach ($languageColumn as $cKey => $cCont) {
                                        $out .= '
                                        <tr>
-                                               <td valign="top" class="t3-gridCell t3-page-lang-column"">' . implode(('</td>' . '
-                                               <td valign="top" class="t3-gridCell t3-page-lang-column">'), $cCont) . '</td>
+                                               <td valign="top" class="t3-gridCell t3-page-column t3-page-lang-column">' . implode(('</td>' . '
+                                               <td valign="top" class="t3-gridCell t3-page-column t3-page-lang-column">'), $cCont) . '</td>
                                        </tr>';
                                        if ($this->defLangBinding) {
                                                // "defLangBinding" mode