Searched refs:rev2 (Results 1 – 4 of 4) sorted by relevance
/dokuwiki/inc/Ui/ |
H A D | Diff.php | 21 protected $rev2; // timestamp of newer revision variable in dokuwiki\\Ui\\Diff 54 * @param int $rev2 newer revision 57 public function compare($rev1, $rev2) argument 59 if ($rev2 < $rev1) [$rev1, $rev2] = [$rev2, $rev1]; 61 $this->rev2 = (int)$this->changelog->traceCurrentRevision($rev2); 100 $this->rev2 = $this->changelog->currentRevision(); 101 if ($this->rev2 < [all...] |
H A D | PageDiff.php | 103 // retrieve requested rev or rev2 120 if (!$INPUT->has('rev') && !$INPUT->has('rev2')) { 142 $changelogRev2 = $changelog->getRevisionInfo($this->rev2); 161 if ($this->rev2 === false) { 168 } elseif (!$this->rev1 || $this->rev1 == $this->rev2) { 187 // retrieve form parameters: rev, rev2, difftype 299 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')]; 306 $form->setHiddenField('rev2[0]', $rev1); 307 $form->setHiddenField('rev2[1]', $rev2); 494 diffViewlink($linktype, $rev1, $rev2 = null) global() argument [all...] |
H A D | MediaDiff.php | 63 // retrieve requested rev or rev2 84 $changelogRev2 = $changelog->getRevisionInfo($this->rev2); 131 // retrieve form parameters: rev, rev2, difftype 168 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')]; 181 $form->setHiddenField('rev2[0]', $rev1); 182 $form->setHiddenField('rev2[1]', $rev2); 198 $rev2 = $this->RevInfo2->isCurrent() ? '' : $this->RevInfo2->val('date'); 213 $rev2Src = ml($this->id, ['rev' => $rev2, 'h' => $rev1Size[1], 'w' => $rev1Size[0]]); 242 $rev2 [all...] |
/dokuwiki/inc/ChangeLog/ |
H A D | ChangeLog.php | 385 * Returns revisions around rev1 and rev2 389 * @param int $rev2 newest revision timestamp (0 looks up last revision) 391 * @return array with two arrays with revisions surrounding rev1 respectively rev2 393 public function getRevisionsAround($rev1, $rev2, $max = 50) 397 $rev2 = max($rev2, 0); 399 if ($rev2) { 400 if ($rev2 < $rev1) { 401 $rev = $rev2; 402 $rev2 383 getRevisionsAround($rev1, $rev2, $max = 50) global() argument [all...] |