<commit_before><div class="col-lg-4 user-rating-container">
    <div class="user-rating-header">
        Рейтинг
    </div>
    {$sClasses = ''}
    {if $oBlog->getRating() > 0}
        {$sClasses = "$sClasses vote-count-positive"}
    {elseif $oBlog->getRating() < 0}
        {$sClasses = "$sClasses vote-count-negative"}
    {/if}
    {if $oVote}
        {$sClasses = "$sClasses voted"}
        {if $oVote->getDirection()>0}
            {$sClasses = "$sClasses voted-up"}
        {elseif $oVote->getDirection()<0}
            {$sClasses = "$sClasses voted-down"}
        {/if}
    {/if}
    <div class="user-rating vote js-vote {$sClasses}"  data-target-type="blog" data-target-id="{$oBlog->getId()}">
        {if C::Get('plugin.simplerating.blog.dislike')}
        <a href="#" class="{$sVoteClass} vote-down link link-gray link-clear js-vote-down"><i class="fa fa-thumbs-o-down"></i></a>
        {/if}
                            <span class="vote-total {$sClasses} js-vote-rating" title="{$aLang.blog_vote_count}: {$oBlog->getCountVote()}">
                                {if $oBlog->getRating() > 0}+{/if}{$oBlog->getRating()}
                            </span>
        <a href="#" class="{$sVoteClass} vote-up link link link-gray link-clear js-vote-up"><i class="fa fa-thumbs-o-up"></i></a>
    </div>
</div><commit_msg>Рейтинг блога - замена +\-<commit_after><div class="col-lg-4 user-rating-container">
    <div class="user-rating-header">
        Рейтинг
    </div>
    {$sClasses = ''}
    {if $oBlog->getRating() > 0}
        {$sClasses = "$sClasses vote-count-positive"}
    {elseif $oBlog->getRating() < 0}
        {$sClasses = "$sClasses vote-count-negative"}
    {/if}
    {if $oVote}
        {$sClasses = "$sClasses voted"}
        {if $oVote->getDirection()>0}
            {$sClasses = "$sClasses voted-up"}
        {elseif $oVote->getDirection()<0}
            {$sClasses = "$sClasses voted-down"}
        {/if}
    {/if}
    <div class="user-rating vote js-vote {$sClasses}"  data-target-type="blog" data-target-id="{$oBlog->getId()}">
        {if C::Get('plugin.simplerating.blog.dislike')}
            <a href="#" class="{$sVoteClass} vote-up link link link-gray link-clear js-vote-up"><i class="fa fa-chevron-up"></i></a>
        {/if}
        <span class="vote-total {$sClasses} js-vote-rating" title="{$aLang.blog_vote_count}: {$oBlog->getCountVote()}">
                                {if $oBlog->getRating() > 0}+{/if}{$oBlog->getRating()}
                            </span>
        <a href="#" class="{$sVoteClass} vote-down link link-gray link-clear js-vote-down"><i class="fa fa-chevron-down"></i></a>
    </div>
</div>
{'fraction_non_alphanumeric': 0.20445115050924179, 'fraction_numerical': 0.004526593738211996, 'mean_word_length': 2.417525773195876, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6545978', 'n_tokens_mistral': 939, 'n_tokens_neox': 923, 'n_words': 164}