Bug #15378 » bug_2211.diff
t3lib/class.t3lib_recordlist.php (Arbeitskopie) | ||
---|---|---|
*/
|
||
function fwd_rwd_nav($table='') {
|
||
$code='';
|
||
if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber+$this->iLimit) {
|
||
if ($this->firstElementNumber && $this->eCounter==$this->firstElementNumber) {
|
||
// reverse
|
||
if ($this->eCounter >= $this->firstElementNumber && (!$this->iLimit || $this->eCounter < $this->firstElementNumber+$this->iLimit)) {
|
||
if ($this->firstElementNumber && $this->eCounter==$this->firstElementNumber) {
|
||
// reverse
|
||
$theData = Array();
|
||
$titleCol=$this->fieldArray[0];
|
||
$titleCol = $this->fieldArray[0];
|
||
$theData[$titleCol] = $this->fwd_rwd_HTML('fwd',$this->eCounter,$table);
|
||
$code=$this->addElement(1,'',$theData);
|
||
$code = $this->addElement(1,'',$theData);
|
||
}
|
||
return Array(1,$code);
|
||
} else {
|
||
if ($this->eCounter==$this->firstElementNumber+$this->iLimit) {
|
||
// forward
|
||
if ($this->eCounter==$this->firstElementNumber+$this->iLimit) {
|
||
// forward
|
||
$theData = Array();
|
||
$titleCol=$this->fieldArray[0];
|
||
$titleCol = $this->fieldArray[0];
|
||
$theData[$titleCol] = $this->fwd_rwd_HTML('rwd',$this->eCounter,$table);
|
||
$code=$this->addElement(1,'',$theData);
|
||
$code = $this->addElement(1,'',$theData);
|
||
}
|
||
return Array(0,$code);
|
||
}
|
||
}
|
||
/**
|
typo3/class.db_list.inc (Arbeitskopie) | ||
---|---|---|
}
|
||
}
|
||
// Unset 'LIMIT' in case of request of CSV-Output
|
||
if ($this->csvOutput) {
|
||
$this->iLimit = 0; // no limit
|
||
}
|
||
// Set LIMIT:
|
||
$limit = $this->iLimit ? ($this->firstElementNumber ? $this->firstElementNumber.',' : '').($this->iLimit+1) : '';
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »