Bug #16852 » 20080109_css_styled_content.patch
typo3/sysext/css_styled_content/static/setup.txt (working copy) | ||
---|---|---|
[END]
|
||
# new IMAGE features with last row configuration
|
||
[compatVersion = 4.2.0]
|
||
plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE := appendString(
|
||
DIV.csc-textpic DIV.csc-textpic-imagerow-last { margin-bottom: 0; }
|
||
)
|
||
tt_content.image.20.rendering {
|
||
dl.imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"> | </div>
|
||
ul.imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"><ul> | </ul></div>
|
||
div.imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"> | </div>
|
||
}
|
||
[END]
|
||
|
||
# TYPO3 CVS ID: $Id$
|
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (working copy) | ||
---|---|---|
$allRows .= $thisImage;
|
||
}
|
||
$GLOBALS['TSFE']->register['columnwidth'] = $maxImageSpace + $tmpColspacing;
|
||
if ($separateRows && ($colPos == ($colCount-1) || $i+1==count($imgsTag))) {
|
||
// Close this row at the end (colCount), or the last row at the final end
|
||
if ($separateRows && ($i+1 == count($imgsTag))) {
|
||
// Close the very last row with either normal configuration or lastRow stdWrap
|
||
$allRows .= $this->cObj->stdWrap($thisRow, (is_array($conf['imageLastRowStdWrap.']) ? $conf['imageLastRowStdWrap.'] : $conf['imageRowStdWrap.']));
|
||
} elseif ($separateRows && $colPos == $colCount-1) {
|
||
$allRows .= $this->cObj->stdWrap($thisRow, $conf['imageRowStdWrap.']);
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- Next »