Home
last modified time | relevance | path

Searched refs:rev2 (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/inc/Ui/
H A DDiff.php73 $rev2 = $INPUT->ref('rev2');
74 if (is_array($rev2)) {
75 $rev1 = (int) $rev2[0];
76 $rev2 = (int) $rev2[1];
79 $rev1 = $rev2;
80 unset($rev2);
83 $rev2 = $INPUT->int('rev2');
103 if ($rev1 && isset($rev2) && $rev2) { // two specific revisions wanted
105 if ($rev1 < $rev2) {
107 $r_rev = $rev2;
[all …]
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php326 * @param int $rev2 newest revision timestamp (0 looks up last revision)
330 public function getRevisionsAround($rev1, $rev2, $max = 50) argument
334 $rev2 = max($rev2, 0);
336 if ($rev2) {
337 if ($rev2 < $rev1) {
338 $rev = $rev2;
339 $rev2 = $rev1;
345 $rev2 = $revs[0];
348 … list($revs2, $allrevs, $fp, $lines, $head, $tail) = $this->retrieveRevisionsAround($rev2, $max);
/dokuwiki/inc/
H A Dmedia.php1246 $rev2 = $INPUT->ref('rev2');
1247 if(is_array($rev2)){
1248 $rev1 = (int) $rev2[0];
1249 $rev2 = (int) $rev2[1];
1252 $rev1 = $rev2;
1253 unset($rev2);
1256 $rev2 = $INPUT->int('rev2');
1260 if ($rev2 && !file_exists(mediaFN($image, $rev2))) $rev2 = false;
1264 if($rev1 < $rev2){
1266 $r_rev = $rev2;
[all …]