Project

General

Profile

Bug #18537 » 7986_justify_list_table.diff

Administrator Admin, 2008-04-02 12:02

View differences:

t3lib/class.t3lib_recordlist.php (working copy)
<tr>';
// Show icon and lines
if ($this->showIcon) {
$out.='
<td nowrap="nowrap"'.$tdParams.'>';
if (strpos($tdParams,'class="')>0) {
$out.='
<td nowrap="nowrap"'.str_replace('class="','class="iconCol ',$tdParams).'>';
} else {
$out.='
<td nowrap="nowrap"'.$tdParams.' class="iconCol">';
}
if (!$h) {
# $out.='<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/halfline.gif','width="18" height="8"').' alt="" />';
$out.='<img src="clear.gif" width="1" height="8" alt="" />';
......
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_recordlist.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_recordlist.php']);
}
?>
?>
typo3/class.db_list_extra.inc (working copy)
if ($this->csvOutput) {
$this->addToCSV($row,$table);
}
// Add classes to table cells
$this->addElement_tdParams[$titleCol] = 'class="titleCol"';
$this->addElement_tdParams['_CONTROL_'] = 'class="controlCol"';
$this->addElement_tdParams['_PATH_'] = 'class="pathCol"';
$this->addElement_tdParams['_CLIPBOARD_'] = 'class="clipCol"';
$this->addElement_tdParams['_LOCALIZATION_'] = 'class="localCol"';
$this->addElement_tdParams['_LOCALIZATION_b'] = 'class="localbCol"';
// Create element in table cells:
$iOut.=$this->addelement(1,$theIcon,$theData,$row_bgColor);
......
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.db_list_extra.inc']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/class.db_list_extra.inc']);
}
?>
?>
typo3/stylesheet.css (working copy)
table.typo3-dblist tr td div.typo3-clipCtrl img,
table.typo3-dblist tr td div.typo3-DBctrl img {
margin-left: 1px;
margin-right: 1px;
margin-left: 1px;
margin-right: 1px;
}
table.typo3-dblist tr td.iconCol {
width: 20px;
}
table.typo3-dblist tr td.titleCol {
width: 250px;
}
table.typo3-dblist tr td.clipCol {
width: 120px;
}
table.typo3-dblist tr td.controlCol {
width: 250px;
}
table.typo3-dblist tr:hover,
table.typo3-dblist tr:hover td.db_list_alt {
background-color: #ebebeb;
(3-3/13)