This file is indexed.

/etc/viewvc/templates/query_form.ezt is in viewvc 1.1.26-1.

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
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[# setup page definitions]
  [define page_title]Query on /[where][end]
  [define help_href][docroot]/help_rootview.html[end]
[# end]

[include "include/header.ezt" "query"]

<p><a href="[dir_href]">
<img src="[docroot]/images/dir.png" class="vc_icon" alt="Directory" />
Browse Directory</a></p>

<form action="[query_action]" method="get">

<div class="vc_query_form">
  [for query_hidden_values]<input type="hidden" name="[query_hidden_values.name]" value="[query_hidden_values.value]"/>[end]
<table cellspacing="0" cellpadding="5" class="auto">
  [is roottype "cvs"]
  [# For subversion, the branch field is not used ]
  <tr>
    <th style="text-align:right;vertical-align:top;">Branch:</th>
    <td>
      <input type="text" name="branch" value="[branch]" /><br />
      <label for="branch_match_exact">
        <input type="radio" name="branch_match" id="branch_match_exact"
           value="exact" [is branch_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="branch_match_glob">
        <input type="radio" name="branch_match" id="branch_match_glob"
           value="glob" [is branch_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="branch_match_regex">
        <input type="radio" name="branch_match" id="branch_match_regex"
           value="regex" [is branch_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="branch_match_notregex">
        <input type="radio" name="branch_match" id="branch_match_notregex"
           value="notregex" [is branch_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  [end]
  <tr>
    <th style="text-align:right;vertical-align:top;">Subdirectory:</th>
    <td>
      <input type="text" name="dir" value="[dir]" /><br />
      (you can list multiple directories separated by commas)
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">File:</th>
    <td>
      <input type="text" name="file" value="[file]" /><br />
      <label for="file_match_exact">
        <input type="radio" name="file_match" id="file_match_exact"
           value="exact" [is file_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="file_match_glob">
        <input type="radio" name="file_match" id="file_match_glob"
           value="glob" [is file_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="file_match_regex">
        <input type="radio" name="file_match" id="file_match_regex"
           value="regex" [is file_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="file_match_notregex">
        <input type="radio" name="file_match" id="file_match_notregex"
           value="notregex" [is file_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Who:</th>
    <td>
      <input type="text" name="who" value="[who]" /><br />
      <label for="who_match_exact">
        <input type="radio" name="who_match" id="who_match_exact"
           value="exact" [is who_match "exact"]checked="checked"[end] />
        Exact match
      </label>
      <label for="who_match_glob">
        <input type="radio" name="who_match" id="who_match_glob"
           value="glob" [is who_match "glob"]checked="checked"[end] />
        Glob pattern match
      </label>
      <label for="who_match_regex">
        <input type="radio" name="who_match" id="who_match_regex"
           value="regex" [is who_match "regex"]checked="checked"[end] />
        Regex match
      </label>
      <label for="who_match_notregex">
        <input type="radio" name="who_match" id="who_match_notregex"
           value="notregex" [is who_match "notregex"]checked="checked"[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Comment:</th>
    <td>
      <input type="text" name="comment" value="[comment]" /><br />
      <label for="comment_match_exact">
        <input type="radio" name="comment_match" id="comment_match_exact"
           value="exact" [is comment_match "exact"]checked=""[end] />
        Exact match
      </label>
      <label for="comment_match_glob">
        <input type="radio" name="comment_match" id="comment_match_glob"
           value="glob" [is comment_match "glob"]checked=""[end] />
        Glob pattern match
      </label>
      <label for="comment_match_regex">
        <input type="radio" name="comment_match" id="comment_match_regex"
           value="regex" [is comment_match "regex"]checked=""[end] />
        Regex match
      </label>
      <label for="comment_match_notregex">
        <input type="radio" name="comment_match" id="comment_match_notregex"
           value="notregex" [is comment_match "notregex"]checked=""[end] />
        Regex doesn't match
      </label>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Sort By:</th>
    <td>
      <select name="querysort">
        <option value="date" [is querysort "date"]selected="selected"[end]>Date</option>
        <option value="author" [is querysort "author"]selected="selected"[end]>Author</option>
        <option value="file" [is querysort "file"]selected="selected"[end]>File</option>
      </select>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Date:</th>
    <td>
      <table cellspacing="0" cellpadding="0">
        <tr>
          <td><input type="radio" name="date" id="date_hours"
                 value="hours" [is date "hours"]checked="checked"[end] /></td>
          <td>
            <label for="date_hours">In the last</label>
            <input type="text" name="hours" value="[hours]" size="4" />
            hours
          </td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_day"
                 value="day" [is date "day"]checked="checked"[end] /></td>
          <td><label for="date_day">In the last day</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_week"
                 value="week" [is date "week"]checked="checked"[end] /></td>
          <td><label for="date_week">In the last week</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_month"
                 value="month" [is date "month"]checked="checked"[end] /></td>
          <td><label for="date_month">In the last month</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_all"
                 value="all" [is date "all"]checked="checked"[end] /></td>
          <td><label for="date_all">Since the beginning of time</label></td>
        </tr>
        <tr>
          <td><input type="radio" name="date" id="date_explicit"
                 value="explicit" [is date "explicit"]checked="checked"[end] /></td>
          <td>
            <label for="date_explicit">Between</label>
            <input type="text" name="mindate" value="[mindate]" size="20" />
            and
            <input type="text" name="maxdate" value="[maxdate]" size="20" />
            <br />
            (use the form <strong>yyyy-mm-dd hh:mm:ss</strong>)
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <th style="text-align:right;vertical-align:top;">Limit:</th>
    <td>
      Show at most
      <input type="text" name="limit_changes" value="[limit_changes]" size="5" />
      changed files per commit.<br />
      (use 0 to show all files)
    </td>
  </tr>
  <tr>
    <td></td>
    <td><input type="submit" value="Search" /></td>
  </tr>
</table>
</div>

</form>

[include "include/footer.ezt"]