Project

General

Profile

Bug #18537 » 7986_justify_list_table2.diff

Administrator Admin, 2008-04-02 16:09

View differences:

t3lib/class.t3lib_recordlist.php (working copy)
var $addElement_tdParams = array(); // Keys are fieldnames and values are td-parameters to add in addElement();
// Not used in this class - but maybe extension classes...
var $fixedL = 50; // Max length of strings
var $fixedL = 30; // Max length of strings
var $script = '';
var $thumbScript = 'thumbs.php';
var $setLMargin=1; // Set to zero, if you don't want a left-margin with addElement function
......
<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.inc (working copy)
$code = '<i>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</i> - '.htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$row),$GLOBALS['BE_USER']->uc['titleLen']));
} else {
$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));
if ($code!=htmlspecialchars($origCode)) {
$code = '<span title="'.htmlspecialchars($origCode).'">'.$code.'</span>';
}
}
switch((string)$this->clickTitleMode) {
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);
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;
......
*/
(5-5/13)