Project

General

Profile

Bug #16580 » class.tslib_pibase.php_pointerzero.patch

Administrator Admin, 2006-09-20 10:15

View differences:

typo3_src-4.0.2/typo3/sysext/cms/tslib/class.tslib_pibase.php 2006-09-20 10:15:38.000000000 +0200
if ($this->internal['dontLinkActivePage']) {
$links[] = $this->cObj->wrap($pageText,$wrapper['activeLinkWrap']);
} else {
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => ($a?$a:'')),$pi_isOnlyFields),$wrapper['activeLinkWrap']);
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => $a),$pi_isOnlyFields),$wrapper['activeLinkWrap']);
}
} else {
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => ($a?$a:'')),$pi_isOnlyFields),$wrapper['inactiveLinkWrap']);
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => $a),$pi_isOnlyFields),$wrapper['inactiveLinkWrap']);
}
}
if ($pointer<$totalPages-1 || $showFirstLast) {
(1-1/2)