%@ page import="org.crosswire.xml.XMLRepo" %> <%@ page import="org.crosswire.community.data.User" %> <%@ page import="org.crosswire.community.data.Project" %> <% { User user = (User)session.getAttribute("user"); if (user == null || !"scribe".equals(user.getID())) return; String pid=request.getParameter("pid"); XMLRepo repo = XMLRepo.instance(pageContext); Project p = null; if (pid != null) { p = (Project)repo.get(new Project(pid)); } if (p == null) p = new Project(); String mp="projedit"; String mi="projedit_"+pid; %>