From f2853ab04982e57ada088fff6014947a0805e639 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 11 Sep 2008 23:19:34 +0000 Subject: [PATCH] [MRM-943] only show "search within results" on the results page, and improve the surrounding text Merged from: r694533 on trunk git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@694535 13f79535-47bb-0310-9956-ffa450edef68 --- .../WEB-INF/jsp/include/quickSearchForm.jspf | 40 ------------------- .../main/webapp/WEB-INF/jsp/quickSearch.jsp | 25 +++++++++++- .../src/main/webapp/WEB-INF/jsp/results.jsp | 15 ++++++- 3 files changed, 37 insertions(+), 43 deletions(-) delete mode 100644 archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/quickSearchForm.jspf diff --git a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/quickSearchForm.jspf b/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/quickSearchForm.jspf deleted file mode 100644 index 14693aa87..000000000 --- a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/include/quickSearchForm.jspf +++ /dev/null @@ -1,40 +0,0 @@ -<%-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --%> - -<%@ taglib prefix="ww" uri="/webwork" %> - - \ No newline at end of file diff --git a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp b/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp index 690ea4f25..537bc6c84 100644 --- a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp +++ b/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp @@ -33,8 +33,29 @@

Search

- <%@ include file="/WEB-INF/jsp/include/quickSearchForm.jspf" %> + +

+ Enter your search terms. A variety of data will be searched for your keywords.
+ To search for Java classes, packages or methods, use the keyword bytecode: + before the term. For example: + bytecode:MyClass, or: + bytecode:myMethod +

+
- \ No newline at end of file + diff --git a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp b/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp index 8d490bae9..889fa75dd 100644 --- a/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp +++ b/archiva-1.1.x/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/results.jsp @@ -39,7 +39,20 @@

Results

-- 2.39.5