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