/etc/gforge/plugins/scmsvn/viewcvs/templates/include/diff_form.ezt is in fusionforge-plugin-scmsvn 5.3.2+20141104-3+deb8u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | <a name="diff"></a>
<hr noshade>
This form allows you to request diffs 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.
<p>
<form method="get" action="[diff_select_action]" name="diff_select">
[diff_select_hidden_values]
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td> </td>
<td>
Diffs between
[if-any tags]
<select name="r1">
<option value="text" selected>Use Text Field</option>
[for tags]
<option value="[tags.rev]:[tags.name]">[tags.name]</option>
[end]
</select>
[else]
<input type="hidden" name="r1" value="text" />
[end]
<input type="TEXT" size="12" name="tr1" value="[tr1]"
[if-any tags]onChange="document.diff_select.r1.selectedIndex=0"[end]>
and
[if-any tags]
<select name="r2">
<option value="text" selected>Use Text Field</option>
[for tags]
<option value="[tags.rev]:[tags.name]">[tags.name]</option>
[end]
</select>
[else]
<input type="hidden" name="r2" value="text" />
[end]
<input type="TEXT" size="12" name="tr2" value="[tr2]"
[if-any tags]onChange="document.diff_select.r1.selectedIndex=0"[end]>
</td>
</tr>
<tr>
<td><input type="checkbox" name="makepatch" id="makepatch" value="1" /></td>
<td><label for="makepatch">Generate output suitable for use with a patch
program</label></td>
</tr>
<tr>
<td> </td>
<td>
Type of Diff should be a
<select name="diff_format" onchange="submit()">
<option value="h" [is diff_format "h"]selected[end]>Colored Diff</option>
<option value="l" [is diff_format "l"]selected[end]>Long Colored Diff</option>
<option value="u" [is diff_format "u"]selected[end]>Unidiff</option>
<option value="c" [is diff_format "c"]selected[end]>Context Diff</option>
<option value="s" [is diff_format "s"]selected[end]>Side by Side</option>
</select>
<input type="submit" value=" Get Diffs "></form>
</td>
</tr>
</table>
|