Lines Matching defs:l_rev

93             $l_rev = '';
106 $l_rev = $rev1;
109 $l_rev = $rev2;
114 $l_rev = $rev1;
118 $l_rev = $revs[0];
119 $REV = $l_rev; // store revision back in $REV
123 if (!$l_rev && !$r_rev) {
126 $l_text = rawWiki($ID, $l_rev);
131 $l_rev, $r_rev, null, false, ($this->difftype == 'inline')
141 list($l_nav, $r_nav) = $this->diffNavigation($pagelog, $l_rev, $r_rev);
167 $form->setHiddenField('rev2[0]', $l_rev);
182 print $this->diffViewlink('difflink', $l_rev, ($r_rev ?: $INFO['currentrev']));
238 * @param string $l_rev Left revisions
245 public function diffHead($l_rev, $r_rev, $id = null, $media = false, $inline = false)
262 if (!$l_rev) {
265 $l_info = $changelog->getRevisionInfo($l_rev);
276 $l_head_title = ($media) ? dformat($l_rev) : $id.' ['.dformat($l_rev).']';
277 $l_head = '<bdi><a class="wikilink1" href="'.$ml_or_wl($id,"rev=$l_rev").'">'
322 * @param int $l_rev left revision timestamp
326 protected function diffNavigation($pagelog, $l_rev, $r_rev)
341 list($l_revs, $r_revs) = $pagelog->getRevisionsAround($l_rev, $r_rev);
343 if (!$l_rev) {
366 if ($rev <= $l_rev) $r_revisions[$rev]['attrs']['disabled'] = 'disabled';
370 $l_index = array_search($l_rev, $l_revs);
402 $input = $form->addDropdown('rev2[0]', $l_revisions)->val($l_rev)->addClass('quickselect');
416 if ($l_rev < $r_prev) {
417 $r_nav .= $this->diffViewlink('diffprevrev', $l_rev, $r_prev);
422 $form->setHiddenField('rev2[0]', $l_rev);
433 $r_nav .= $this->diffViewlink('difflastrev', $l_rev);
435 $r_nav .= $this->diffViewlink('diffnextrev', $l_rev, $r_next);