<commit_before><?php
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;

/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
    <?php $this->beginBody() ?>
    <div class="wrap">
        <?php
            NavBar::begin([
                'brandLabel' => 'My Company',
                'brandUrl' => Yii::$app->homeUrl,
                'options' => [
                    'class' => 'navbar-inverse navbar-fixed-top',
                ],
            ]);
            
            //$form = ActiveForm::begin();
            //echo Html::dropDownList("sss", "", ["1"=>"www", "2"=>"eeeeeeeeeee"]);
            
            $menuItems = [
                ['label' => 'Home', 'url' => ['/site/index']],
				['label' => Yii::t('app', 'Data1'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Faculty} other{Faculties}}', ['n' => 2]), 'url' => ['/faculty/index']],
					['label' => Yii::t('app', '{n, plural, =1{Study Cycle} other{Study Cycles}}', ['n' => 2]), 'url' => ['/study-cycle/index']],
					['label' => Yii::t('app', '{n, plural, =1{Specialty} other{Specialties}}', ['n' => 2]), 'url' => ['/specialty/index']],
		           	['label' => Yii::t('app', '{n, plural, =1{Study Form} other{Study Forms}}', ['n' => 2]), 'url' => ['/study-form/index']],            		
		           	['label' => Yii::t('app', '{n, plural, =1{Semester} other{Semesters}}', ['n' => 2]), 'url' => ['/semester/index']],            		
				]],
				['label' => Yii::t('app', 'Data2'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Instructor} other{Instructors}}', ['n' => 2]), 'url' => ['/instructor/index']],
					['label' => Yii::t('app', '{n, plural, =1{Course} other{Courses}}', ['n' => 2]), 'url' => ['/course/index']],
		           	['label' => Yii::t('app', '{n, plural, =1{Activity Type} other{Activity Types}}', ['n' => 2]), 'url' => ['/activity-type/index']],            		
				]],
				['label' => Yii::t('app', 'Data3'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Group} other{Groups}}', ['n' => 2]), 'url' => ['/group/index']],
		            ['label' => Yii::t('app', '{n, plural, =1{Group Activity} other{Groups Activities}}', ['n' => 2]), 'url' => ['/group-activity/index']],
				]],
            ];
            if (Yii::$app->user->isGuest) {
                $menuItems[] = ['label' => 'Login', 'url' => ['/site/login']];
            } else {<commit_msg>Hide GroupActivity form main menu<commit_after><?php
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;

/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
    <?php $this->beginBody() ?>
    <div class="wrap">
        <?php
            NavBar::begin([
                'brandLabel' => 'My Company',
                'brandUrl' => Yii::$app->homeUrl,
                'options' => [
                    'class' => 'navbar-inverse navbar-fixed-top',
                ],
            ]);
            
            //$form = ActiveForm::begin();
            //echo Html::dropDownList("sss", "", ["1"=>"www", "2"=>"eeeeeeeeeee"]);
            
            $menuItems = [
                ['label' => 'Home', 'url' => ['/site/index']],
				['label' => Yii::t('app', 'Data1'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Faculty} other{Faculties}}', ['n' => 2]), 'url' => ['/faculty/index']],
					['label' => Yii::t('app', '{n, plural, =1{Study Cycle} other{Study Cycles}}', ['n' => 2]), 'url' => ['/study-cycle/index']],
					['label' => Yii::t('app', '{n, plural, =1{Specialty} other{Specialties}}', ['n' => 2]), 'url' => ['/specialty/index']],
		           	['label' => Yii::t('app', '{n, plural, =1{Study Form} other{Study Forms}}', ['n' => 2]), 'url' => ['/study-form/index']],            		
		           	['label' => Yii::t('app', '{n, plural, =1{Semester} other{Semesters}}', ['n' => 2]), 'url' => ['/semester/index']],            		
				]],
				['label' => Yii::t('app', 'Data2'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Instructor} other{Instructors}}', ['n' => 2]), 'url' => ['/instructor/index']],
					['label' => Yii::t('app', '{n, plural, =1{Course} other{Courses}}', ['n' => 2]), 'url' => ['/course/index']],
		           	['label' => Yii::t('app', '{n, plural, =1{Activity Type} other{Activity Types}}', ['n' => 2]), 'url' => ['/activity-type/index']],            		
				]],
				['label' => Yii::t('app', 'Data3'), 'items' => [
		            ['label' => Yii::t('app', '{n, plural, =1{Group} other{Groups}}', ['n' => 2]), 'url' => ['/group/index']],
//		            ['label' => Yii::t('app', '{n, plural, =1{Group Activity} other{Groups Activities}}', ['n' => 2]), 'url' => ['/group-activity/index']],
				]],
            ];
            if (Yii::$app->user->isGuest) {
                $menuItems[] = ['label' => 'Login', 'url' => ['/site/login']];
            } else {
{'fraction_non_alphanumeric': 0.2787456445993031, 'fraction_numerical': 0.009059233449477353, 'mean_word_length': 2.6220820189274447, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '4714024', 'n_tokens_mistral': 2155, 'n_tokens_neox': 1999, 'n_words': 394}