File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ include file="httpheader.jspf"
117
117
<label for =" sortby" >Sort by</label >
118
118
<%
119
119
{
120
- PageConfig cfg = PageConfig . get(request);
121
120
SearchHelper searchHelper = (SearchHelper ) request. getAttribute(SearchHelper . REQUEST_ATTR );
122
121
StringBuilder url = createUrl(request, searchHelper, true ). append(" &" ).
123
122
append(QueryParameters . SORT_PARAM_EQ );
@@ -149,7 +148,6 @@ include file="menu.jspf"
149
148
150
149
<div id =" results" > <%
151
150
{
152
- PageConfig cfg = PageConfig . get(request);
153
151
SearchHelper searchHelper = (SearchHelper ) request. getAttribute(SearchHelper . REQUEST_ATTR );
154
152
// TODO spellchecking cycle below is not that great and we only create
155
153
// suggest links for every token in query, not for a query as whole
@@ -171,7 +169,7 @@ include file="menu.jspf"
171
169
} else if (searchHelper. getHits(). length == 0 ) {
172
170
List<Suggestion > hints = searchHelper. getSuggestions();
173
171
for (Suggestion hint : hints) {
174
- % > <p class =" suggestions" ><font color = " #cc0000" >Did you mean (for <%= hint. getName() % > )</font >:<%
172
+ % > <p class =" suggestions" ><span style = " color : #cc0000 ; " >Did you mean (for <%= hint. getName() % > )</span >:<%
175
173
if (hint. getFreetext() != null ) {
176
174
for (String word : hint. getFreetext()) {
177
175
% > <a href =" search?<%= QueryParameters . FULL_SEARCH_PARAM_EQ % >
You can’t perform that action at this time.
0 commit comments