<?xml version="1.0" encoding="ISO-8859-1"?>
<!--

    Copyright (C) 2003-2013 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 3 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">

  <!-- AddOn Portlet -->
  <portlet>
    <description xml:lang="EN">AddOn Portlet</description>
    <portlet-name>AddOnPortlet</portlet-name>
    <display-name xml:lang="EN">AddOn Portlet</display-name>
    <portlet-class>org.exoplatform.webui.application.portlet.PortletApplicationController</portlet-class>    
    <init-param>
      <name>webui.configuration</name>
      <value>/WEB-INF/conf/portlet/AddOn/configuration.xml</value>
    </init-param>
    <expiration-cache>0</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>locale.portlet.addon.AddOnPortlet</resource-bundle>
    <portlet-info>
      <title>AddOn Portlet</title>
      <short-title>AddOn Portlet</short-title>  
      <keywords>marketplace-extension-webapp</keywords>
    </portlet-info>
    <portlet-preferences>
            <preference>
                <name>adminEmail</name>
                <value>addon-center@exoplatform.com</value>
                <read-only>false</read-only>
            </preference>
            <preference>
                <name>fromEmail</name>
                <value>no-reply@exoplatform.com</value>
                <read-only>false</read-only>
            </preference>
            <preference>
                <name>fromName</name>
                <value>eXo Resource Center</value>
                <read-only>false</read-only>
            </preference>
            <preference>
                <name>emailsubject</name>
                <value>Review Needed! - A new add-on has been submitted in the Resource Center</value>
                <read-only>false</read-only>
            </preference>
           <preference>
          <name>folderPath</name>
	      <value>web contents/Contributions</value>
	      <read-only>false</read-only>
      </preference>
       <preference>
          <name>siteName</name>
	      <value>intranet</value>
	      <read-only>false</read-only>
      </preference>
    </portlet-preferences>
  </portlet>  

  <!-- add-on search portlet -->
  <portlet>
    <description xml:lang="EN">Add-on search Portlet</description>
    <portlet-name>AddonSearchPortlet</portlet-name>
    <display-name xml:lang="EN">Add-ons search Portlet</display-name>
    <portlet-class>org.exoplatform.webui.application.portlet.PortletApplicationController</portlet-class>    

    <init-param>
      <name>webui.configuration</name>
      <value>/WEB-INF/conf/portlet/AddOnSearch/configuration.xml</value>
    </init-param>
    
    <expiration-cache>0</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
    </supports>
    <supported-locale>en</supported-locale>
	<resource-bundle>locale.portlet.addonsearch.AddonSearchPortlet</resource-bundle>
    <portlet-info>
      <title>Add-ons Search Portlet</title>
      <short-title>Add-ons search portlet</short-title>
      <keywords>marketplace-extension-webapp</keywords> 
    </portlet-info>
    <portlet-preferences>
      <preference>
          <name>folderPath</name>
	      <value>web contents/Contributions</value>
	      <read-only>false</read-only>
      </preference>
    </portlet-preferences>    
  </portlet>
    <!-- add-on category portlet -->
    <portlet>
        <portlet-name>CategoryManagementApplication</portlet-name>
        <display-name xml:lang="EN">Category Management Application</display-name>
        <portlet-class>juzu.bridge.portlet.JuzuPortlet</portlet-class>
        <init-param>
            <name>juzu.app_name</name>
            <value>org.exoplatform.addon.marketplace</value>
        </init-param>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
        </supports>
        <resource-bundle>locale.portlet.categoryManagement</resource-bundle>
        <portlet-info>
            <title>Categories</title>
        </portlet-info>
    </portlet>

</portlet-app>
