Bug #23591 » 15784.diff
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
} // In case of "noCols" we must set the table-tag that surrounds the images in the row.
|
||
}
|
||
for ($a = 0; $a < $rowCount_temp; $a++) { // Looping through the rows IF "noRows" is set. "noRows" means that the rows of images is not rendered by physical table rows but images are all in one column and spaced apart with clear-gifs. This loop is only one time if "noRows" is not set.
|
||
$imgIndex = $index + $a * $colCount_temp;
|
||
$GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgIndex; // register previous imgIndex
|
||
$imgIndex = $index + $a * $colCount_temp;
|
||
$GLOBALS['TSFE']->register['IMAGE_NUM_CURRENT'] = $imgIndex;
|
||
if ($imgsTag[$imgIndex]) {
|
||
if ($rowspacing && $noRows && $a) { // Puts distance between the images IF "noRows" is set and this is the first iteration of the loop
|
||
... | ... | |
// Strips profile information of image to save some space:
|
||
if (isset($configuration['stripProfile'])) {
|
||
if ($configuration['stripProfile']) {
|
||
$parameters = $gfxConf['im_stripProfileCommand'] . $parameters;
|
||
$gfxConf = $GLOBALS['TYPO3_CONF_VARS']['GFX'];
|
||
$parameters = (isset($gfxConf['im_stripProfileCommand']) ? $gfxConf['im_stripProfileCommand'] : '') . $parameters;
|
||
} else {
|
||
$parameters .= '###SkipStripProfile###';
|
||
}
|
||
... | ... | |
' AND doktype NOT IN (' . $this->checkPid_badDoktypeList . ')'
|
||
);
|
||
if ($error = $GLOBALS['TYPO3_DB']->sql_error()) {
|
||
$query = $GLOBALS['TYPO3_DB']->SELECTquery(
|
||
'uid',
|
||
'pages',
|
||
'uid IN (' . implode(',', $listArr) . ')' . $this->enableFields('pages') .
|
||
' AND doktype NOT IN (' . $this->checkPid_badDoktypeList . ')'
|
||
);
|
||
$GLOBALS['TT']->setTSlogMessage($error . ': ' . $query, 3);
|
||
} else {
|
||
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|