<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2000 - 2026 Silverpeas

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

    As a special exception to the terms and conditions of version 3.0 of
    the GPL, you may redistribute this Program in connection with Free/Libre
    Open Source Software ("FLOSS") applications as described in Silverpeas's
    FLOSS exception.  You should have received a copy of the text describing
    the FLOSS exception, and it is also available here:
    "https://www.silverpeas.org/docs/core/legal/floss_exception.html"

    This program 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 Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

-->

<WAComponent xmlns="http://silverpeas.org/xml/ns/component"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://silverpeas.org/xml/ns/component https://www.silverpeas.org/xsd/component.xsd">
  <name>webPages</name>
  <label>
    <message lang="fr">Page web</message>
    <message lang="en">Webpage</message>
    <message lang="de">Webpage</message>
  </label>
  <description>
    <message lang="fr">Cette application permet de faciliter la gestion de
      contenu (page d’accueil, page de présentation...).
      Son contenu peut être totalement libre ou bien structuré. La mise en page peut
      être personnalisée.
    </message>
    <message lang="en">Create a web page using the WYSIWYG editor</message>
    <message lang="de">Ermöglicht es Ihnen, eine Webseite mit einem WYSIWYG-Editor zu erstellen.
    </message>
  </description>
  <suite>
    <message lang="fr">04 Gestion de contenu</message>
    <message lang="en">04 Content Management</message>
    <message lang="de">04 Inhaltsverwaltung</message>
  </suite>
  <visible>true</visible>
  <portlet>true</portlet>
  <profiles>
    <profile name="admin">
      <label>
        <message lang="fr">Gestionnaires</message>
        <message lang="en">Managers</message>
        <message lang="de">Manager</message>
      </label>
      <help>
        <message lang="fr">Les gestionnaires gèrent la page web ainsi que les abonnements.</message>
        <message lang="en">Managers manage the web page and subscriptions.</message>
        <message lang="en">Managers manage the web page and subscriptions.</message>
      </help>
      <spaceMapping>
        <profile>admin</profile>
      </spaceMapping>
    </profile>
    <profile name="publisher">
      <label>
        <message lang="fr">Publieurs</message>
        <message lang="en">Publishers</message>
        <message lang="de">Herausgeber</message>
      </label>
      <help>
        <message lang="fr">Les publieurs gèrent la page web.</message>
        <message lang="en">Publishers manage the web page.</message>
        <message lang="de">Herausgeber</message>
      </help>
      <spaceMapping>
        <profile>publisher</profile>
        <profile>writer</profile>
      </spaceMapping>
    </profile>
    <profile name="user">
      <label>
        <message lang="fr">Lecteurs</message>
        <message lang="en">Readers</message>
        <message lang="de">Leser</message>
      </label>
      <help>
        <message lang="fr">Les lecteurs visualisent la page web.</message>
        <message lang="en">Readers visualize the web page</message>
        <message lang="de">Leser</message>
      </help>
      <spaceMapping>
        <profile>reader</profile>
      </spaceMapping>
    </profile>
  </profiles>
  <parameters>
    <parameter>
      <!-- the name of the parameter is defined by the ResourceSubscriptionService interface as it
      is used to automatically listen any value change of this parameter -->
      <name>useSubscription</name>
      <label>
        <message lang="fr">Gestion de l'abonnement</message>
        <message lang="en">Manage subscription</message>
        <message lang="de">Abonnement verwalten</message>
      </label>
      <order>1</order>
      <mandatory>true</mandatory>
      <value>yes</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Permet d'envoyer une notification aux utilisateurs abonnés à la page
          Web.
        </message>
        <message lang="en">Allows to send a notification to the users who have subscribed to the Web
          page.
        </message>
        <message lang="de">Ermöglicht es eine Benachrichtigung an den Benutzern zu senden, die sich
          an der Web-Seite abonniert haben .
        </message>
      </help>
    </parameter>
    <parameter>
      <name>xmlTemplate</name>
      <label>
        <message lang="fr">Formulaire utilisé</message>
        <message lang="en">XML form</message>
        <message lang="de">XML formular</message>
      </label>
      <order>2</order>
      <mandatory>false</mandatory>
      <value></value>
      <type>xmltemplates</type>
      <updatable>creation</updatable>
      <help>
        <message lang="fr">Permet d'utiliser un formulaire comme masque de saisie.</message>
        <message lang="en">Allows you to use a form as an input mask.</message>
        <message lang="de">Damit können Sie ein Formular als Eingabemaske verwenden</message>
      </help>
    </parameter>
    <parameter>
      <name>xmlTemplate2</name>
      <label>
        <message lang="fr">Autre formulaire utilisé</message>
        <message lang="en">Other form used</message>
        <message lang="de">Anderes Formular verwendet</message>
      </label>
      <order>3</order>
      <mandatory>false</mandatory>
      <value></value>
      <type>xmltemplates</type>
      <updatable>creation</updatable>
      <help>
        <message lang="fr">Permet d'utiliser un formulaire comme masque de saisie.</message>
        <message lang="en">Allows you to use a form as an input mask.</message>
        <message lang="de">Damit können Sie ein Formular als Eingabemaske verwenden</message>
      </help>
    </parameter>
  </parameters>
</WAComponent>
