Project

General

Profile

Bug #18537 » 7986_I.diff

Administrator Admin, 2008-04-03 18:12

View differences:

typo3/sysext/t3skin/stylesheets/typo3-db-list-php.css (Arbeitskopie)
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;
}
......
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;
}
......
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;
}
typo3/class.db_list_extra.inc (Arbeitskopie)
// 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';
......
'.$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_';
}
......
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';
t3lib/class.t3lib_recordlist.php (Arbeitskopie)
* @param string $altLine is the HTML <img>-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='
<!-- Element, begin: -->
<tr>';
<tr '.$trParams.'>';
// Show icon and lines
if ($this->showIcon) {
$out.='
<td nowrap="nowrap"'.$tdParams.'>';
<td nowrap="nowrap" class="col-icon">';
if (!$h) {
# $out.='<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/halfline.gif','width="18" height="8"').' alt="" />';
......
while(list(,$vKey)=each($this->fieldArray)) {
if (isset($data[$vKey])) {
if ($lastKey) {
if ($lastKey[0]=='_') {
$CSSClass=$lastKey;
}
else {
$CSSClass=($ccount+1);
}
$out.='
<td'.
$noWrap.
$tdP[($ccount%2)].
//$tdP[($ccount%2)].
'class="col-' . $CSSClass . '"'.
$colsp.
$this->addElement_tdParams[$lastKey].
'>'.$data[$lastKey].'</td>';
(7-7/13)