Project

General

Profile

Bug #20002 ยป fe_page_browser.patch

Administrator Admin, 2009-02-12 11:28

View differences:

E:\www\a_typo3\typo3_src-4.2.5\typo3\sysext\cms\tslib\class.tslib_pibase.php 2009-01-24 17:30:00.000000000 +-0200
var $altLLkey=''; // Pointer to alternative fall-back language to use.
var $LLtestPrefix=''; // You can set this during development to some value that makes it easy for you to spot all labels that ARe delivered by the getLL function.
var $LLtestPrefixAlt=''; // Save as LLtestPrefix, but additional prefix for the alternative value in getLL() function calls
var $pi_isOnlyFields = 'mode,pointer';
var $pi_alwaysPrev = 0;
var $pi_alwaysNext = 0;
var $pi_lowerThan = 5;
var $pi_moreParams='';
var $pi_listFields='*';
var $pi_autoCacheFields=array();
var $pi_autoCacheEn=0;
......
// if this is set, two links named "<< First" and "LAST >>" will be shown and point to the very first or last page.
$showFirstLast = $this->internal['showFirstLast'];
// if this has a value the "previous" button is always visible (will be forced if "showFirstLast" is set)
$alwaysPrev = $showFirstLast?1:$this->pi_alwaysPrev;
$alwaysNext = $this->pi_alwaysNext;
if (isset($this->internal['pagefloat'])) {
if (strtoupper($this->internal['pagefloat']) == 'CENTER') {
$pagefloat = ceil(($maxPages - 1)/2);
} else {
// pagefloat set as integer. 0 = left, value >= $this->internal['maxPages'] = right
......
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => ($a?$a:'')),$pi_isOnlyFields),$wrapper['activeLinkWrap']);
}
} else {
$links[] = $this->cObj->wrap($this->pi_linkTP_keepPIvars($pageText,array($pointerName => ($a?$a:'')),$pi_isOnlyFields),$wrapper['inactiveLinkWrap']);
}
}
if ($pointer<$totalPages-1 || $showFirstLast || $alwaysNext) {
if ($pointer<$totalPages-1 || $showFirstLast) {
if ($pointer==$totalPages-1) { // Link to next page
$links[]=$this->cObj->wrap($this->pi_getLL('pi_list_browseresults_next','Next >',$hscText),$wrapper['disabledLinkWrap']);
} else {
$links[]=$this->cObj->wrap($this->pi_linkTP_keepPIvars($this->pi_getLL('pi_list_browseresults_next','Next >',$hscText),array($pointerName => $pointer+1),$pi_isOnlyFields),$wrapper['inactiveLinkWrap']);
}
}
    (1-1/1)