%@ page import="org.crosswire.xml.XMLRepo"%> <%@ page import="org.crosswire.community.data.User"%> <%@ page import="org.crosswire.community.data.Project"%> <% String root = session.getServletContext().getContextPath(); XMLRepo repo = XMLRepo.instance(pageContext); User user = (User)session.getAttribute("user"); Project project = (Project)repo.get(new Project("ntmss"), false); %>
Home | <% if (user != null) { %>My Documents | <% } if (user != null && project.isManager(user)) { %>Manage Permissions | <% } %>