/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.69
 * Generated at: 2018-10-26 21:23:43 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.dspace.content.service.CollectionService;
import org.dspace.content.factory.ContentServiceFactory;
import org.dspace.content.service.CommunityService;
import org.apache.commons.lang.StringUtils;
import org.dspace.app.webui.components.RecentSubmissions;
import org.dspace.app.webui.servlet.admin.EditCommunitiesServlet;
import org.dspace.app.webui.util.UIUtil;
import org.dspace.browse.BrowseIndex;
import org.dspace.browse.ItemCounter;
import org.dspace.content.*;
import org.dspace.core.Utils;
import org.dspace.services.ConfigurationService;
import org.dspace.services.factory.DSpaceServicesFactory;
import javax.servlet.jsp.jstl.fmt.LocaleSupport;
import org.dspace.app.webui.servlet.MyDSpaceServlet;
import org.dspace.discovery.configuration.DiscoverySearchFilterFacet;
import java.util.HashMap;
import java.util.Set;
import java.util.Map;
import org.dspace.discovery.DiscoverResult.FacetResult;
import java.util.List;
import java.net.URLEncoder;
import org.apache.commons.lang.StringUtils;
import org.dspace.discovery.configuration.DiscoverySearchFilterFacet;
import org.dspace.discovery.configuration.TagCloudConfiguration;
import java.util.HashMap;
import java.util.Set;
import java.util.Map;
import java.util.List;
import org.dspace.discovery.DiscoverResult.FacetResult;
import org.dspace.discovery.configuration.DiscoverySearchFilterFacet;
import java.util.HashMap;
import java.util.Set;
import java.util.Map;
import org.dspace.discovery.DiscoverResult.FacetResult;
import java.util.List;
import java.net.URLEncoder;
import org.apache.commons.lang.StringUtils;

