home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 July
/
CMCD0703.ISO
/
Software
/
Freeware
/
Programare
/
bugzero
/
jsp
/
edit.jsp
< prev
next >
Wrap
Text File
|
2003-06-05
|
1KB
|
43 lines
<%@ page
import="com.websina.bean.*,com.websina.util.*,com.websina.util.log.Log"
%>
<html>
<head>
<title>Edit and View</title>
<script LANGUAGE="JavaScript" src="script/utils.js"></script>
<script LANGUAGE="JavaScript" src="script/attachment.js"></script>
</head>
<body topmargin=0>
<%@ include file="_cache.jspf" %>
<%@ include file="_header.jspf" %>
<%
String issueStr = request.getParameter("issueId");
int issueId = 0;
try {
issueId = StringUtil.toInt(issueStr);
} catch (NumberFormatException e) {
String msg = MessageCode.get("number.format_error_issue");
msg = StringUtil.replace(msg, "$THAT", issueStr);
out.print("<center><font color=red><b>");
out.print(msg);
out.print("</b></font></center>");
return;
}
if (!person.viewAllowed(issueId)) {
String msg = MessageCode.get("servlet.issue.permission_error");
out.print("<center><font color=red><b>");
out.print(msg);
out.print("</b></font></center>");
return;
}
%>
<%@ include file="_issueform.jspf" %>
<font size=+1><b><%=label.get("audit_trail", projectId)%></b></font> (<%=label.get("change_history", projectId)%>)
<hr>
<%@ include file="_trail.jspf" %>
</body></html>