Index: typo3/sysext/t3skin/stylesheets/typo3-db-list-php.css =================================================================== --- typo3/sysext/t3skin/stylesheets/typo3-db-list-php.css (Revision 3513) +++ typo3/sysext/t3skin/stylesheets/typo3-db-list-php.css (Arbeitskopie) @@ -18,15 +18,15 @@ background-color: #EFEFF4; } -table.typo3-dblist td.c-headLineTable, -table.typo3-page-stdlist td.c-headLineTable { +table.typo3-dblist tr.c-headLineTable td, +table.typo3-page-stdlist tr.c-headLineTable td { background-color: #B8BEC9; background-image: url('../icons/gfx/alt_menu_mainitem_bg.gif'); background-repeat: repeat-x; } -table.typo3-dblist td.c-headLineTable a, -table.typo3-page-stdlist td.c-headLineTable a { +table.typo3-dblist tr.c-headLineTable td a, +table.typo3-page-stdlist tr.c-headLineTable td a { font-weight: bold; color: #FFFFFF; } @@ -40,8 +40,8 @@ background-repeat: repeat-x; } -table.typo3-dblist td.c-table-row-spacer, -table.typo3-page-stdlist td.c-table-row-spacer { +table.typo3-dblist tr.c-table-row-spacer td, +table.typo3-page-stdlist tr.c-table-row-spacer td{ display: none; } @@ -64,3 +64,20 @@ margin: 1px 1px 1px 10px; float: right; } + +/* editpn start */ +table.typo3-dblist tr td.col-icon { + /* border: 1px solid red; */ + width: 30px; +} + +table.typo3-dblist tr td.col-_CLIPBOARD_ { + /* border: 1px solid red; */ + width: 60px; + text-align: left; +} + +table.typo3-dblist tr td.col-3 { + /* border: 1px solid red; */ + width: 220px; +} Index: typo3/class.db_list_extra.inc =================================================================== --- typo3/class.db_list_extra.inc (Revision 3513) +++ typo3/class.db_list_extra.inc (Arbeitskopie) @@ -277,7 +277,19 @@ // Cleaning rowlist for duplicates and place the $titleCol as the first column always! $this->fieldArray=array(); + // Do Clipboard first + if ($this->showClipboard) { + $this->fieldArray[] = '_CLIPBOARD_'; + } + // title Column $this->fieldArray[] = $titleCol; // Add title column + + // Control-Panel + if (!t3lib_div::inList($rowlist,'_CONTROL_')) { + $this->fieldArray[] = '_CONTROL_'; + } + + // Localization if ($this->localizationView && $l10nEnabled) { $this->fieldArray[] = '_LOCALIZATION_'; $this->fieldArray[] = '_LOCALIZATION_b'; @@ -287,15 +299,7 @@ '.$TCA[$table]['ctrl']['transOrigPointerField'].' = 0 )'; } - if (!t3lib_div::inList($rowlist,'_CONTROL_')) { - $this->fieldArray[] = '_CONTROL_'; - } - if ($this->showClipboard) { - $this->fieldArray[] = '_CLIPBOARD_'; - } - if (!$this->dontShowClipControlPanels) { - $this->fieldArray[]='_REF_'; - } + if ($this->searchLevels) { $this->fieldArray[]='_PATH_'; } @@ -307,7 +311,10 @@ unset($tempArray['_CLIPBOARD_']); $this->fieldArray = array_keys($tempArray); } - + + if (!$this->dontShowClipControlPanels) { + $this->fieldArray[]='_REF_'; + } // Creating the list of fields to include in the SQL query: $selectFields = $this->fieldArray; $selectFields[] = 'uid'; Index: t3lib/class.t3lib_recordlist.php =================================================================== --- t3lib/class.t3lib_recordlist.php (Revision 3513) +++ t3lib/class.t3lib_recordlist.php (Arbeitskopie) @@ -120,17 +120,17 @@ * @param string $altLine is the HTML -tag for an alternative 'gfx/ol/line.gif'-icon (used in the top) * @return string HTML content for the table row */ - function addElement($h,$icon,$data,$tdParams='',$lMargin='',$altLine='') { + function addElement($h,$icon,$data,$trParams='',$lMargin='',$altLine='',$tdParams='') { $noWrap = ($this->no_noWrap) ? '' : ' nowrap="nowrap"'; // Start up: $out=' - '; + '; // Show icon and lines if ($this->showIcon) { $out.=' - '; + '; if (!$h) { # $out.='backPath,'gfx/ol/halfline.gif','width="18" height="8"').' alt="" />'; @@ -162,10 +162,17 @@ while(list(,$vKey)=each($this->fieldArray)) { if (isset($data[$vKey])) { if ($lastKey) { + if ($lastKey[0]=='_') { + $CSSClass=$lastKey; + } + else { + $CSSClass=($ccount+1); + } $out.=' addElement_tdParams[$lastKey]. '>'.$data[$lastKey].'';