Follow up to #7986: removed borders from list view when not in extended view, credits...
authorIngo Renner <ingo.renner@typo3.org>
Tue, 15 Apr 2008 09:55:47 +0000 (09:55 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 15 Apr 2008 09:55:47 +0000 (09:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3564 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index 2008379..67ae77d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-15  Ingo Renner  <ingo@typo3.org>
+
+       * Follow up to #7986: removed borders from list view when not in extended view, credits Steffen Kamper
+
 2008-04-14  Ingo Renner  <ingo@typo3.org>
 
        * Fixed bug #7986: Vertical aligned Icons in List-Module, credits Peter Niederlag, Steffen Kamper, sponsored by snowflake productions
index 2c50991..8d5fff2 100755 (executable)
@@ -652,10 +652,12 @@ class localRecordList extends recordList {
 
                        // Add classes to table cells
                        $this->addElement_tdCssClass[$titleCol]         = 'col-title';
-                       $this->addElement_tdCssClass['_CONTROL_']       = 'col-control';
-                       $this->addElement_tdCssClass['_AFTERCONTROL_']  = 'col-control-space';
+                       if (!$this->dontShowClipControlPanels) {
+                               $this->addElement_tdCssClass['_CONTROL_']       = 'col-control';
+                               $this->addElement_tdCssClass['_AFTERCONTROL_']  = 'col-control-space';
+                               $this->addElement_tdCssClass['_CLIPBOARD_']     = 'col-clipboard';
+                       }
                        $this->addElement_tdCssClass['_PATH_']          = 'col-path';
-                       $this->addElement_tdCssClass['_CLIPBOARD_']     = 'col-clipboard';
                        $this->addElement_tdCssClass['_LOCALIZATION_']  = 'col-localizationa';
                        $this->addElement_tdCssClass['_LOCALIZATION_b'] = 'col-localizationb';