Author: bbrossaud Date: 2010-06-02 17:51:02 +0200 (Wed, 02 Jun 2010) New Revision: 61 Url: http://chorem.org/repositories/revision/bow/61 Log: added footer in openSearchResult.jsp Modified: trunk/src/main/webapp/openSearchResult.jsp Modified: trunk/src/main/webapp/openSearchResult.jsp =================================================================== --- trunk/src/main/webapp/openSearchResult.jsp 2010-06-02 15:17:28 UTC (rev 60) +++ trunk/src/main/webapp/openSearchResult.jsp 2010-06-02 15:51:02 UTC (rev 61) @@ -1,10 +1,8 @@ <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import="org.chorem.bow.Bookmark" %> <%@page import="org.chorem.bow.BookmarkActions" %> -<%@page import="java.util.HashMap" %> <%@page import="java.text.SimpleDateFormat" %> <%@page import="java.util.Iterator" %> -<%@page import="java.util.Map" %> <%@page import="java.util.Set" %> <%@page import="java.util.ArrayList" %> <%@page import="java.util.List" %> @@ -12,11 +10,13 @@ <% BookmarkActions bookmarkActions = (BookmarkActions) request.getAttribute("bookmarkActions"); - String searchLine = ""; if (bookmarkActions != null) { - searchLine = bookmarkActions.getSearchLine(); - } - String url = (String) request.getAttribute("bowUrl"); + String searchLine = ""; + if (bookmarkActions != null) { + searchLine = bookmarkActions.getSearchLine(); + } + String version = (String) request.getAttribute("version"); + String url = (String) request.getAttribute("bowUrl"); %> <html> @@ -27,8 +27,8 @@ <h1 class="result">Results</h1> <% if (bookmarkActions != null) { - List<Bookmark> bookmarkList = bookmarkActions.getBookmarks(); - if (!bookmarkList.isEmpty()) { + List<Bookmark> bookmarkList = bookmarkActions.getBookmarks(); + if (!bookmarkList.isEmpty()) { %> <table class="result"> <tr class="result"> @@ -99,16 +99,12 @@ %> <h2 class="result">No Bookmarks found</h2> <% } - } + } %> - <div class="Index" id="footer"> - <a shape="rect" href="<%=url%>">bow</a> - <a shape="rect" href="http://www.chorem.org/projects/list_files/bow"></a> - - <a shape="rect" href="http://www.gnu.org/licenses/agpl.html">Licence AGPL</a> - - <span title="Copyright">©2009-2010</span> - <a shape="rect" href="http://www.codelutin.com">Code Lutin</a> - - <a shape="rect" href="http://www.chorem.org/projects/bow/issues">Rapport de bug</a> - - <a shape="rect" href="http://list.chorem.org/cgi-bin/mailman/listinfo/bow-users">Support utilisateur</a> - </div> + <jsp:include page="footer.jsp" flush="true" > + <jsp:param name="bowUrl" value="<%=url%>" /> + <jsp:param name="version" value="<%=version%>" /> + </jsp:include> </body> -</html> \ No newline at end of file +</html> +<%}%> \ No newline at end of file
participants (1)
-
bbrossaud@users.chorem.org