<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<%@ taglib uri="jiratags" prefix="jira" %>
<webwork:if test="remoteUser == null">
<html>
<head>
	<title><webwork:text name="'login.required.title'"/></title>
</head>
<body>
	<table cellpadding=1 cellspacing=0 border=0 align=center width=80% bgcolor=cc0000><tr><td>
	<table cellpadding=4 cellspacing=0 border=0 width=100% bgcolor=ffffff><tr><td>
		<font color="cc0000"><b><webwork:text name="'login.required.desc1'"/></b></font>
		<p>
            <webwork:text name="'login.required.desc2'">
                <webwork:param name="'value0'"><jira:loginlink><webwork:text name="'login.required.login'"/></jira:loginlink></webwork:param>
            </webwork:text>
            <webwork:if test="/applicationProperties/option('jira.option.user.externalpasswordmanagement') == false">
            <webwork:if test="extUserManagement != true">
                <webwork:text name="'login.required.desc3'">
                    <webwork:param name="'value0'"><a href="<%= request.getContextPath() %>/secure/Signup!default.jspa"></webwork:param>
                    <webwork:param name="'value1'"></a></webwork:param>
                </webwork:text>
            </webwork:if></webwork:if>.
		</p>
		<p>
        <webwork:text name="'contact.admin.for.perm'">
            <webwork:param name="'value0'"><a href="<%= request.getContextPath() %>/secure/Administrators.jspa"></webwork:param>
            <webwork:param name="'value1'"></a></webwork:param>
        </webwork:text>
		</p>
	</td></tr></table>
	</td></tr></table>
</webwork:if>
<webwork:else>
<html>
<head>
	<title><webwork:text name="'perm.violation.title'"/></title>
</head>
<body>
	<table cellpadding=1 cellspacing=0 border=0 align=center width=80% bgcolor=cc0000><tr><td>
	<table cellpadding=4 cellspacing=0 border=0 width=100% bgcolor=ffcccc><tr><td>
		<font color="cc0000"><b><webwork:text name="'error'"/></b></font>
		<p>
		<webwork:text name="'perm.violation.desc'"/>
		</p>
		<p>
		<webwork:text name="'contact.admin.for.perm'">
            <webwork:param name="'value0'"><a href="<%= request.getContextPath() %>/secure/Administrators.jspa"></webwork:param>
            <webwork:param name="'value1'"></a></webwork:param>
        </webwork:text>
		</p>
	</td></tr></table>
	</td></tr></table>

</webwork:else>
    <webwork:if test="issueObjectNoSecurityCheck">
        <webwork:property value="issueObjectNoSecurityCheck">
        <%@ include file="/includes/trackback_rdf_min.jsp"%>
        </webwork:property>
    </webwork:if>
</body>
</html>
