<?xml version="1.0" encoding="UTF-8"?>
<ajxpcore id="core.conf" label="CONF_MESSAGE[Configurations Management]"
          description="CONF_MESSAGE[Sets how the application core data (users,roles,etc) is stored.]"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd"
          mixins="dibidriver_provider"
        >
    <class_definition classname="CoreConfLoader" filename="plugins/core.conf/class.CoreConfLoader.php"/>
    <client_settings>
        <resources>
            <i18n namespace="core_conf" path="plugins/core.conf/i18n"/>
        </resources>
    </client_settings>
	<server_settings>
        <param name="ROLE_DISPLAY_NAME" scope="role" description="Role Label" label="Role Label" type="string" expose="true"/>
        <param name="USER_DISPLAY_NAME" scope="user" description="Full Name" label="Full name" type="string" expose="true" editable="true"/>
        <param name="avatar" scope="user" description="Avatar" label="Avatar" type="image" expose="true"
               editable="true"
               uploadAction="store_binary_temp"
               loadAction="get_binary_param"
               defaultImage="plugins/core.conf/default_avatar.png"
                />
        <param name="email" scope="user" description="Email" label="Email Address" type="string" expose="true" editable="true"/>
        <param name="country" scope="role,user" description="Country" label="Country" type="select" choices="fr|France,uk|United Kingdom,de|Germany" expose="true" editable="true"/>
        <param name="lang" scope="role,user" description="User Language" label="Language" type="select" choices="AJXP_AVAILABLE_LANGUAGES" expose="true" editable="true"/>
        <global_param name="USER_CREATE_REPOSITORY" group="CONF_MESSAGE[Generic Conf Features]"  type="boolean" label="CONF_MESSAGE[Let user create repositories]" description="Whether users can create their own repositories, based on predefined templates."  mandatory="false" default="false"/>
        <global_param name="SAVE_GUEST_PREFERENCES" group="CONF_MESSAGE[Generic Conf Features]"  type="boolean" label="CONF_MESSAGE[Remember guest preferences]" description="If the 'guest' user is enabled, remember her preferences accross sessions."  mandatory="true" default="false"/>
        <global_param name="SKIP_USER_HISTORY" group="CONF_MESSAGE[Generic Conf Features]"  type="boolean" label="CONF_MESSAGE[Skip user history]" description="Use this option if you want to avoid the automatic opening of the last visited folder at login."  mandatory="false" default="false"/>
        <global_param name="DIBI_PRECONFIGURATION" group="CONF_MESSAGE[Generic Conf Features]" type="group_switch:dibi_provider" label="CONF_MESSAGE[SQL Connexion]" description="CONF_MESSAGE[Simple SQL Connexion definition that can be used by other sql-based plugins]" mandatory="false"/>
        <global_param description="CONF_MESSAGE[Maximum number of users displayed in the users autocompleter]" label="CONF_MESSAGE[Users completer limit]" name="USERS_LIST_COMPLETE_LIMIT" type="integer" default="20"/>
        <global_param description="CONF_MESSAGE[Minimum number of characters to trigger the auto completion feature]" label="CONF_MESSAGE[Users completer min chars]" name="USERS_LIST_COMPLETE_MIN_CHARS" type="integer" default="3" expose="true"/>
        <global_param description="CONF_MESSAGE[Do not display real login in parenthesis]" label="CONF_MESSAGE[Hide real login]" name="USERS_LIST_HIDE_LOGIN" type="boolean" default="false"/>
        <global_param name="ALLOW_CROSSUSERS_SHARING" group="CONF_MESSAGE[Sharing]" type="boolean" label="CONF_MESSAGE[See existing users]" description="CONF_MESSAGE[Allow the users to pick an existing user when sharing a folder]" mandatory="false" default="true"/>
        <global_param type="plugin_instance:conf" name="UNIQUE_INSTANCE_CONFIG" group="CONF_MESSAGE[Instance Param]" label="CONF_MESSAGE[Instance]" description="CONF_MESSAGE[Choose the configuration plugin]" mandatory="true" default="conf.serial"/>
    </server_settings>
</ajxpcore>