<commit_before>{% extends 'AdminCoreBundle::layout.html.twig' %}


{% block content_title %}
    {{ 'Configuration Zone'|trans }}
{% endblock content_title %}


{% block breadcrumb %}
    {% include "@AdminCore/Common/breadcrumb.html.twig" with {
        breadcrumb: {
            'Plugins': {
                    'url': url('admin_plugin_list')
                },
                ('Disqus'): {
                    'active': true
                }
            }
        }
    %}
{% endblock breadcrumb %}


{% block content %}
    <form class="form" method="POST">
        <fieldset>
            <div class="col-1-3">
                <h2 class="fw-n">Disqus Setup</h2>
                <a target="_blank" href="https://disqus.com/">Go to disqus</a>
            </div>
            <div class="col-2-3">
                <div class="box">
                    <ol>
                        <li>
                            <label for="disqus_identifier">{{ 'Disqus tracking ID'|trans }}</label>
                            <input id="disqus_identifier" type="text" name="disqus_identifier" value="{{ plugin.configuration['disqus_identifier'] }}" placeholder="2583573" />
                        </li>
                    </ol>
                </div><commit_msg>Fixed repository and added warning<commit_after>{% extends 'AdminCoreBundle::layout.html.twig' %}


{% block content_title %}
    {{ 'Configuration Zone'|trans }}
{% endblock content_title %}


{% block breadcrumb %}
    {% include "@AdminCore/Common/breadcrumb.html.twig" with {
        breadcrumb: {
            'Plugins': {
                    'url': url('admin_plugin_list')
                },
                ('Disqus'): {
                    'active': true
                }
            }
        }
    %}
{% endblock breadcrumb %}


{% block content %}

    {% if plugin.configuration['disqus_identifier'] == '' %}
        <p class="msg-warning">{{ "Warning! In order to enable Disqus you need to set your ID"|trans }}</p>
    {% endif %}

    <form class="form" method="POST">
        <fieldset>
            <div class="col-1-3">
                <h2 class="fw-n">Disqus Setup</h2>
                <a target="_blank" href="https://disqus.com/">Go to disqus</a>
            </div>
            <div class="col-2-3">
                <div class="box">
                    <ol>
                        <li>
                            <label for="disqus_identifier">{{ 'Disqus tracking ID'|trans }}</label>
                            <input id="disqus_identifier" type="text" name="disqus_identifier" value="{{ plugin.configuration['disqus_identifier'] }}" placeholder="2583573" />
                        </li>
                    </ol>
                </div>
{'fraction_non_alphanumeric': 0.15305371596762327, 'fraction_numerical': 0.009565857247976454, 'mean_word_length': 1.531657355679702, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 2, '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': '5449176', 'n_tokens_mistral': 827, 'n_tokens_neox': 752, 'n_words': 145}