<%@ page import="java.text.SimpleDateFormat" %> <%@ page import="org.crosswire.xml.XMLRepo"%> <%@ page import="org.crosswire.xml.XMLObject"%> <%@ page import="org.crosswire.community.data.Project"%> <%@ page import="org.crosswire.community.data.User"%> <% String _root = session.getServletContext().getContextPath(); String _action = (String)request.getParameter("action"); User _user = (User)session.getAttribute("user"); String pid = request.getParameter("pid"); if (pid == null) return; XMLRepo repo = XMLRepo.instance(pageContext); Project project = (Project)repo.get(new Project(pid)); if (project == null) return; if (_user == null || !project.isManager(_user)) { out.print(""); return; } %> Community @ CrossWire Bible Society
<% Project.Permission[] perms = project.getPermissions(); User[] users = project.getMembers(); for (Project.Permission perm : perms) { %> <% } %> <% for (User u : users) { %> <% for (Project.Permission perm : perms) { %> <% } %> <% } %>
<%= perm.getPermissionName() %>
<%=u.getID()%><%=u.getFullName()==null?"":u.getFullName()%>