<!DOCTYPE html>
<html lang="en">
<head>
  <title><%cat_full_name%>: Permission Denied</title>
  <%include include_common_head.html%>
</head>

<%~set content_header_title = 'Permission Denied'%>

<body class="page-<%page_id%>">
  <div class="container-b">
    <%include include_header.html%>

    <div class="main">
      <%~set content_header_title = $user_username%>

      <%~init array breadcrumbs%><%init hash breadcrumbs.0%>
      <%~set breadcrumbs.0.name = "Permission Denied!"%>

      <div class="contentwrapper clearfix">
        <div class="sidebar">
            <%include include_sidebar.html%>
        </div>

        <%include include_breadcrumb.html%>

        <div class="content"><%-- start content--%>
          <%include include_content_header.html%>

          <p class="error">Oops! You are not authorized to view that page<%if permission_denied_reason%>:<%else%>.<%endif%></p>

          <%~if permission_denied_reason%>
            <p id="denied_reason">
              <%permission_denied_reason%>
            </p>
          <%~endif%>

        </div><%-- end content --%>
      </div>

    </div>
    <%include include_footer.html%>
  </div>

</body>
<%~include include_global_js.html%>
</html>
