Index: typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php =================================================================== --- typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (revision 5385) +++ typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (working copy) @@ -343,25 +343,30 @@ // Now, lets render the list! $tRows = array(); foreach($filesData as $key => $fileD) { + $rowContent = ''; // Setting class of table row for odd/even rows: $oddEven = $key%2 ? 'tr-odd' : 'tr-even'; + $rowWrap = $conf['rowWrap'] ? $conf['rowWrap'] : '|'; + + // Render row, based on the "layout" setting + if($type>0) { + $rowContent = $this->cObj->wrap($fileD['linkedFilenameParts'][0], $conf['iconWrap']); + } + + $fileInfo = $this->cObj->wrap($fileD['linkedFilenameParts'][1], $conf['fileNameWrap']); + + if($fileD['description']) { + $fileInfo .= $this->cObj->wrap(htmlspecialchars($fileD['description']), $conf['descriptionWrap']); + } + + $rowContent .= $this->cObj->wrap($fileInfo, $conf['colWrap']); + + if($this->cObj->data['filelink_size']) { + $rowContent .= $this->cObj->wrap($this->cObj->stdWrap($fileD['filesize'], $conf['filesize.']), $conf['fileSizeWrap']); + } + $tRows[] = $this->cObj->wrap($rowContent, $rowWrap); - // Render row, based on the "layout" setting - $tRows[]=' - '.($type>0 ? ' - - '.$fileD['linkedFilenameParts'][0].' - ' : '').' - -

'.$fileD['linkedFilenameParts'][1].'

'. - ($fileD['description'] ? ' -

'.htmlspecialchars($fileD['description']).'

' : '').' - '.($this->cObj->data['filelink_size'] ? ' - -

' . $this->cObj->stdWrap($fileD['filesize'], $conf['filesize.']) . '

- ' : '').' - '; } // Table tag params. @@ -370,10 +375,8 @@ // Compile it all into table tags: - $out = ' - - '.implode('',$tRows).' -
'; + $outerWrap = $conf['outerWrap'] ? $conf['outerWrap'] : '|
'; + $out = $this->cObj->wrap(implode('',$tRows),$outerWrap);; } // Calling stdWrap: Index: typo3/sysext/css_styled_content/static/v4.2/setup.txt =================================================================== --- typo3/sysext/css_styled_content/static/v4.2/setup.txt (revision 5385) +++ typo3/sysext/css_styled_content/static/v4.2/setup.txt (working copy) @@ -670,6 +670,14 @@ 20 = USER 20.userFunc = tx_cssstyledcontent_pi1->render_uploads 20.field = media + + 20 { + colWrap = | + fileNameWrap =

|

+ fileSizeWrap = | + iconWrap = | + descriptionWrap =

|

+ } 20.color { default = Index: typo3/sysext/css_styled_content/static/v3.9/setup.txt =================================================================== --- typo3/sysext/css_styled_content/static/v3.9/setup.txt (revision 5385) +++ typo3/sysext/css_styled_content/static/v3.9/setup.txt (working copy) @@ -654,6 +654,14 @@ 20 = USER 20.userFunc = tx_cssstyledcontent_pi1->render_uploads 20.field = media + + 20 { + colWrap = | + fileNameWrap =

|

+ fileSizeWrap = | + iconWrap = | + descriptionWrap =

|

+ } 20.color { default = Index: typo3/sysext/css_styled_content/static/v3.8/setup.txt =================================================================== --- typo3/sysext/css_styled_content/static/v3.8/setup.txt (revision 5385) +++ typo3/sysext/css_styled_content/static/v3.8/setup.txt (working copy) @@ -563,6 +563,14 @@ 20.userFunc = tx_cssstyledcontent_pi1->render_uploads 20.field = media + 20 { + colWrap = | + fileNameWrap =

|

+ fileSizeWrap = | + iconWrap = | + descriptionWrap =

|

+ } + 20.color { default = 1 = #EDEBF1 Index: typo3/sysext/css_styled_content/static/setup.txt =================================================================== --- typo3/sysext/css_styled_content/static/setup.txt (revision 5385) +++ typo3/sysext/css_styled_content/static/setup.txt (working copy) @@ -736,6 +736,14 @@ 20 = USER 20.userFunc = tx_cssstyledcontent_pi1->render_uploads 20.field = media + + 20 { + colWrap = | + fileNameWrap =

|

+ fileSizeWrap = | + iconWrap = | + descriptionWrap =

|

+ } 20.color { default =