public final class community_002dhome_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(4);
    _jspx_dependants.put("/discovery/static-tagcloud-facet.jsp", Long.valueOf(1504816158000L));
    _jspx_dependants.put("/discovery/static-sidebar-facet.jsp", Long.valueOf(1504816158000L));
    _jspx_dependants.put("/WEB-INF/fmt.tld", Long.valueOf(1504816158000L));
    _jspx_dependants.put("/WEB-INF/dspace-tags.tld", Long.valueOf(1504816158000L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fdspace_005fsidebar;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fparam;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fdspace_005fsidebar = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fparam = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData.release();
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.release();
    _005fjspx_005ftagPool_005fdspace_005fsidebar.release();
    _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage.release();
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey.release();
    _005fjspx_005ftagPool_005ffmt_005fparam.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write('\n');
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");

    // Retrieve attributes
    Community community = (Community) request.getAttribute( "community" );
    List<Collection> collections =
        (List<Collection>) request.getAttribute("collections");
    List<Community> subcommunities =
        (List<Community>) request.getAttribute("subcommunities");
    
    RecentSubmissions rs = (RecentSubmissions) request.getAttribute("recently.submitted");
    
    Boolean editor_b = (Boolean)request.getAttribute("editor_button");
    boolean editor_button = (editor_b == null ? false : editor_b.booleanValue());
    Boolean add_b = (Boolean)request.getAttribute("add_button");
    boolean add_button = (add_b == null ? false : add_b.booleanValue());
    Boolean remove_b = (Boolean)request.getAttribute("remove_button");
    boolean remove_button = (remove_b == null ? false : remove_b.booleanValue());

	// get the browse indices
    BrowseIndex[] bis = BrowseIndex.getBrowseIndices();
	CommunityService comServ = ContentServiceFactory.getInstance().getCommunityService();
	CollectionService colServ = ContentServiceFactory.getInstance().getCollectionService();
    // Put the metadata values into guaranteed non-null variables
    String name = comServ.getMetadata(community, "name");
    String intro = comServ.getMetadata(community, "introductory_text");
    String copyright = comServ.getMetadata(community, "copyright_text");
    String sidebar = comServ.getMetadata(community, "side_bar_text");
    Bitstream logo = community.getLogo();
    
    ConfigurationService configurationService = DSpaceServicesFactory.getInstance().getConfigurationService();
    
    boolean feedEnabled = configurationService.getBooleanProperty("webui.feed.enable");
    String feedData = "NONE";
    if (feedEnabled)
    {
        // FeedData is expected to be a comma separated list
        String[] formats = configurationService.getArrayProperty("webui.feed.formats");
        String allFormats = StringUtils.join(formats, ",");
        feedData = "comm:" + allFormats;
    }
    
    ItemCounter ic = new ItemCounter(UIUtil.obtainContext(request));

      out.write('\n');
      out.write('\n');
      out.write('\n');
      //  dspace:layout
      org.dspace.app.webui.jsptag.LayoutTag _jspx_th_dspace_005flayout_005f0 = (org.dspace.app.webui.jsptag.LayoutTag) _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData.get(org.dspace.app.webui.jsptag.LayoutTag.class);
      _jspx_th_dspace_005flayout_005f0.setPageContext(_jspx_page_context);
      _jspx_th_dspace_005flayout_005f0.setParent(null);
      // /community-home.jsp(87,0) name = locbar type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_dspace_005flayout_005f0.setLocbar("commLink");
      // /community-home.jsp(87,0) name = title type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_dspace_005flayout_005f0.setTitle( name );
      // /community-home.jsp(87,0) name = feedData type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_dspace_005flayout_005f0.setFeedData( feedData );
      int _jspx_eval_dspace_005flayout_005f0 = _jspx_th_dspace_005flayout_005f0.doStartTag();
      if (_jspx_eval_dspace_005flayout_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_dspace_005flayout_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_dspace_005flayout_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_dspace_005flayout_005f0.doInitBody();
        }
        do {
          out.write("\n");
          out.write("<div class=\"well\">\n");
          out.write("<div class=\"row\">\n");
          out.write("\t<div class=\"col-md-8\">\n");
          out.write("        <h2>");
          out.print( name );
          out.write("\n");
          out.write("        ");

            if(configurationService.getBooleanProperty("webui.strengths.show"))
            {

          out.write("\n");
          out.write("                : [");
          out.print( ic.getCount(community) );
          out.write(']');
          out.write('\n');

            }

          out.write("\n");
          out.write("\t\t<small>");
          if (_jspx_meth_fmt_005fmessage_005f0(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write("</small>\n");
          out.write("        <a class=\"statisticsLink btn btn-info\" href=\"");
          out.print( request.getContextPath() );
          out.write("/handle/");
          out.print( community.getHandle() );
          out.write("/statistics\">");
          if (_jspx_meth_fmt_005fmessage_005f1(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write("</a>\n");
          out.write("\t\t</h2>\n");
          out.write("\t</div>\n");
  if (logo != null) { 
          out.write("\n");
          out.write("     <div class=\"col-md-4\">\n");
          out.write("     \t<img class=\"img-responsive\" alt=\"Logo\" src=\"");
          out.print( request.getContextPath() );
          out.write("/retrieve/");
          out.print( logo.getID() );
          out.write("\" />\n");
          out.write("     </div> \n");
 } 
          out.write("\n");
          out.write(" </div>\n");
          out.write("\n");
 if (StringUtils.isNotBlank(intro)) { 
          out.write('\n');
          out.write(' ');
          out.write(' ');
          out.print( intro );
          out.write('\n');
 } 
          out.write("\n");
          out.write("</div>\n");
          out.write("<p class=\"copyrightText\">");
          out.print( copyright );
          out.write("</p>\n");
          out.write("\t<div class=\"row\">\n");

	if (rs != null  && rs.count() > 0)
	{ 
          out.write("\n");
          out.write("\t<div class=\"col-md-8\">\n");
          out.write("        <div class=\"panel panel-primary\">        \n");
          out.write("        <div id=\"recent-submissions-carousel\" class=\"panel-heading carousel slide\">\n");
          out.write("        ");
          out.write("\n");
          out.write("\t\t\t<h3>");
          if (_jspx_meth_fmt_005fmessage_005f2(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write('\n');

    if(feedEnabled)
    {
    	String[] fmts = feedData.substring(5).split(",");
    	String icon = null;
    	int width = 0;
    	for (int j = 0; j < fmts.length; j++)
    	{
    		if ("rss_1.0".equals(fmts[j]))
    		{
    		   icon = "rss1.gif";
    		   width = 80;
    		}
    		else if ("rss_2.0".equals(fmts[j]))
    		{
    		   icon = "rss2.gif";
    		   width = 80;
    		}
    		else
    	    {
    	       icon = "rss.gif";
    	       width = 36;
    	    }

          out.write("\n");
          out.write("    <a href=\"");
          out.print( request.getContextPath() );
          out.write("/feed/");
          out.print( fmts[j] );
          out.write('/');
          out.print( community.getHandle() );
          out.write("\"><img src=\"");
          out.print( request.getContextPath() );
          out.write("/image/");
          out.print( icon );
          out.write("\" alt=\"RSS Feed\" width=\"");
          out.print( width );
          out.write("\" height=\"15\" style=\"margin: 3px 0 3px\" /></a>\n");

    	}
    }

          out.write("\n");
          out.write("\t\t\t</h3>\n");
          out.write("\t\t\n");
          out.write("\t");

		List<Item> items = rs.getRecentSubmissions();
		boolean first = true;
		if(items!=null && items.size()>0) 
		{ 
	
          out.write("\t\n");
          out.write("\t\t<!-- Wrapper for slides -->\n");
          out.write("\t\t  <div class=\"carousel-inner\">\n");
          out.write("\t");
	for (int i = 0; i < items.size(); i++)
		{
			String title = items.get(i).getName();
			String displayTitle = "Untitled";
			if (StringUtils.isNotBlank(title))
			{
				displayTitle = Utils.addEntities(title);
			}
			
          out.write("\n");
          out.write("\t\t    <div style=\"padding-bottom: 50px; min-height: 200px;\" class=\"item ");
          out.print( first?"active":"");
          out.write("\">\n");
          out.write("\t\t      <div style=\"padding-left: 80px; padding-right: 80px; display: inline-block;\">");
          out.print( StringUtils.abbreviate(displayTitle, 400) );
          out.write(" \n");
          out.write("\t\t      \t<a href=\"");
          out.print( request.getContextPath() );
          out.write("/handle/");
          out.print(items.get(i).getHandle() );
          out.write("\" class=\"btn btn-success\">See</a>\n");
          out.write("\t\t      </div>\n");
          out.write("\t\t    </div>\n");

				first = false;
		     }
		
          out.write("\n");
          out.write("\t\t</div>\n");
          out.write("\t\t\n");
          out.write("\t\t  <!-- Controls -->\n");
          out.write("\t\t  <a class=\"left carousel-control\" href=\"#recent-submissions-carousel\" data-slide=\"prev\">\n");
          out.write("\t\t    <span class=\"icon-prev\"></span>\n");
          out.write("\t\t  </a>\n");
          out.write("\t\t  <a class=\"right carousel-control\" href=\"#recent-submissions-carousel\" data-slide=\"next\">\n");
          out.write("\t\t    <span class=\"icon-next\"></span>\n");
          out.write("\t\t  </a>\n");
          out.write("\n");
          out.write("          <ol class=\"carousel-indicators\">\n");
          out.write("\t\t    <li data-target=\"#recent-submissions-carousel\" data-slide-to=\"0\" class=\"active\"></li>\n");
          out.write("\t\t    ");
 for (int i = 1; i < rs.count(); i++){ 
          out.write("\n");
          out.write("\t\t    <li data-target=\"#recent-submissions-carousel\" data-slide-to=\"");
          out.print( i );
          out.write("\"></li>\n");
          out.write("\t\t    ");
 } 
          out.write("\n");
          out.write("\t      </ol>\n");
          out.write("\t\t\n");
          out.write("\t\t");

		}
		
          out.write("\n");
          out.write("\t\t  \n");
          out.write("     </div></div></div>\n");

	}

          out.write("\n");
          out.write("</div>\t\n");
          out.write("\n");
          out.write("\n");
          out.write("<div class=\"panel panel-primary\">\n");
          out.write("\t<div class=\"panel-heading\">");
          if (_jspx_meth_fmt_005fmessage_005f3(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write("</div>\n");
          out.write("\t<div class=\"panel-body\">\n");
          out.write("   \t\t\t\t");
          out.write('\n');

	for (int i = 0; i < bis.length; i++)
	{
		String key = "browse.menu." + bis[i].getName();

          out.write("\n");
          out.write("\t<form method=\"get\" action=\"");
          out.print( request.getContextPath() );
          out.write("/handle/");
          out.print( community.getHandle() );
          out.write("/browse\">\n");
          out.write("\t\t<input type=\"hidden\" name=\"type\" value=\"");
          out.print( bis[i].getName() );
          out.write("\"/>\n");
          out.write("\t\t");
          out.write("\n");
          out.write("\t\t<input class=\"btn btn-default col-md-3\" type=\"submit\" name=\"submit_browse\" value=\"");
          //  fmt:message
          org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f4 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
          _jspx_th_fmt_005fmessage_005f4.setPageContext(_jspx_page_context);
          _jspx_th_fmt_005fmessage_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
          // /community-home.jsp(222,84) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_fmt_005fmessage_005f4.setKey( key );
          int _jspx_eval_fmt_005fmessage_005f4 = _jspx_th_fmt_005fmessage_005f4.doStartTag();
          if (_jspx_th_fmt_005fmessage_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f4);
            return;
          }
          _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f4);
          out.write("\"/>\n");
          out.write("\t</form>\n");
	
	}

          out.write("\n");
          out.write("\t\t\t\n");
          out.write("\t</div>\n");
          out.write("</div>\n");
          out.write("\n");
          out.write("<div class=\"row\">\n");
          out.write("\t");
          out.write('\n');
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");
          out.write("\n");

		Map<String, List<FacetResult>> tcMapFacetes = (Map<String, List<FacetResult>>) request.getAttribute("tagcloud.fresults");
		List<DiscoverySearchFilterFacet> tcFacetsConf = (List<DiscoverySearchFilterFacet>) request.getAttribute("tagCloudFacetsConfig");
		TagCloudConfiguration tagCloudConfiguration = (TagCloudConfiguration) request.getAttribute("tagCloudConfig");
		String tcSearchScope = (String) request.getAttribute("tagcloud.searchScope");
		
    	String scope = tcSearchScope;
    	if (tcMapFacetes!=null) {
    		for (DiscoverySearchFilterFacet facetConf : tcFacetsConf)
    		{
    			Map<String, Integer> data = new HashMap<String, Integer>();
    			String index = facetConf.getIndexFieldName();
    			
        		List<FacetResult> facet = tcMapFacetes.get(index);
        		if (facet!=null){
        			for (FacetResult fvalue : facet)
    		   		{ 
        				data.put(fvalue.getDisplayedValue(), (int)fvalue.getCount());
    				}
        		}
    
          out.write("\n");
          out.write("    \t\t\t<div>\n");
          out.write("    \t\t\t\t");
          //  dspace:tagcloud
          org.dspace.app.webui.tagcloud.TagCloudTag _jspx_th_dspace_005ftagcloud_005f0 = (new org.dspace.app.webui.tagcloud.TagCloudTag());
          _jsp_getInstanceManager().newInstance(_jspx_th_dspace_005ftagcloud_005f0);
          _jspx_th_dspace_005ftagcloud_005f0.setJspContext(_jspx_page_context);
          _jspx_th_dspace_005ftagcloud_005f0.setParent(_jspx_th_dspace_005flayout_005f0);
          // /discovery/static-tagcloud-facet.jsp(57,8) name = parameters type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_dspace_005ftagcloud_005f0.setParameters( tagCloudConfiguration );
          // /discovery/static-tagcloud-facet.jsp(57,8) name = index type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_dspace_005ftagcloud_005f0.setIndex( index );
          // /discovery/static-tagcloud-facet.jsp(57,8) name = scope type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_dspace_005ftagcloud_005f0.setScope( scope );
          // /discovery/static-tagcloud-facet.jsp(57,8) name = data type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
          _jspx_th_dspace_005ftagcloud_005f0.setData( data );
          _jspx_th_dspace_005ftagcloud_005f0.doTag();
          _jsp_getInstanceManager().destroyInstance(_jspx_th_dspace_005ftagcloud_005f0);
          out.write("<br/><br/>\n");
          out.write("    \t\t\t</div>\n");
          out.write("    ");
		
    		}
    	}
	
          out.write("\n");
          out.write("</div>\n");
          out.write("\t\n");
          out.write("<div class=\"row\">\n");

	boolean showLogos = configurationService.getBooleanProperty("jspui.community-home.logos", true);
	if (subcommunities.size() != 0)
    {

          out.write("\n");
          out.write("\t<div class=\"col-md-6\">\n");
          out.write("\n");
          out.write("\t\t<h3>");
          if (_jspx_meth_fmt_005fmessage_005f5(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write("</h3>\n");
          out.write("   \n");
          out.write("        <div class=\"list-group\">\n");

        for (int j = 0; j < subcommunities.size(); j++)
        {

          out.write("\n");
          out.write("\t\t\t<div class=\"list-group-item row\">  \n");
  
		Bitstream logoCom = subcommunities.get(j).getLogo();
		if (showLogos && logoCom != null) { 
          out.write("\n");
          out.write("\t\t\t<div class=\"col-md-3\">\n");
          out.write("\t\t        <img alt=\"Logo\" class=\"img-responsive\" src=\"");
          out.print( request.getContextPath() );
          out.write("/retrieve/");
          out.print( logoCom.getID() );
          out.write("\" /> \n");
          out.write("\t\t\t</div>\n");
          out.write("\t\t\t<div class=\"col-md-9\">\n");
 } else { 
          out.write("\n");
          out.write("\t\t\t<div class=\"col-md-12\">\n");
 }  
          out.write("\t\t\n");
          out.write("\n");
          out.write("\t      <h4 class=\"list-group-item-heading\"><a href=\"");
          out.print( request.getContextPath() );
          out.write("/handle/");
          out.print( subcommunities.get(j).getHandle() );
          out.write("\">\n");
          out.write("\t                ");
          out.print( subcommunities.get(j).getName() );
          out.write("</a>\n");

                if (configurationService.getBooleanProperty("webui.strengths.show"))
                {

          out.write("\n");
          out.write("                    [");
          out.print( ic.getCount(subcommunities.get(j)) );
          out.write(']');
          out.write('\n');

                }

          out.write("\n");
          out.write("\t    \t\t");
 if (remove_button) { 
          out.write("\n");
          out.write("\t                <form class=\"btn-group\" method=\"post\" action=\"");
          out.print(request.getContextPath());
          out.write("/tools/edit-communities\">\n");
          out.write("\t\t\t          <input type=\"hidden\" name=\"parent_community_id\" value=\"");
          out.print( community.getID() );
          out.write("\" />\n");
          out.write("\t\t\t          <input type=\"hidden\" name=\"community_id\" value=\"");
          out.print( subcommunities.get(j).getID() );
          out.write("\" />\n");
          out.write("\t\t\t          <input type=\"hidden\" name=\"action\" value=\"");
          out.print(EditCommunitiesServlet.START_DELETE_COMMUNITY);
          out.write("\" />\n");
          out.write("\t                  <button type=\"submit\" class=\"btn btn-xs btn-danger\"><span class=\"glyphicon glyphicon-trash\"></span></button>\n");
          out.write("\t                </form>\n");
          out.write("\t    \t\t");
 } 
          out.write("\n");
          out.write("\t\t\t    </h4>\n");
          out.write("                <p class=\"collectionDescription\">");
          out.print( comServ.getMetadata(subcommunities.get(j), "short_description") );
          out.write("</p>\n");
          out.write("            </div>\n");
          out.write("         </div> \n");

        }

          out.write("\n");
          out.write("   </div>\n");
          out.write("</div>\n");

    }

          out.write('\n');
          out.write('\n');

    if (collections.size() != 0)
    {

          out.write("\n");
          out.write("\t<div class=\"col-md-6\">\n");
          out.write("\n");
          out.write("        ");
          out.write("\n");
          out.write("\t\t<h3>");
          if (_jspx_meth_fmt_005fmessage_005f6(_jspx_th_dspace_005flayout_005f0, _jspx_page_context))
            return;
          out.write("</h3>\n");
          out.write("\t\t<div class=\"list-group\">\n");

        for (int i = 0; i < collections.size(); i++)
        {

          out.write("\n");
          out.write("\t\t\t<div class=\"list-group-item row\">  \n");
  
		Bitstream logoCol = collections.get(i).getLogo();
		if (showLogos && logoCol != null) { 
          out.write("\n");
          out.write("\t\t\t<div class=\"col-md-3\">\n");
          out.write("\t\t        <img alt=\"Logo\" class=\"img-responsive\" src=\"");
          out.print( request.getContextPath() );
          out.write("/retrieve/");
          out.print( logoCol.getID() );
          out.write("\" /> \n");
          out.write("\t\t\t</div>\n");
          out.write("\t\t\t<div class=\"col-md-9\">\n");
 } else { 
          out.write("\n");
          out.write("\t\t\t<div class=\"col-md-12\">\n");
 }  
          out.write("\t\t\n");
          out.write("\n");
          out.write("\t      <h4 class=\"list-group-item-heading\"><a href=\"");
          out.print( request.getContextPath() );
          out.write("/handle/");
          out.print( collections.get(i).getHandle() );
          out.write("\">\n");
          out.write("\t      ");
          out.print( collections.get(i).getName() );
          out.write("</a>\n");

            if(configurationService.getBooleanProperty("webui.strengths.show"))
            {

          out.write("\n");
          out.write("                [");
          out.print( ic.getCount(collections.get(i)) );
          out.write(']');
          out.write('\n');

            }

          out.write("\n");
          out.write("\t    ");
 if (remove_button) { 
          out.write("\n");
          out.write("\t      <form class=\"btn-group\" method=\"post\" action=\"");
          out.print(request.getContextPath());
          out.write("/tools/edit-communities\">\n");
          out.write("\t          <input type=\"hidden\" name=\"parent_community_id\" value=\"");
          out.print( community.getID() );
          out.write("\" />\n");
          out.write("\t          <input type=\"hidden\" name=\"community_id\" value=\"");
          out.print( community.getID() );
          out.write("\" />\n");
          out.write("\t          <input type=\"hidden\" name=\"collection_id\" value=\"");
          out.print( collections.get(i).getID() );
          out.write("\" />\n");
          out.write("\t          <input type=\"hidden\" name=\"action\" value=\"");
          out.print(EditCommunitiesServlet.START_DELETE_COLLECTION);
          out.write("\" />\n");
          out.write("\t          <button type=\"submit\" class=\"btn btn-xs btn-danger\"><span class=\"glyphicon glyphicon-trash\"></span></button>\n");
          out.write("\t      </form>\n");
          out.write("\t    ");
 } 
          out.write("\n");
          out.write("\t\t</h4>\n");
          out.write("      <p class=\"collectionDescription\">");
          out.print( colServ.getMetadata(collections.get(i), "short_description") );
          out.write("</p>\n");
          out.write("    </div>\n");
          out.write("  </div>  \n");

        }

          out.write("\n");
          out.write("  </div>\n");
          out.write("</div>\n");

    }

          out.write("\n");
          out.write("</div>\n");
          out.write("    ");
          //  dspace:sidebar
          org.dspace.app.webui.jsptag.SidebarTag _jspx_th_dspace_005fsidebar_005f0 = (org.dspace.app.webui.jsptag.SidebarTag) _005fjspx_005ftagPool_005fdspace_005fsidebar.get(org.dspace.app.webui.jsptag.SidebarTag.class);
          _jspx_th_dspace_005fsidebar_005f0.setPageContext(_jspx_page_context);
          _jspx_th_dspace_005fsidebar_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
          int _jspx_eval_dspace_005fsidebar_005f0 = _jspx_th_dspace_005fsidebar_005f0.doStartTag();
          if (_jspx_eval_dspace_005fsidebar_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_dspace_005fsidebar_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_dspace_005fsidebar_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_dspace_005fsidebar_005f0.doInitBody();
            }
            do {
              out.write("\n");
              out.write("    ");
 if(editor_button || add_button)  // edit button(s)
    { 
              out.write("\n");
              out.write("\t\t <div class=\"panel panel-warning\">\n");
              out.write("             <div class=\"panel-heading\">\n");
              out.write("             \t");
              if (_jspx_meth_fmt_005fmessage_005f7(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\n");
              out.write("             \t<span class=\"pull-right\">\n");
              out.write("             \t\t");
              //  dspace:popup
              org.dspace.app.webui.jsptag.PopupTag _jspx_th_dspace_005fpopup_005f0 = (org.dspace.app.webui.jsptag.PopupTag) _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage.get(org.dspace.app.webui.jsptag.PopupTag.class);
              _jspx_th_dspace_005fpopup_005f0.setPageContext(_jspx_page_context);
              _jspx_th_dspace_005fpopup_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
              // /community-home.jsp(357,15) name = page type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_dspace_005fpopup_005f0.setPage( LocaleSupport.getLocalizedMessage(pageContext, "help.site-admin"));
              int _jspx_eval_dspace_005fpopup_005f0 = _jspx_th_dspace_005fpopup_005f0.doStartTag();
              if (_jspx_eval_dspace_005fpopup_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_dspace_005fpopup_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_dspace_005fpopup_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_dspace_005fpopup_005f0.doInitBody();
                }
                do {
                  if (_jspx_meth_fmt_005fmessage_005f8(_jspx_th_dspace_005fpopup_005f0, _jspx_page_context))
                    return;
                  int evalDoAfterBody = _jspx_th_dspace_005fpopup_005f0.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
                if (_jspx_eval_dspace_005fpopup_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_dspace_005fpopup_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage.reuse(_jspx_th_dspace_005fpopup_005f0);
                return;
              }
              _005fjspx_005ftagPool_005fdspace_005fpopup_0026_005fpage.reuse(_jspx_th_dspace_005fpopup_005f0);
              out.write("\n");
              out.write("             \t</span>\n");
              out.write("             \t</div>\n");
              out.write("             <div class=\"panel-body\">\n");
              out.write("             ");
 if(editor_button) { 
              out.write("\n");
              out.write("\t            <form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/tools/edit-communities\">\n");
              out.write("\t\t          <input type=\"hidden\" name=\"community_id\" value=\"");
              out.print( community.getID() );
              out.write("\" />\n");
              out.write("\t\t          <input type=\"hidden\" name=\"action\" value=\"");
              out.print(EditCommunitiesServlet.START_EDIT_COMMUNITY);
              out.write("\" />\n");
              out.write("                  ");
              out.write("\n");
              out.write("                  <input class=\"btn btn-default col-md-12\" type=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f9(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("                </form>\n");
              out.write("             ");
 } 
              out.write("\n");
              out.write("             ");
 if(add_button) { 
              out.write("\n");
              out.write("\n");
              out.write("\t\t\t\t<form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/tools/collection-wizard\">\n");
              out.write("\t\t     \t\t<input type=\"hidden\" name=\"community_id\" value=\"");
              out.print( community.getID() );
              out.write("\" />\n");
              out.write("                    <input class=\"btn btn-default col-md-12\" type=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f10(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("                </form>\n");
              out.write("                \n");
              out.write("                <form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/tools/edit-communities\">\n");
              out.write("                    <input type=\"hidden\" name=\"action\" value=\"");
              out.print( EditCommunitiesServlet.START_CREATE_COMMUNITY);
              out.write("\" />\n");
              out.write("                    <input type=\"hidden\" name=\"parent_community_id\" value=\"");
              out.print( community.getID() );
              out.write("\" />\n");
              out.write("                    ");
              out.write("\n");
              out.write("                    <input class=\"btn btn-default col-md-12\" type=\"submit\" name=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f11(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("                 </form>\n");
              out.write("             ");
 } 
              out.write("\n");
              out.write("            ");
 if( editor_button ) { 
              out.write("\n");
              out.write("                <form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/mydspace\">\n");
              out.write("                  <input type=\"hidden\" name=\"community_id\" value=\"");
              out.print( community.getID() );
              out.write("\" />\n");
              out.write("                  <input type=\"hidden\" name=\"step\" value=\"");
              out.print( MyDSpaceServlet.REQUEST_EXPORT_ARCHIVE );
              out.write("\" />\n");
              out.write("                  <input class=\"btn btn-default col-md-12\" type=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f12(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("                </form>\n");
              out.write("              <form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/mydspace\">\n");
              out.write("                <input type=\"hidden\" name=\"community_id\" value=\"");
              out.print( community.getID() );
              out.write("\" />\n");
              out.write("                <input type=\"hidden\" name=\"step\" value=\"");
              out.print( MyDSpaceServlet.REQUEST_MIGRATE_ARCHIVE );
              out.write("\" />\n");
              out.write("                <input class=\"btn btn-default col-md-12\" type=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f13(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("              </form>\n");
              out.write("               <form method=\"post\" action=\"");
              out.print(request.getContextPath());
              out.write("/dspace-admin/metadataexport\">\n");
              out.write("                 <input type=\"hidden\" name=\"handle\" value=\"");
              out.print( community.getHandle() );
              out.write("\" />\n");
              out.write("                 <input class=\"btn btn-default col-md-12\" type=\"submit\" value=\"");
              if (_jspx_meth_fmt_005fmessage_005f14(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("\" />\n");
              out.write("               </form>\n");
              out.write("\t\t\t");
 } 
              out.write("\n");
              out.write("\t\t\t</div>\n");
              out.write("\t\t</div>\n");
              out.write("\t\t");
 } 
              out.write('\n');
              out.write('	');
              out.write('	');
              out.print( sidebar );
              out.write('\n');
              out.write('	');
              out.write('	');

			int discovery_panel_cols = 12;
			int discovery_facet_cols = 12;
		
              out.write('\n');
              out.write('	');
              out.write('	');
              out.write('\n');
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");
              out.write("\n");

	boolean brefine = false;
	
	Map<String, List<FacetResult>> mapFacetes = (Map<String, List<FacetResult>>) request.getAttribute("discovery.fresults");
	List<DiscoverySearchFilterFacet> facetsConf = (List<DiscoverySearchFilterFacet>) request.getAttribute("facetsConfig");
	String searchScope = (String) request.getAttribute("discovery.searchScope");
	if (searchScope == null)
	{
	    searchScope = "";
	}
	
	if (mapFacetes != null)
	{
	    for (DiscoverySearchFilterFacet facetConf : facetsConf)
		{
		    String f = facetConf.getIndexFieldName();
		    List<FacetResult> facet = mapFacetes.get(f);
		    if (facet != null && facet.size() > 0)
		    {
		        brefine = true;
		        break;
		    }
		    else
		    {
		        facet = mapFacetes.get(f+".year");
			    if (facet != null && facet.size() > 0)
			    {
			        brefine = true;
			        break;
			    }
		    }
		}
	}
	if (brefine) {

              out.write("\n");
              out.write("<div class=\"col-md-");
              out.print( discovery_panel_cols );
              out.write("\">\n");
              out.write("<h3 class=\"facets\">");
              if (_jspx_meth_fmt_005fmessage_005f15(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("</h3>\n");
              out.write("<div id=\"facets\" class=\"facetsBox row panel\">\n");

	for (DiscoverySearchFilterFacet facetConf : facetsConf)
	{
    	String f = facetConf.getIndexFieldName();
    	List<FacetResult> facet = mapFacetes.get(f);
 	    if (facet == null)
 	    {
 	        facet = mapFacetes.get(f+".year");
 	    }
 	    if (facet == null)
 	    {
 	        continue;
 	    }
	    String fkey = "jsp.search.facet.refine."+f;
	    int limit = facetConf.getFacetLimit()+1;
	    
              out.write("<div id=\"facet_");
              out.print( f );
              out.write("\" class=\"facet col-md-");
              out.print( discovery_facet_cols );
              out.write("\">\n");
              out.write("\t    <span class=\"facetName\">");
              //  fmt:message
              org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f16 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
              _jspx_th_fmt_005fmessage_005f16.setPageContext(_jspx_page_context);
              _jspx_th_fmt_005fmessage_005f16.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
              // /discovery/static-sidebar-facet.jsp(82,29) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_fmt_005fmessage_005f16.setKey( fkey );
              int _jspx_eval_fmt_005fmessage_005f16 = _jspx_th_fmt_005fmessage_005f16.doStartTag();
              if (_jspx_th_fmt_005fmessage_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f16);
                return;
              }
              _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f16);
              out.write("</span>\n");
              out.write("\t    <ul class=\"list-group\">");

	    int idx = 1;
	    int currFp = UIUtil.getIntParameter(request, f+"_page");
	    if (currFp < 0)
	    {
	        currFp = 0;
	    }
	    if (facet != null)
	    {
		    for (FacetResult fvalue : facet)
		    { 
		        if (idx != limit)
		        {
		        
              out.write("<li class=\"list-group-item\"><span class=\"badge\">");
              out.print( fvalue.getCount() );
              out.write("</span> <a href=\"");
              out.print( request.getContextPath()
		            + searchScope
	                + "/simple-search?filterquery="+URLEncoder.encode(fvalue.getAsFilterQuery(),"UTF-8")
	                + "&amp;filtername="+URLEncoder.encode(f,"UTF-8")
	                + "&amp;filtertype="+URLEncoder.encode(fvalue.getFilterType(),"UTF-8") );
              out.write("\"\n");
              out.write("\t                title=\"");
              //  fmt:message
              org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f17 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
              _jspx_th_fmt_005fmessage_005f17.setPageContext(_jspx_page_context);
              _jspx_th_fmt_005fmessage_005f17.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
              // /discovery/static-sidebar-facet.jsp(101,24) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_fmt_005fmessage_005f17.setKey("jsp.search.facet.narrow");
              int _jspx_eval_fmt_005fmessage_005f17 = _jspx_th_fmt_005fmessage_005f17.doStartTag();
              if (_jspx_eval_fmt_005fmessage_005f17 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_fmt_005fmessage_005f17 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.pushBody();
                  _jspx_th_fmt_005fmessage_005f17.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                  _jspx_th_fmt_005fmessage_005f17.doInitBody();
                }
                do {
                  //  fmt:param
                  org.apache.taglibs.standard.tag.el.fmt.ParamTag _jspx_th_fmt_005fparam_005f0 = (org.apache.taglibs.standard.tag.el.fmt.ParamTag) _005fjspx_005ftagPool_005ffmt_005fparam.get(org.apache.taglibs.standard.tag.el.fmt.ParamTag.class);
                  _jspx_th_fmt_005fparam_005f0.setPageContext(_jspx_page_context);
                  _jspx_th_fmt_005fparam_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_fmt_005fmessage_005f17);
                  int _jspx_eval_fmt_005fparam_005f0 = _jspx_th_fmt_005fparam_005f0.doStartTag();
                  if (_jspx_eval_fmt_005fparam_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    if (_jspx_eval_fmt_005fparam_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.pushBody();
                      _jspx_th_fmt_005fparam_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                      _jspx_th_fmt_005fparam_005f0.doInitBody();
                    }
                    do {
                      out.print(fvalue.getDisplayedValue() );
                      int evalDoAfterBody = _jspx_th_fmt_005fparam_005f0.doAfterBody();
                      if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                    } while (true);
                    if (_jspx_eval_fmt_005fparam_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.popBody();
                    }
                  }
                  if (_jspx_th_fmt_005fparam_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                    _005fjspx_005ftagPool_005ffmt_005fparam.reuse(_jspx_th_fmt_005fparam_005f0);
                    return;
                  }
                  _005fjspx_005ftagPool_005ffmt_005fparam.reuse(_jspx_th_fmt_005fparam_005f0);
                  int evalDoAfterBody = _jspx_th_fmt_005fmessage_005f17.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
                if (_jspx_eval_fmt_005fmessage_005f17 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_fmt_005fmessage_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey.reuse(_jspx_th_fmt_005fmessage_005f17);
                return;
              }
              _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey.reuse(_jspx_th_fmt_005fmessage_005f17);
              out.write("\">\n");
              out.write("\t                ");
              out.print( StringUtils.abbreviate(fvalue.getDisplayedValue(),36) );
              out.write("</a></li>");

		        }
		        idx++;
		    }
		    if (currFp > 0 || idx > limit)
		    {
		        
              out.write("<li class=\"list-group-item\"><span style=\"visibility: hidden;\">.</span>\n");
              out.write("\t\t        ");
 if (currFp > 0) { 
              out.write("\n");
              out.write("\t\t        <a class=\"pull-left\" href=\"");
              out.print( request.getContextPath()
		                + searchScope
		                + "?"+f+"_page="+(currFp-1) );
              out.write('"');
              out.write('>');
              if (_jspx_meth_fmt_005fmessage_005f18(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("</a>\n");
              out.write("\t            ");
 } 
              out.write("\n");
              out.write("\t            ");
 if (idx > limit) { 
              out.write("\n");
              out.write("\t            <a href=\"");
              out.print( request.getContextPath()
		            + searchScope
	                + "?"+f+"_page="+(currFp+1) );
              out.write("\"><span class=\"pull-right\">");
              if (_jspx_meth_fmt_005fmessage_005f19(_jspx_th_dspace_005fsidebar_005f0, _jspx_page_context))
                return;
              out.write("</span></a>\n");
              out.write("\t            ");

	            }
	            
              out.write("</li>");

		    }
	    }
	    
              out.write("</ul></div>");

	}

              out.write("</div></div>");

	}

              out.write('\n');
              out.write(' ');
              out.write(' ');
              int evalDoAfterBody = _jspx_th_dspace_005fsidebar_005f0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_dspace_005fsidebar_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_dspace_005fsidebar_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fdspace_005fsidebar.reuse(_jspx_th_dspace_005fsidebar_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fdspace_005fsidebar.reuse(_jspx_th_dspace_005fsidebar_005f0);
          out.write('\n');
          int evalDoAfterBody = _jspx_th_dspace_005flayout_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_dspace_005flayout_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_dspace_005flayout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData.reuse(_jspx_th_dspace_005flayout_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fdspace_005flayout_0026_005ftitle_005flocbar_005ffeedData.reuse(_jspx_th_dspace_005flayout_005f0);
      out.write('\n');
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_fmt_005fmessage_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f0 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(100,9) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f0.setKey("jsp.community-home.heading1");
    int _jspx_eval_fmt_005fmessage_005f0 = _jspx_th_fmt_005fmessage_005f0.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f0);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f1 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f1.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(101,133) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f1.setKey("jsp.community-home.display-statistics");
    int _jspx_eval_fmt_005fmessage_005f1 = _jspx_th_fmt_005fmessage_005f1.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f1);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f2 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f2.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(124,7) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f2.setKey("jsp.community-home.recentsub");
    int _jspx_eval_fmt_005fmessage_005f2 = _jspx_th_fmt_005fmessage_005f2.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f2);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f3(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f3 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f3.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(211,28) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f3.setKey("jsp.general.browse");
    int _jspx_eval_fmt_005fmessage_005f3 = _jspx_th_fmt_005fmessage_005f3.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f3);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f5(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f5 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f5.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(243,6) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f5.setKey("jsp.community-home.heading3");
    int _jspx_eval_fmt_005fmessage_005f5 = _jspx_th_fmt_005fmessage_005f5.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f5);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f6(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005flayout_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f6 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f6.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005flayout_005f0);
    // /community-home.jsp(300,6) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f6.setKey("jsp.community-home.heading2");
    int _jspx_eval_fmt_005fmessage_005f6 = _jspx_th_fmt_005fmessage_005f6.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f6);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f7(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f7 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f7.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(355,14) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f7.setKey("jsp.admintools");
    int _jspx_eval_fmt_005fmessage_005f7 = _jspx_th_fmt_005fmessage_005f7.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f7);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f8(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fpopup_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f8 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f8.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fpopup_005f0);
    // /community-home.jsp(357,110) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f8.setKey("jsp.adminhelp");
    int _jspx_eval_fmt_005fmessage_005f8 = _jspx_th_fmt_005fmessage_005f8.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f8);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f9(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f9 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f9.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(366,80) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f9.setKey("jsp.general.edit.button");
    int _jspx_eval_fmt_005fmessage_005f9 = _jspx_th_fmt_005fmessage_005f9.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f9);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f10(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f10 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f10.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(373,82) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f10.setKey("jsp.community-home.create1.button");
    int _jspx_eval_fmt_005fmessage_005f10 = _jspx_th_fmt_005fmessage_005f10.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f10);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f11(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f11 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f11.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f11.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(380,96) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f11.setKey("jsp.community-home.create2.button");
    int _jspx_eval_fmt_005fmessage_005f11 = _jspx_th_fmt_005fmessage_005f11.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f11);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f11);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f12(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f12 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f12.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f12.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(387,80) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f12.setKey("jsp.mydspace.request.export.community");
    int _jspx_eval_fmt_005fmessage_005f12 = _jspx_th_fmt_005fmessage_005f12.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f12);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f13(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f13 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f13.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f13.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(392,78) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f13.setKey("jsp.mydspace.request.export.migratecommunity");
    int _jspx_eval_fmt_005fmessage_005f13 = _jspx_th_fmt_005fmessage_005f13.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f13);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f14(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f14 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f14.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f14.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /community-home.jsp(396,79) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f14.setKey("jsp.general.metadataexport.button");
    int _jspx_eval_fmt_005fmessage_005f14 = _jspx_th_fmt_005fmessage_005f14.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f14);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f15(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f15 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f15.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f15.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /discovery/static-sidebar-facet.jsp(64,19) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f15.setKey("jsp.search.facet.refine");
    int _jspx_eval_fmt_005fmessage_005f15 = _jspx_th_fmt_005fmessage_005f15.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f15);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f18(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f18 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f18.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f18.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /discovery/static-sidebar-facet.jsp(112,50) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f18.setKey("jsp.search.facet.refine.previous");
    int _jspx_eval_fmt_005fmessage_005f18 = _jspx_th_fmt_005fmessage_005f18.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f18);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f18);
    return false;
  }

  private boolean _jspx_meth_fmt_005fmessage_005f19(javax.servlet.jsp.tagext.JspTag _jspx_th_dspace_005fsidebar_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:message
    org.apache.taglibs.standard.tag.el.fmt.MessageTag _jspx_th_fmt_005fmessage_005f19 = (org.apache.taglibs.standard.tag.el.fmt.MessageTag) _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.get(org.apache.taglibs.standard.tag.el.fmt.MessageTag.class);
    _jspx_th_fmt_005fmessage_005f19.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fmessage_005f19.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_dspace_005fsidebar_005f0);
    // /discovery/static-sidebar-facet.jsp(117,74) name = key type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fmessage_005f19.setKey("jsp.search.facet.refine.next");
    int _jspx_eval_fmt_005fmessage_005f19 = _jspx_th_fmt_005fmessage_005f19.doStartTag();
    if (_jspx_th_fmt_005fmessage_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f19);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fmessage_0026_005fkey_005fnobody.reuse(_jspx_th_fmt_005fmessage_005f19);
    return false;
  }
}
