[TASK] Page module: Button (a.btn) for the plus sign 80/34480/6
authorFrank Nägler <typo3@naegler.net>
Sun, 23 Nov 2014 14:03:19 +0000 (15:03 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 9 Feb 2015 17:43:24 +0000 (18:43 +0100)
Resolves: #63203
Releases: master
Change-Id: Ide4b857b26b6232d7ab86e859310110d1b96576b
Reviewed-on: http://review.typo3.org/34480
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/View/PageLayoutView.php

index ce368a1..6c20954 100644 (file)
@@ -460,7 +460,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                                <div class="t3-page-ce-dropzone" id="colpos-' . $key . '-' . 'page-' . $id . '-' . uniqid('', TRUE) . '">
                                                        <div class="t3-page-ce-wrapper-new-ce">
                                                                <a href="#" onclick="' . htmlspecialchars($this->newContentElementOnClick($id, $key, $lP))
-                                                                       . '" title="' . $this->getLanguageService()->getLL('newRecordHere', TRUE) . '">'
+                                                                       . '" title="' . $this->getLanguageService()->getLL('newRecordHere', TRUE) . '" class="btn btn-default btn-sm">'
                                                                        . IconUtility::getSpriteIcon('actions-document-new') . '</a>
                                                        </div>
                                                </div>
@@ -527,7 +527,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                                                $singleElementHTML .= '
                                                                        <div class="t3-page-ce-wrapper-new-ce">
                                                                                <a href="#" onclick="' . htmlspecialchars($onClick) . '" title="'
-                                                                                       . $this->getLanguageService()->getLL('newRecordHere', TRUE) . '">'
+                                                                                       . $this->getLanguageService()->getLL('newRecordHere', TRUE) . '" class="btn btn-default btn-sm">'
                                                                                        . IconUtility::getSpriteIcon('actions-document-new') . '</a>
                                                                        </div>
                                                                ';