<a name="diff"></a>
<br />
<table width="100%" cellspacing="0" cellpadding="4">
<tr class="diff-request"><td>
<?php echo lang("This form allows you to request diff's between any two ".
'revisions of a file.  You may select a symbolic revision '.
'name using the selection box or you may type in a numeric '.
'name using the type-in text box.') ?>
</td></tr>
<tr class="diff-request"><td>
<form method="POST" action="<?php echo $phpgw->link('/chora/diff.php','rt='.$rt.'&where=' . $where); ?>">
<?php echo generateHiddens() ?>
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td>
<?php echo lang('Retrieve diffs between') ?>:
</td>
<td>
<select name="r1">
  <option value="0" selected="selected"><?php echo lang('Use Text Field') ?></option>
  <?php echo $sel ?>
</select>
<input type="text" size="12" name="tr1" value="<?php echo $diffValueLeft ?>" />
</td>
<td><?php echo lang('Type') ?>:</td>
<td>
<select name="f">
 <option value="h" selected="selected"><?php echo lang('Human Readable') ?></option>
 <option value="u"><?php echo lang('Unified') ?></option>
 <option value="c"><?php echo lang('Context') ?></option>
 <option value="s"><?php echo lang('Side-by-Side') ?></option>
 <option value="e"><?php echo lang('Ed Script') ?></option>
</select> &nbsp;
</td>
</tr>
<tr>
<td><?php echo lang('and') ?>:</td>
<td>
<select name="r2">
  <option value="0" selected="selected"><?php echo lang('Use Text Field') ?></option>
  <?php echo $sel ?>
</select>
<input type="text" size="12" name="tr2" value="<?php echo $diffValueRight ?>" />
</td>
<td>&nbsp;</td>
<td><input class="button" type="submit" value="<?php echo lang('Get Diffs') ?>" /></td>
</tr>
</table>
</form>
</td></tr>
<tr class="diff-request"><td>
<form method="POST" action="<?php echo $phpgw->link('/chora/cvs.php','rt='.$rt.'&where=' . $where) ?>">
<?php echo generateHiddens() ?>
<table cellspacing="0" cellpadding="1" border="0">
<tr><td><?php echo lang('View revisions on') ?>:</td>
<td>
<select name="onb">
  <option value="0" <?php if (!isset($onb) || !$onb) echo ' selected="selected"' ?>><?php echo lang('All Branches') ?></option>
  <?php echo $selAllBranches ?>
</select> &nbsp;
<input class="button" type="submit" value="<?php echo lang('View Branch') ?>" />
</td></tr>
</table>
</form>
</td></tr>
</table>
