<commit_before><?php
    $this->pageEnv([
        'layout' => [
            'blankPage' => false,
            'needRight' => false
        ],
        'pageId' => 61,
    ]);

    $this->layout()->moduleName = 'default/brands';
?>
<?php foreach ($this->brandList as $type => $line) { ?>
    <?php if (count($line) > 0) { ?>
        <div><div class="btn-group" data-type="<?=$type?>">
            <?php foreach ($line as $info) { ?>
                <?=$this->htmlA([
                    'class' => 'btn btn-default',
                    'href'  => '#char' . $info['id']
                ], $info['char'])?>
            <?php } ?>
        </div></div>
    <?php } ?>
<?php } ?>

<?php foreach ($this->brandList as $line) { ?>
    <?php foreach ($line as $number => $info) { ?>
        <h2 id="char<?=urlencode($info['id'])?>">→ <?=$this->escapeHtml($info['char'])?></h2>
        <div class="brand-icons">
            <?php foreach ($info['brands'] as $idx => $brand) {
                $newCars = $brand['newCars'];
                $oldCars = $brand['totalCars'] - $newCars;

                ?><div>
                    <?=$this->htmlA([
                        'href'  => $brand['url'],
                        'class' => 'brandicon brandicon-' . $brand['catname']
                    ], '') ?>
                    <h4>
                        <?=$this->htmlA($brand['url'], $brand['name'])?>
                        <small>(<?=$oldCars ?><?php if ($newCars > 0) {
                            echo '<span data-href="'.$this->escapeHtmlAttr($brand['newCarsUrl']).'" data-toggle="popover" data-container="body" class="popover-handler" title="'.$this->escapeHtmlAttr(sprintf($this->translate('brands/new-cars-of-brand'), $brand['name'])).'">+'.$newCars.'</span>';
                        } ?>)</small>
                    </h4>
                    <p><small><?=$this->escapeHtml($this->translate('brands/pictures:'))?> <?=$brand['totalPictures'] ?></small></p>
                </div><?php
            } ?>
        </div>
    <?php } ?>
<?php } ?><commit_msg>Dot in brands sprite class name<commit_after><?php
    $this->pageEnv([
        'layout' => [
            'blankPage' => false,
            'needRight' => false
        ],
        'pageId' => 61,
    ]);

    $this->layout()->moduleName = 'default/brands';
?>
<?php foreach ($this->brandList as $type => $line) { ?>
    <?php if (count($line) > 0) { ?>
        <div><div class="btn-group" data-type="<?=$type?>">
            <?php foreach ($line as $info) { ?>
                <?=$this->htmlA([
                    'class' => 'btn btn-default',
                    'href'  => '#char' . $info['id']
                ], $info['char'])?>
            <?php } ?>
        </div></div>
    <?php } ?>
<?php } ?>

<?php foreach ($this->brandList as $line) { ?>
    <?php foreach ($line as $number => $info) { ?>
        <h2 id="char<?=urlencode($info['id'])?>">→ <?=$this->escapeHtml($info['char'])?></h2>
        <div class="brand-icons">
            <?php foreach ($info['brands'] as $idx => $brand) {
                $newCars = $brand['newCars'];
                $oldCars = $brand['totalCars'] - $newCars;

                ?><div>
                    <?=$this->htmlA([
                        'href'  => $brand['url'],
                        'class' => 'brandicon brandicon-' . str_replace('.', '_', $brand['catname'])
                    ], '') ?>
                    <h4>
                        <?=$this->htmlA($brand['url'], $brand['name'])?>
                        <small>(<?=$oldCars ?><?php if ($newCars > 0) {
                            echo '<span data-href="'.$this->escapeHtmlAttr($brand['newCarsUrl']).'" data-toggle="popover" data-container="body" class="popover-handler" title="'.$this->escapeHtmlAttr(sprintf($this->translate('brands/new-cars-of-brand'), $brand['name'])).'">+'.$newCars.'</span>';
                        } ?>)</small>
                    </h4>
                    <p><small><?=$this->escapeHtml($this->translate('brands/pictures:'))?> <?=$brand['totalPictures'] ?></small></p>
                </div><?php
            } ?>
        </div>
    <?php } ?>
<?php } ?>
{'fraction_non_alphanumeric': 0.23533671252715424, 'fraction_numerical': 0.003861935795317403, 'mean_word_length': 1.7353135313531354, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 143, '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': '9745', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1240, 'n_words': 208}