Project

General

Profile

Actions

Bug #14190

closed

CSS_Styled_Content: TABLE should be more configurable

Added by Oliver Klee over 20 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2004-06-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In class.tx_cssstyledcontent_pi1.php, function render_table(), many things are hardcoded that should be configurable instead:

Class of TD and the content wrapping (currently P):

$cellAttribs = ($a>0 && ($cols-1)==$a) ? ' class="td-last"' : ' class="td-'.$a.'"';
$newCells[$a] = '
<td'.$cellAttribs.'><p>'.$this->cObj->stdWrap($cells[$a],$conf['innerStdWrap.']).'</p></td>';

Class for the TR:

$rowAttribs = ($k>0 && ($rCount-1)==$k) ? ' class="'.$oddEven.' tr-last"' : ' class="'.$oddEven.' tr-'.$k.'"';
$rows[$k]='
<tr'.$rowAttribs.'>'.implode('',$newCells).'

Class for the TABLE:

$tableTagParams['class'] = 'contenttable contenttable-'.$type;

This is with CSC 0.1.0.
(issue imported from #M131)


Files

bug_0131_2.patch (4.49 KB) bug_0131_2.patch Administrator Admin, 2005-11-11 19:00

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14738: hardcoded <p> tags inside table celsClosedSebastian Kurfuerst2005-05-15

Actions
Actions

Also available in: Atom PDF