';
// create the form to select difftype
$form = new Form(['action' => wl()]);
$form->setHiddenField('id', $this->id);
$form->setHiddenField('rev2[0]', $l_rev);
$form->setHiddenField('rev2[1]', $r_rev);
$form->setHiddenField('do', 'diff');
$options = array(
'sidebyside' => $lang['diff_side'],
'inline' => $lang['diff_inline']
);
$input = $form->addDropdown('difftype', $options, $lang['diff_type'])
->val($difftype)->addClass('quickselect');
$input->useInput(false); // inhibit prefillInput() during toHTML() process
$form->addButton('do[diff]', 'Go')->attr('type','submit');
print $form->toHTML();
print '
';
// link to exactly this view FS#2835
print $this->diffViewlink('difflink', $l_rev, ($r_rev ?: $INFO['currentrev']));
print '
';
print '
'; // .diffoptions
}
/*
* Display diff view table
*/
print '