Project

General

Profile

Bug #16852 » 20071011_css_styled_content.patch

Administrator Admin, 2007-10-11 18:08

View differences:

typo3conf/ext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php 2007-09-26 01:32:12.000000000 +0200
$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 this last row
$allRows .= $this->cObj->stdWrap($thisRow, $conf['imageLastRowStdWrap.']);
} else if ($separateRows && $colPos == $colCount-1) {
$allRows .= $this->cObj->stdWrap($thisRow, $conf['imageRowStdWrap.']);
}
}
......
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php']);
}
?>
?>
typo3conf/ext/css_styled_content/static/setup.txt 2007-09-21 22:08:51.000000000 +0200
rendering {
dl {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow" style="width:{register:rowwidth}px;"> | </div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"> | </div>
noRowsStdWrap.wrap =
oneImageStdWrap.dataWrap = <dl class="csc-textpic-image###CLASSES###" style="width:{register:imagespace}px;"> | </dl>
imgTagStdWrap.wrap = <dt> | </dt>
......
}
ul {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow" style="width:{register:rowwidth}px;"><ul> | </ul></div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"><ul> | </ul></div>
noRowsStdWrap.wrap = <ul> | </ul>
oneImageStdWrap.dataWrap = <li class="csc-textpic-image###CLASSES###" style="width:{register:imagespace}px;"> | </li>
imgTagStdWrap.wrap =
......
}
div {
imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow" style="width:{register:rowwidth}px;"> | </div>
imageLastRowStdWrap.dataWrap = <div class="csc-textpic-imagerow csc-textpic-imagerow-last" style="width:{register:rowwidth}px;"> | </div>
noRowsStdWrap.wrap =
oneImageStdWrap.dataWrap = <div class="csc-textpic-image###CLASSES###" style="width:{register:imagespace}px;"> | </div>
imgTagStdWrap.wrap = <div> | </div>
(1-1/2)