history.jsp revision 66
0N/ASee LICENSE.txt included in this distribution for the specific
0N/Afile and include the License file at LICENSE.txt.
0N/Aident "@(#)history.jsp 1.1 05/11/11 SMI"
0N/A--%><%@ page import = "javax.servlet.*,
41N/Aif (path.length() > 0 && valid) {
0N/A Pattern bugPattern = Pattern.compile("\\b([12456789][0-9]{6})\\b");
50N/A HistoryReader hr = HistoryGuru.getInstance().getHistoryReader(f);
50N/A response.sendError(404, "No history");
50N/A<tr><td colspan="4"><span class="pagetitle">History log of <a href="<%= context +"/xref" + path %>"><%=path%></a></span></td></tr>
0N/A String rev = hr.getRevision();
0N/A if(hr.isActive()) {
0N/A%><td> <a name="<%=rev%>" href="<%= context +"/xref" + path + "?r=" + rev %>"><%=rev%></a> </td><td align="center"><input type="radio" name="r1" value="<%=rev%>"/>
0N/Aif(userPage != null && ! userPage.equals("")) {
0N/A %><%= hr.getAuthor() %><%
0N/A(bugPage != null && ! bugPage.equals("")) ?
0N/A bugPattern.matcher(Util.Htmlize(hr.getComment())).replaceAll("<a href=\"" + bugPage + "$1\">$1</a>")
50N/AList<String> files = hr.getFiles();
50N/A jfile = ifile.substring(1);
50N/A } else if (ifile.startsWith(path)) {
0N/A %><p><b>Note:</b> No associated file changes are available for revisions with strike-through numbers (eg. <strike>1.45</strike>)</p><%
0N/A %><p class="rssbadge"><a href="<%=context%>/rss<%=path%>"><img src="<%=context%>/img/rss.png" width="80" height="15" alt="RSS XML Feed" title="RSS XML Feed of latest changes"/></a></p><%