<commit_before>{% extends "./layout/default" %}

{% block breadcrumbs %}
    {{ Breadcrumbs.renderIfExists }}
{% endblock %}
{% block content %}
    <form action="{{ route('admin.configuration.index.post') }}" method="post" id="store" class="form-horizontal">

        <div class="row">

            <input type="hidden" name="_token" value="{{ csrf_token() }}"/>

            {# single user mode #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_single_user_mode'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_single_user_mode_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('single_user_mode','1', singleUserMode) }}
                    </div>
                </div>
            </div>
            {# need to activate account #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_must_confirm_account'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_must_confirm_account_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('must_confirm_account','1', mustConfirmAccount) }}
                    </div>
                </div>
            </div>

            {# installation is demo site #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_is_demo_site'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_is_demo_site_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('is_demo_site','1', isDemoSite) }}
                    </div>
                </div>
            </div>
            {# send email messages #}

            <!-- configuration setting block -->
            <!--
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_x'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_x_explain'|_ }}
                        </p>
                    </div>
                </div>
            </div>
            -->
        </div>
        <div class="row">
            {# send email messages about stuff: #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_send_email_notifications'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_send_email_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('mail_for_lockout','1', sendErrorMessage.mail_for_lockout, {helpText: trans('firefly.mail_for_lockout_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_domain','1', sendErrorMessage.mail_for_blocked_domain, {helpText: trans('firefly.mail_for_blocked_domain_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_email','1', sendErrorMessage.mail_for_blocked_email, {helpText: trans('firefly.mail_for_blocked_email_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_bad_login','1', sendErrorMessage.mail_for_bad_login, {helpText: trans('firefly.mail_for_bad_login_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_login','1', sendErrorMessage.mail_for_blocked_login, {helpText: trans('firefly.mail_for_blocked_help')}) }}
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <button type="submit" class="btn btn-success">
                    {{ ('store_configuration')|_ }}
                </button>
            </div>
        </div>

    </form>

{% endblock %}<commit_msg>Wrong reference #461 [skip ci]<commit_after>{% extends "./layout/default" %}

{% block breadcrumbs %}
    {{ Breadcrumbs.renderIfExists }}
{% endblock %}
{% block content %}
    <form action="{{ route('admin.configuration.index.post') }}" method="post" id="store" class="form-horizontal">

        <div class="row">

            <input type="hidden" name="_token" value="{{ csrf_token() }}"/>

            {# single user mode #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_single_user_mode'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_single_user_mode_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('single_user_mode','1', singleUserMode) }}
                    </div>
                </div>
            </div>
            {# need to activate account #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_must_confirm_account'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_must_confirm_account_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('must_confirm_account','1', mustConfirmAccount) }}
                    </div>
                </div>
            </div>

            {# installation is demo site #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_is_demo_site'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_is_demo_site_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('is_demo_site','1', isDemoSite) }}
                    </div>
                </div>
            </div>
            {# send email messages #}

            <!-- configuration setting block -->
            <!--
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_x'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_x_explain'|_ }}
                        </p>
                    </div>
                </div>
            </div>
            -->
        </div>
        <div class="row">
            {# send email messages about stuff: #}
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <div class="box box-default">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'setting_send_email_notifications'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <p class="text-info">
                            {{ 'setting_send_email_explain'|_ }}
                        </p>
                        {{ ExpandedForm.checkbox('mail_for_lockout','1', sendErrorMessage.mail_for_lockout, {helpText: trans('firefly.mail_for_lockout_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_domain','1', sendErrorMessage.mail_for_blocked_domain, {helpText: trans('firefly.mail_for_blocked_domain_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_email','1', sendErrorMessage.mail_for_blocked_email, {helpText: trans('firefly.mail_for_blocked_email_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_bad_login','1', sendErrorMessage.mail_for_bad_login, {helpText: trans('firefly.mail_for_bad_login_help')}) }}
                        {{ ExpandedForm.checkbox('mail_for_blocked_login','1', sendErrorMessage.mail_for_blocked_login, {helpText: trans('firefly.mail_for_blocked_login_help')}) }}
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
                <button type="submit" class="btn btn-success">
                    {{ ('store_configuration')|_ }}
                </button>
            </div>
        </div>

    </form>

{% endblock %}
{'fraction_non_alphanumeric': 0.14689790440796943, 'fraction_numerical': 0.011458655930628678, 'mean_word_length': 1.3658119658119658, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 153, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2004068', 'n_tokens_mistral': 2804, 'n_tokens_neox': 2613, 'n_words': 436}