#14190CSS_Styled_Content: TABLE should be more configurable
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] = ‘
‘.$this->cObj->stdWrap($cells[$a],$conf[‘innerStdWrap.’]).’
Class for the TR:
$rowAttribs = ($k>0 && ($rCount-1)==$k) ? ‘ class=”’.$oddEven.’ tr-last”’ : ‘ class=”’.$oddEven.’ tr-’.$k.’”’;
$rows[$k]=‘
Class for the TABLE:
$tableTagParams[‘class’] = ‘contenttable contenttable-’.$type;
This is with CSC 0.1.0.
(issue imported from #M131)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.