anchor.diff:  <%@ page contentType="text/html;charset=UTF-8" %>
   
   <%@ page import="java.util.Map" %>
  +<%@ page import="java.io.IOException" %>
  +<%@ page import="java.sql.SQLException" %>
   <%@ page import="org.dspace.content.Community" %>
   <%@ page import="org.dspace.content.Collection" %>
   <%@ page import="org.dspace.app.webui.servlet.admin.EditCommunitiesServlet" %>
  
positive.code:     Map subcommunityMap = (Map) request.getAttribute("subcommunities.map");
      Boolean admin_b = (Boolean)request.getAttribute("admin_button");
      boolean admin_button = (admin_b == null ? false : admin_b.booleanValue());
  %>
  
  <dspace:layout title="Communities and Collections">
  
negative.code: <%
      }
  %>
      <UL>
  <%
      if (showAll)
      {
          setContext(out, request);
          for (int i = 0; i < communities.length; i++)
          {
              showCommunity(communities[i]);
          }
       }
       else
       {
          for (int i = 0; i < communities.length; i++)
          {
  %>		
              <LI class="communityLink">
              <%-- HACK: <strong> tags here for broken Netscape 4.x CSS support --%>
              <strong><A HREF="<%= request.getContextPath() %>/handle/<%= communities[i].getHandle() %>"><%= communities[i].getMetadata("name") %></A></strong>
  	    <UL>
  <%
              // Get the collections in this community from the map
              Collection[] cols = (Collection[]) collectionMap.get(
                  new Integer(communities[i].getID()));
  
              for (int j = 0; j < cols.length; j++)
              {
  %>
                  <LI class="collectionListItem">
                  <A HREF="<%= request.getContextPath() %>/handle/<%= cols[j].getHandle() %>"><%= cols[j].getMetadata("name") %></A></LI>
  <%
              }
  %>
              </UL>
  	    <UL>
  <%
              // Get the sub-communities in this community from the map
              Community[] comms = (Community[]) subcommunityMap.get(
                  new Integer(communities[i].getID()));
  
              for (int k = 0; k < comms.length; k++)
              {
  %>
                  <LI class="communityLink">
                  <A HREF="<%= request.getContextPath() %>/handle/<%= comms[k].getHandle() %>"><%= comms[k].getMetadata("name") %></A></LI>
  <%
              }
  %>
              </UL>
              <BR>
          </LI>
  <%
          }
      }
  %>
      </UL>
  