Home
last modified time | relevance | path

Searched refs:rev1 (Results 1 – 3 of 3) sorted by path

/dokuwiki/inc/ChangeLog/
H A DChangeLog.php325 * @param int $rev1 oldest revision timestamp
330 public function getRevisionsAround($rev1, $rev2, $max = 50) argument
333 $rev1 = max($rev1, 0);
337 if ($rev2 < $rev1) {
339 $rev2 = $rev1;
340 $rev1 = $rev;
353 $index = array_search($rev1, $allrevs);
356 list($revs1, , , , ,) = $this->retrieveRevisionsAround($rev1, $max);
/dokuwiki/inc/Ui/
H A DDiff.php71 $rev1 = $REV;
75 $rev1 = (int) $rev2[0];
78 if (!$rev1) {
79 $rev1 = $rev2;
103 if ($rev1 && isset($rev2) && $rev2) { // two specific revisions wanted
105 if ($rev1 < $rev2) {
106 $l_rev = $rev1;
110 $r_rev = $rev1;
112 } elseif ($rev1) { // single revision given, compare to current
114 $l_rev = $rev1;
/dokuwiki/inc/
H A Dmedia.php1244 $rev1 = $INPUT->int('rev');
1248 $rev1 = (int) $rev2[0];
1251 if(!$rev1){
1252 $rev1 = $rev2;
1259 if ($rev1 && !file_exists(mediaFN($image, $rev1))) $rev1 = false;
1262 if($rev1 && $rev2){ // two specific revisions wanted
1264 if($rev1 < $rev2){
1265 $l_rev = $rev1;
1269 $r_rev = $rev1;
1271 }elseif($rev1){ // single revision given, compare to current
[all …]