<% List results = data.getResults(); %> <% if (results!=null) { %> <% if (rdat.useHTMLComments()) { %><% } %> <% // Determine the number of results to display and whether to display a "next" button int dcount = results.size(); boolean go_next = false; if (dcount>data.getMaxResults()) { // there's a "next" dcount = data.getMaxResults(); go_next = true; } // end if %>
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,3) %> <%-- The initial search results --%> Search Results <% if (data.getFindCount()>0) { %> (Displaying <%= data.getOffset() + 1 %>-<%= data.getOffset() + dcount %> of <%= data.getFindCount() %>) <% } else { %>(None)<% } %> | <% if (go_next || (data.getOffset()>0)) { %> <%-- The navigational form that allows us to page through the results --%> <% if (rdat.useHTMLComments()) { %><% } %> <% } else { %> <% } %> |
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Post Link | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Author | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Post Date | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>Lines | |
---|---|---|---|---|
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> "><%= post.getIdentifier() %> | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> "><%= post.getAuthor() %> | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> <%= rdat.formatDateForDisplay(post.getPostDate()) %> | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> <%= post.getLineCount() %> | <%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %> <%= StringUtil.encodeHTML(post.getText()) %> |