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

        <config name="conf">

            <section name="globals">
                <conf name="cms_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="lib_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="bin_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="var_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="usr_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="sys_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="opt_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="pkg_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="url_dir">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="salt">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="saltlength">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="rootuser">
                    <type><![CDATA[integer]]></type>
                </conf>
                <conf name="root">
                    <type><![CDATA[integer]]></type>
                </conf>
                <conf name="system_changed">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="debug_mode">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="quiqqer_version">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="mailprotection">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="cache">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="development">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="emaillogin">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="maintenance">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>

                <conf name="host">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="httpshost">
                    <type><![CDATA[string]]></type>
                </conf>

                <conf name="timezone">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>Europe/Berlin</defaultvalue>
                </conf>
                <conf name="standardLanguage">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>en</defaultvalue>
                </conf>
                <conf name="country">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="htmlSuffix">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="sitePermissionDeniedErrorCode">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>403</defaultvalue>
                </conf>
                <conf name="no_ajax_bundler">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="favicon">
                    <type><![CDATA[string]]></type>
                </conf>

                <conf name="phpCommand">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>php</defaultvalue>
                </conf>
                <conf name="nonce">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="ignoreSiteCacheClearing">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue><![CDATA[0]]></defaultvalue>
                </conf>
                <conf name="display_errors">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue><![CDATA[0]]></defaultvalue>
                </conf>
                <conf name="log_deprecated_errors">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue><![CDATA[0]]></defaultvalue>
                </conf>
            </section>

            <section name="auth_settings">
                <conf name="showResetPasswordBackend">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="showResetPasswordFrontend">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>1</defaultvalue>
                </conf>
                <conf name="passwordResetLinkValidTime">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>720</defaultvalue>
                </conf>
                <conf name="forceNewPasswordOnReset">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>1</defaultvalue>
                </conf>
            </section>

            <section name="webserver">
                <conf name="forceHttps">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="wwwRedirect">
                    <type><![CDATA[string]]></type>
                    <defaultvalue></defaultvalue>
                </conf>
                <conf name="type">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>apache2.4</defaultvalue>
                </conf>
            </section>

            <section name="db">
                <conf name="driver">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="host">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="database">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="user">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="password">
                    <type><![CDATA[string]]></type>
                </conf>
            </section>

            <section name="mail">
                <conf name="queue">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="admin_mail">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="logging">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="SMTP">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="SMTPServer">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="SMTPPort">
                    <type><![CDATA[number]]></type>
                </conf>
                <conf name="SMTPDebug">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="SMTPAuth">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="SMTPUser">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="SMTPPass">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="SMTPSecure">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="SMTPSecureSSL_verify_peer">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="SMTPSecureSSL_verify_peer_name">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="SMTPSecureSSL_allow_self_signed">
                    <type><![CDATA[bool]]></type>
                </conf>
                <conf name="SMTPIpVersion">
                    <type><![CDATA[string]]></type>
                    <defaultvalue><![CDATA[auto]]></defaultvalue>
                </conf>

                <conf name="MAILFrom">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="MAILFromText">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="MAILReplyTo">
                    <type><![CDATA[string]]></type>
                </conf>

                <conf name="queueLimitPerHour">
                    <type><![CDATA[number]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="queueMaxRetries">
                    <type><![CDATA[number]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="admin_bcc">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="maxAttachmentSize">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>52428800</defaultvalue>
                </conf>
            </section>

            <section name="session">
                <conf name="type">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>filesystem</defaultvalue>
                </conf>
                <conf name="multible">
                    <type><![CDATA[boolean]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="max_life_time">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>14000</defaultvalue>
                </conf>
                <conf name="memcached_data">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="memcache_data">
                    <type><![CDATA[string]]></type>
                </conf>
                <locale name="regenerate">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>0</defaultvalue>
                </locale>
            </section>

            <section name="session_redis">
                <conf name="server">
                    <type><![CDATA[string]]></type>
                </conf>
            </section>

            <section name="error">
                <conf name="mail">
                    <type><![CDATA[string]]></type>
                </conf>
                <conf name="send">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="log404">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>1</defaultvalue>
                </conf>
                <conf name="mysql_ajax_errors_frontend">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="mysql_ajax_errors_backend">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
            </section>

            <section name="template">
                <conf name="engine">
                    <type><![CDATA[string]]></type>
                    <defaultvalue>smarty3</defaultvalue>
                </conf>
            </section>

            <section name="smarty">
                <conf name="compile_check">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
            </section>

            <section name="date_formats">
                <conf name="??">
                    <type><![CDATA[string]]></type>
                </conf>
            </section>

            <section name="gui">
                <conf name="displayTimeMessages">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>2500</defaultvalue>
                </conf>
                <conf name="panelTaskLimit">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>50</defaultvalue>
                </conf>
            </section>

            <section name="securityHeaders_hsts">
                <conf name="max_age">
                    <type><![CDATA[integer]]></type>
                    <defaultvalue>31536000</defaultvalue>
                </conf>
                <conf name="subdomains">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="preload">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
            </section>

            <section name="securityHeaders_csp"/>

            <section name="cookies">
                <conf name="sameSite">
                    <type><![CDATA[string]]></type>
                </conf>
            </section>

            <section name="permissions">
                <conf name="package">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
                <conf name="media">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
            </section>

            <section name="packagestore">
                <conf name="url">
                    <type><![CDATA[string]]></type>
                    <defaultvalue><![CDATA[https://store.quiqqer.com/]]></defaultvalue>
                </conf>
                <conf name="agreedToTermsOfUse">
                    <type><![CDATA[bool]]></type>
                    <defaultvalue>0</defaultvalue>
                </conf>
            </section>

            <section name="license">
                <conf name="url">
                    <type><![CDATA[string]]></type>
                </conf>
            </section>

        </config>

        <window menu-parent="/settings/quiqqer/" name="quiqqer">
            <title>
                <locale group="quiqqer/core" var="quiqqer.settings.title"/>
            </title>
            <params>
                <icon>URL_BIN_DIR/16x16/quiqqer.png</icon>
            </params>

            <categories>
                <category name="settings" require="controls/system/settings/Config" index="1">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.general.title"/>
                    </text>
                    <icon>URL_BIN_DIR/22x22/quiqqer.png</icon>
                    <settings title="globals" name="globals">
                        <title>
                            <locale group="quiqqer/core"
                                    var="quiqqer.settings.general.globals.title"
                            />
                        </title>
                        <input conf="globals.htmlSuffix" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.globals.htmlSuffix"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.globals.htmlSuffix.description"/>
                            </description>
                        </input>
                        <!--<input conf="globals.mailprotection" type="checkbox">
                            <text>
                                <locale group="quiqqer/system" var="quiqqer.settings.general.globals.mailprotection"/>
                            </text>
                            <description>
                                <locale group="quiqqer/system"
                                        var="quiqqer.settings.general.globals.mailprotection.description"/>
                            </description>
                        </input>-->
                        <input conf="permissions.package" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.permissions.package"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.permissions.description"/>
                            </description>
                        </input>
                        <input conf="permissions.media" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.permissions.media"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.permissions.media.description"/>
                            </description>
                        </input>
                        <select conf="globals.sitePermissionDeniedErrorCode">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.globals.sitePermissionDeniedErrorCode.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.globals.sitePermissionDeniedErrorCode.desc"/>
                            </description>
                            <option value="403">403 - Forbidden</option>
                            <option value="404">404 - Not Found</option>
                        </select>

                        <input conf="globals.favicon"
                               type="hidden"
                               data-qui="controls/projects/project/media/Input"
                        >
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.favicon"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.favicon.desc"/>
                            </description>
                        </input>

                        <input type="hidden" conf="globals.nonce" label="false"/>
                    </settings>

                    <settings title="templateengine" name="templateengine">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.general.template.title"/>
                        </title>
                        <input conf="template.engine" type="text" disabled="disabled">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.template.use"/>
                            </text>
                        </input>
                        <input conf="smarty.compile_check" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.template.compilecheck"/>
                            </text>
                        </input>
                    </settings>

                    <settings title="globals" name="globals">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.general.dev.title"/>
                        </title>
                        <input conf="globals.maintenance" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.dev.maintenance"/>
                            </text>
                        </input>
                        <input conf="globals.debug_mode" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.dev.debug"/>
                            </text>
                        </input>
                        <input conf="globals.development" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.dev.development"/>
                            </text>
                        </input>
                        <input conf="globals.no_ajax_bundler" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.dev.no_ajax_bundler"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.dev.no_ajax_bundler.description"
                                />
                            </description>
                        </input>
                        <input conf="globals.phpCommand">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.dev.phpCommand"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.dev.phpCommand.description"
                                />
                            </description>
                        </input>
                    </settings>

                    <settings title="globals" name="globals">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.general.updates.title"/>
                        </title>
                        <select conf="globals.quiqqer_version">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.version.title"/>
                            </text>
                        </select>
                    </settings>

                    <settings title="globals" name="globals">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.general.webserver.title"/>
                        </title>
                        <input conf="webserver.forceHttps" type="checkbox">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.forcehttps.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.forcehttps.description"/>
                            </description>
                        </input>
                        <select conf="webserver.wwwRedirect">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.wwwredirect.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.wwwredirect.description"/>
                            </description>
                            <option value="">
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.wwwredirect.none"/>
                            </option>
                            <option value="www">
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.wwwredirect.www"/>
                            </option>
                            <option value="nonwww">
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.webserver.wwwredirect.nonwww"/>
                            </option>
                        </select>
                        <select conf="webserver.type">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.webserver.type.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.webserver.type.desc"/>
                            </description>
                            <option value="">---</option>
                            <option value="apache2.4">Apache</option>
                            <option value="nginx">Nginx</option>
                            <option value="frankenphp">FrankenPHP</option>
                        </select>
                    </settings>

                    <settings title="packagestore" name="packagestore">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.packagestore.title"/>
                        </title>
                        <input conf="packagestore.url" type="text" data-qui="controls/lang/InputMultiLang">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.packagestore.url.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.packagestore.url.description"/>
                            </description>
                        </input>
                    </settings>

                    <settings title="license" name="license">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.license.title"/>
                        </title>
                        <input conf="license.url" type="text">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.license.url.title"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.license.url.description"/>
                            </description>
                        </input>
                    </settings>
                </category>

                <category name="mail" require="controls/system/settings/Mail" index="2">
                    <text>
                        <locale group="quiqqer/core" var="email"/>
                    </text>
                    <icon>fa fa-envelope-o</icon>

                    <settings title="mail" name="mail">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.email.title"/>
                        </title>
                        <input conf="mail.admin_mail" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.admin"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.admin.desc"/>
                            </description>
                        </input>
                        <input conf="mail.MAILFrom" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.MAILFrom"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.email.smtp.auth.MAILFrom.description"/>
                            </description>
                        </input>
                        <input conf="mail.MAILFromText" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.MAILFromText"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.email.smtp.auth.MAILFromText.description"/>
                            </description>
                        </input>
                        <input conf="mail.MAILReplyTo" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.MAILReplyTo"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.email.smtp.auth.MAILReplyTo.description"/>
                            </description>
                        </input>
                        <input conf="mail.queue" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queue"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queue.desc"/>
                            </description>
                        </input>
                        <input conf="mail.queueLimitPerHour" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queueLimitPerHour"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queueLimitPerHour.desc"/>
                            </description>
                        </input>
                        <input conf="mail.queueMaxRetries" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queueMaxRetries"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.queueMaxRetries.desc"/>
                            </description>
                        </input>
                        <input conf="mail.logging" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.logging"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.logging.description"/>
                            </description>
                        </input>
                        <input conf="mail.admin_bcc" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.admin_bcc"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.admin_bcc.description"/>
                            </description>
                        </input>
                        <input
                                conf="mail.maxAttachmentSize"
                                type="number"
                                data-qui="controls/projects/project/settings/FileFormat"
                        >
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.maxAttachmentSize"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.maxAttachmentSize.desc"/>
                            </description>
                        </input>
                    </settings>

                    <settings title="smtp" name="smtp">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.title"/>
                        </title>
                        <input conf="mail.SMTP" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.activasion"/>
                            </text>
                        </input>
                        <input conf="mail.SMTPServer" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.server"/>
                            </text>
                        </input>
                        <input conf="mail.SMTPPort" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.port"/>
                            </text>
                        </input>
                        <input conf="mail.SMTPDebug" type="number" placeholder="0">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.debug"/>
                            </text>
                        </input>

                        <select conf="mail.SMTPSecure">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.secure"/>
                            </text>
                            <option value="">---</option>
                            <option value="ssl">SSL</option>
                            <option value="tls">TLS</option>
                        </select>

                        <select conf="mail.SMTPIpVersion">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.SMTPIpVersion"/>
                            </text>
                            <option value="auto">
                                <locale group="quiqqer/core" var="quiqqer.settings.email.SMTPIpVersion.option.auto"/>
                            </option>
                            <option value="ipv4">
                                <locale group="quiqqer/core" var="quiqqer.settings.email.SMTPIpVersion.option.ipv4"/>
                            </option>
                            <option value="ipv6">
                                <locale group="quiqqer/core" var="quiqqer.settings.email.SMTPIpVersion.option.ipv6"/>
                            </option>
                        </select>
                    </settings>

                    <settings title="smtp" name="smtp">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.title"/>
                        </title>

                        <input conf="username"
                               type="text"
                               style="display: none"
                               label-style="display: none"
                               row-style="display: none"
                        />

                        <input conf="password"
                               type="password"
                               style="display: none"
                               label-style="display: none"
                               row-style="display: none"
                        />

                        <input conf="mail.SMTPAuth" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.activasion"/>
                            </text>
                        </input>
                        <input conf="mail.SMTPUser" type="text" autocomplete="mail.SMTPUser">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.user"/>
                            </text>
                        </input>
                        <input conf="mail.SMTPPass" type="password" autocomplete="mail.SMTPPass">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.email.smtp.auth.password"/>
                            </text>
                        </input>
                    </settings>
                </category>

                <category name="auth" require="controls/system/settings/Auth" index="3">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.auth"/>
                    </text>
                    <icon>fa fa-user</icon>

                    <settings title="auth" name="auth">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.auth"/>
                        </title>

                        <input conf="globals.emaillogin" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.emaillogin"/>
                            </text>
                        </input>

                        <input conf="auth_settings.showResetPasswordBackend" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.showResetPasswordBackend"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.auth.showResetPasswordBackend.description"/>
                            </description>
                        </input>

                        <input conf="auth_settings.showResetPasswordFrontend" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.showResetPasswordFrontend"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.auth.showResetPasswordFrontend.description"/>
                            </description>
                        </input>

                        <input conf="auth_settings.forceNewPasswordOnReset" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.forceNewPasswordOnReset"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.auth.forceNewPasswordOnReset.description"/>
                            </description>
                        </input>

                        <input conf="auth_settings.passwordResetLinkValidTime" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.passwordResetLinkValidTime"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.auth.passwordResetLinkValidTime.description"/>
                            </description>
                        </input>

                        <!--<select conf="auth.type" type="text">-->
                        <!--<text>-->
                        <!--<locale group="quiqqer/system" var="quiqqer.settings.auth.type"/>-->
                        <!--</text>-->

                        <!--<option value="standard">-->
                        <!--<locale group="quiqqer/system" var="quiqqer.settings.auth.standard"/>-->
                        <!--</option>-->
                        <!--</select>-->
                    </settings>

                    <settings title="auth-session" name="auth-session">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.auth.session"/>
                        </title>

                        <input conf="session.multible" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.session.multible"/>
                            </text>
                        </input>

                        <input conf="session.max_life_time">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.session.maxlife"/>
                            </text>
                        </input>

                        <select conf="session.type" type="text">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.session.type"/>
                            </text>

                            <option value="filesystem">
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.sessionType.filesystem"/>
                            </option>
                            <option value="database">
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.sessionType.database"/>
                            </option>
                            <option value="memcached">
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.sessionType.memcached"/>
                            </option>
                            <option value="redis">
                                <locale group="quiqqer/core" var="quiqqer.settings.auth.sessionType.redis"/>
                            </option>
                            <!--<option value="mongodb">
                                <locale group="quiqqer/system" var="quiqqer.settings.auth.sessionType.mongodb" />
                            </option>-->
                        </select>

                        <!--<input conf="session.memcached_data" type="hidden"/>-->
                    </settings>


                    <settings>
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.auth.global"/>
                        </title>
                        <description>
                            <locale group="quiqqer/core" var="quiqqer.settings.auth.global.desc"/>
                        </description>
                        <input label="false"
                               type="hidden"
                               name="global.authenticators"
                               data-qui="controls/users/auth/GlobalAuthenticatorSettings"/>
                    </settings>

                </category>

                <category name="language_settings" index="4">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.language_settings"/>
                    </text>
                    <icon>fa fa-calendar</icon>

                    <settings title="languages" name="languages">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.languages.title"/>
                        </title>
                        <input conf="globals.standardLanguage" type="string" data-qui="controls/lang/Select">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.globals.standardLanguage"/>
                            </text>
                        </input>
                    </settings>

                    <settings title="date_timezone" name="date_timezone">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.timezone.title"/>
                        </title>
                        <input conf="globals.timezone" type="string">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.general.globals.timezone"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.general.globals.timezone.description"/>
                            </description>
                        </input>
                    </settings>

                    <settings title="date_formats" name="date_formats">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.date_formats.title"/>
                        </title>

                        <input conf="date_formats"
                               data-qui="controls/system/AvailableLanguages"
                        >
                            <description>
                                <locale group="quiqqer/core" var="quiqqer.settings.date_formats.description"/>
                            </description>
                        </input>
                    </settings>

                    <settings title="delimiter_formats" name="delimiter_formats">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.delimiter_formats.title"/>
                        </title>

                        <input data-qui="controls/system/settings/FormatSettings"/>
                    </settings>
                </category>

                <category name="country_settings" index="5">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.country_settings"/>
                    </text>
                    <icon>fa fa-globe</icon>

                    <settings>
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.country.title"/>
                        </title>

                        <input conf="globals.country" name="country"
                               data-qui="package/quiqqer/countries/bin/controls/Select"
                        >
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.country.default.title"/>
                            </text>
                        </input>
                    </settings>

                    <settings title="country" name="country">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.available.countries.title"/>
                        </title>

                        <input label="false" type="hidden"
                               data-qui="package/quiqqer/countries/bin/controls/backend/Settings"
                        />
                    </settings>
                </category>

                <category name="gui" index="6">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.gui"/>
                    </text>
                    <icon>fa fa-user</icon>

                    <settings title="gui" name="gui">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.gui.title"/>
                        </title>

                        <input conf="gui.displayTimeMessages" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.gui.displayTimeMessages.text"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.gui.displayTimeMessages.description"/>
                            </description>
                        </input>

                        <input conf="gui.panelTaskLimit" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.gui.panel.task.limit"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.gui.panel.task.limit.description"/>
                            </description>
                        </input>
                    </settings>
                </category>

                <category name="security_headers" index="7">
                    <text>
                        <locale group="quiqqer/core" var="quiqqer.settings.security_headers"/>
                    </text>
                    <icon>fa fa-unlock-alt</icon>

                    <settings title="cookies" name="cookies">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.cookies.title"/>
                        </title>
                        <description>
                            <locale group="quiqqer/core" var="quiqqer.settings.cookies.description"/>
                        </description>

                        <select conf="cookies.sameSite" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.cookies.sameSite"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.cookies.sameSite.description"/>
                            </description>
                            <option value=""></option>
                            <option value="None">None</option>
                            <option value="Lax">Lax</option>
                            <option value="Strict">Strict</option>
                        </select>
                    </settings>

                    <settings title="securityHeaders_hsts" name="securityHeaders_hsts">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.security_headers.hsts.title"/>
                        </title>
                        <description>
                            <locale group="quiqqer/core" var="quiqqer.settings.security_headers.hsts.description"/>
                        </description>

                        <input conf="securityHeaders_hsts.max_age" type="number">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.security_headers.hsts.max_age"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.security_headers.hsts.max_age.description"/>
                            </description>
                        </input>

                        <input conf="securityHeaders_hsts.preload" type="checkbox">
                            <text>
                                <locale group="quiqqer/core" var="quiqqer.settings.security_headers.hsts.preload"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.security_headers.hsts.preload.description"/>
                            </description>
                        </input>

                        <input conf="securityHeaders_hsts.subdomains" type="checkbox">
                            <text>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.security_headers.hsts.subdomains"/>
                            </text>
                            <description>
                                <locale group="quiqqer/core"
                                        var="quiqqer.settings.security_headers.hsts.subdomains.description"/>
                            </description>
                        </input>
                    </settings>

                    <settings title="securityHeaders_csp" name="securityHeaders_csp">
                        <title>
                            <locale group="quiqqer/core" var="quiqqer.settings.security_headers.csp.title"/>
                        </title>
                        <input type="hidden"
                               conf="securityHeaders_csp"
                               data-qui="controls/system/settings/CSPSettings"
                               label="false"/>
                    </settings>
                </category>

                <category name="vhosts"
                          index="8"
                          click="functions/openVhost"
                >
                    <text>
                        <locale group="quiqqer/core" var="menu.settings.vhosts.text"/>
                    </text>
                    <icon>fa fa-location-arrow</icon>
                </category>

                <category name="forwardings"
                          index="9"
                          click="functions/openForwarding"
                >
                    <text>
                        <locale group="quiqqer/core" var="menu.settings.forwardings.text"/>
                    </text>
                    <icon>fa fa-external-link</icon>
                </category>

            </categories>
        </window>
    </settings>
</quiqqer>
