[BUGFIX] Css: change typo3-listOptions from id to class 50/42150/3
authorJosef Glatz <jousch@gmail.com>
Thu, 30 Jul 2015 21:17:34 +0000 (23:17 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 6 Aug 2015 09:22:38 +0000 (11:22 +0200)
The id must change to class since they are used
multiple times on one page.

Change-Id: Ic4eb03f894595ebdb170185a06c79d77da4edbae
Releases: master
Resolves: #68655
Reviewed-on: http://review.typo3.org/42150
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Build/Resources/Public/Less/TYPO3/structure/_module_web_list.less
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/recordlist/Classes/RecordList.php
typo3/sysext/t3skin/Resources/Public/Css/backend.css
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php

index ea1d542..2f57b40 100644 (file)
@@ -107,7 +107,7 @@ input.smallCheckboxes {
        width: 12px;
 }
 
-div#typo3-listOptions {
+div.typo3-listOptions {
        margin: 0 0 24px 0;
 }
 
@@ -156,4 +156,4 @@ div#typo3-listOptions {
                        margin: 0.5em 0;
                }
        }
-}
\ No newline at end of file
+}
index dc858b9..5383a5d 100644 (file)
@@ -402,7 +402,7 @@ class FileListController {
                                        <!--
                                                Listing options for extended view, clipboard and thumbnails
                                        -->
-                                       <div id="typo3-listOptions">
+                                       <div class="typo3-listOptions">
                                ';
                                // Add "display bigControlPanel" checkbox:
                                if ($backendUser->getTSConfigVal('options.file_list.enableDisplayBigControlPanel') === 'selectable') {
index 8d83631..3eade47 100644 (file)
@@ -475,7 +475,7 @@ class RecordList {
                                        <!--
                                                Listing options for extended view, clipboard and localization view
                                        -->
-                                       <div id="typo3-listOptions">
+                                       <div class="typo3-listOptions">
                                                <form action="" method="post">';
 
                        // Add "display bigControlPanel" checkbox:
index 26eaf75..187d449 100644 (file)
@@ -13644,7 +13644,7 @@ input.smallCheckboxes {
   vertical-align: middle;
   width: 12px;
 }
-div#typo3-listOptions {
+div.typo3-listOptions {
   margin: 0 0 24px 0;
 }
 .t3-list-table-header-icon-down {
index 69cb63a..8d66b10 100644 (file)
@@ -479,7 +479,7 @@ class TypoScriptTemplateObjectBrowserModuleFunctionController extends AbstractFu
                        $theOutput .= '</div>';
 
                        // second row options
-                       $menu = '<div id="typo3-listOptions">';
+                       $menu = '<div class="typo3-listOptions">';
                        $menu .= '<div class="checkbox"><label for="checkTs_browser_showComments">' . BackendUtility::getFuncCheck($this->pObj->id, 'SET[ts_browser_showComments]', $this->pObj->MOD_SETTINGS['ts_browser_showComments'], '', '', 'id="checkTs_browser_showComments"');
                        $menu .= $lang->getLL('displayComments') . '</label></div>';
                        $menu .= '<div class="checkbox"><label for="checkTs_browser_alphaSort">' . BackendUtility::getFuncCheck($this->pObj->id, 'SET[ts_browser_alphaSort]', $this->pObj->MOD_SETTINGS['ts_browser_alphaSort'], '', '', 'id="checkTs_browser_alphaSort"');
@@ -502,7 +502,7 @@ class TypoScriptTemplateObjectBrowserModuleFunctionController extends AbstractFu
                                        $out .= '<input class="checkbox" type="checkbox" name="conditions[' . $key . ']" id="check' . $key . '" value="' . htmlspecialchars($val) . '"' . ($this->pObj->MOD_SETTINGS['tsbrowser_conditions'][$key] ? ' checked' : '') . ' />' . $templateService->substituteCMarkers(htmlspecialchars($val));
                                        $out .= '</label></div>';
                                }
-                               $theOutput .=  '<div id="typo3-listOptions">' . $out . '</div><input class="btn btn-default" type="submit" name="Submit" value="' . $lang->getLL('setConditions') . '" />';
+                               $theOutput .=  '<div class="typo3-listOptions">' . $out . '</div><input class="btn btn-default" type="submit" name="Submit" value="' . $lang->getLL('setConditions') . '" />';
                        }
                        // Ending section:
                        $theOutput .= $this->pObj->doc->sectionEnd();