<commit_before><hr />
<?php

    $shortname = app_setting('comments_disqus_shortname', 'blog-' . $blog->id);

    if ($shortname) {

        ?>
        <div id="disqus_thread"></div>
        <script type="text/javascript">
            /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
            var disqus_shortname = '<?=$shortname?>'; // required: replace example with your forum shortname

            /* * * DON'T EDIT BELOW THIS LINE * * */
            (function() {
                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
            })();
        </script>
        <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
        <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
        <?php

    } elseif ($this->user_model->isAdmin()) {

        ?>
        <p class="alert alert-danger">
            <strong>Disqus is not configured correctly</strong>
            <br />A shortname has not been specified for this website. Please create a shortname and define it in this site's <?anchor('admin/settings/blog', 'blog settings')?>.
        </p>
        <?php
    }<commit_msg>Teeny tiny bug fix<commit_after><hr />
<?php

    $shortname = app_setting('comments_disqus_shortname', 'blog-' . $blog->id);

    if ($shortname) {

        ?>
        <div id="disqus_thread"></div>
        <script type="text/javascript">
            /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
            var disqus_shortname = '<?=$shortname?>'; // required: replace example with your forum shortname

            /* * * DON'T EDIT BELOW THIS LINE * * */
            (function() {
                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
            })();
        </script>
        <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
        <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
        <?php

    } elseif ($this->user_model->isAdmin()) {

        ?>
        <p class="alert alert-danger">
            <strong>Disqus is not configured correctly</strong>
            <br />A shortname has not been specified for this website. Please create a shortname and define it in this site's <?anchor('admin/blog/settings', 'blog settings')?>.
        </p>
        <?php
    }
{'fraction_non_alphanumeric': 0.1565101565101565, 'fraction_numerical': 0.001332001332001332, 'mean_word_length': 2.4930232558139536, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 53, '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': '2264193', 'n_tokens_mistral': 919, 'n_tokens_neox': 888, 'n_words': 209}