<commit_before><?php

use hiqdev\themes\site\models\Theme;
use yii\widgets\ListView;
use yii\widgets\Menu;

$this->title = Yii::t('hiqdev:themes', 'Catalog');
$this->params['breadcrumbs'][] = $this->title;

?>

<div class="col-md-3">

    <div class="panel panel-default sidebar-menu"><commit_msg>Added options for breadcrumbs depending on the parameters passed<commit_after><?php

use hiqdev\themes\site\models\Theme;
use yii\widgets\ListView;
use yii\widgets\Menu;

if ($type) {
    $this->title = Theme::getTypes()[$type];
    $this->params['breadcrumbs'][] = ['label' =>Yii::t('hiqdev:themes', 'Catalog'), 'url' => ['/theme/catalog']];
    $this->params['breadcrumbs'][] = $this->title;
} else {
    $this->title = Yii::t('hiqdev:themes', 'Catalog');
    $this->params['breadcrumbs'][] = $this->title;
}

?>

<div class="col-md-3">

    <div class="panel panel-default sidebar-menu">
{'fraction_non_alphanumeric': 0.21758737316798196, 'fraction_numerical': 0.002254791431792559, 'mean_word_length': 5.166666666666667, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, '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': '4597481', 'n_tokens_mistral': 332, 'n_tokens_neox': 326, 'n_words': 56}