Skip to content

Commit 7e31512

Browse files
ahornaceVladimir Kotal
authored andcommitted
Fix labels for search inputs
1 parent 9672651 commit 7e31512

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web/menu.jspf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,38 +162,38 @@ org.opensolaris.opengrok.web.Util"
162162
%>
163163
<tbody>
164164
<tr>
165-
<td><label for="s1" title="The text token(s) or other fields to be found (lucene query, this is not full text!)">Full&nbsp;Search</label></td>
165+
<td><label for="q" title="The text token(s) or other fields to be found (lucene query, this is not full text!)">Full&nbsp;Search</label></td>
166166
<td colspan="2"><input tabindex="1" class="q" name="q" id="q" type="text" value="<%=
167167
Util.formQuoteEscape(queryParams.getFreetext()) %>"/></td>
168168
</tr>
169169
<tr>
170-
<td><label for="s2" title="Definition of function/variable/class">Definition</label></td>
170+
<td><label for="defs" title="Definition of function/variable/class">Definition</label></td>
171171
<td colspan="2"><input class="q" tabindex="2" name="defs" id="defs" type="text" value="<%=
172172
Util.formQuoteEscape(queryParams.getDefs()) %>"/></td>
173173
</tr>
174174
<tr>
175-
<td><label for="s3" title="Usage of function/variable/class">Symbol</label></td>
175+
<td><label for="refs" title="Usage of function/variable/class">Symbol</label></td>
176176
<td colspan="2"><input class="q" tabindex="3" name="refs" id="refs" type="text" value="<%=
177177
Util.formQuoteEscape(queryParams.getRefs()) %>"/></td>
178178
</tr>
179179
<tr>
180-
<td><label for="s4" title="path or parts of it, no need to use dividers">File&nbsp;Path</label></td>
180+
<td><label for="path" title="path or parts of it, no need to use dividers">File&nbsp;Path</label></td>
181181
<td colspan="2"><input class="q" tabindex="4" name="path" id="path" type="text" value="<%=
182182
Util.formQuoteEscape(queryParams.getPath()) %>"/></td>
183183
</tr>
184184
<%
185185
if (cfg.getEnv().isHistoryEnabled()) {
186186
%>
187187
<tr>
188-
<td><label for="s5" title="Search in log messages">History</label></td>
188+
<td><label for="hist" title="Search in log messages">History</label></td>
189189
<td colspan="2"><input class="q" tabindex="5" name="hist" id="hist" type="text" value="<%=
190190
Util.formQuoteEscape(queryParams.getHist()) %>"/></td>
191191
</tr>
192192
<%
193193
}
194194
%>
195195
<tr>
196-
<td id="typeLabelTd"><label for="s5">Type</label></td>
196+
<td id="typeLabelTd"><label for="type">Type</label></td>
197197
<td><select class="q" tabindex="6" name="type" id="type"><%
198198
String selection = queryParams.getType();
199199
%>

0 commit comments

Comments
 (0)