Lines Matching defs:rev1
123 $REV = $this->rev1; // store revision back in $REV
141 $changelogRev1 = $changelog->getRevisionInfo($this->rev1);
168 } elseif (!$this->rev1 || $this->rev1 == $this->rev2) {
299 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
306 $form->setHiddenField('rev2[0]', $rev1);
320 if ($rev1 && $rev2) {
322 $viewUrl = $this->diffViewlink('difflink', $rev1, $rev2);
348 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
350 // retrieve revisions used in dropdown selectors, even when rev1 or rev2 is false
352 ($rev1 ?: $changelog->currentRevision()),
362 if (($index = array_search($rev1, $revs1)) !== false) {
398 if ($rev2Prev && ($rev1 < $rev2Prev)) {
399 $rev2Navi .= $this->diffViewlink('diffprevrev', $rev1, $rev2Prev);
406 $rev2Navi .= $this->diffViewlink('difflastrev', $rev1, $rev2Next);
408 $rev2Navi .= $this->diffViewlink('diffnextrev', $rev1, $rev2Next);
429 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
453 || ($side == 'newer' && ($rev <= $rev1))
471 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
482 ->val($rev1)->addClass('quickselect');
486 $form->setHiddenField('rev2[0]', $rev1);
499 * @param int $rev1 older revision
503 protected function diffViewlink($linktype, $rev1, $rev2 = null)
506 if ($rev1 === false) return '';
511 'rev' => $rev1,
517 'rev2[0]' => $rev1,