<commit_before><?php

/*
 * Domain plugin for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-domain
 * @package   hipanel-module-domain
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

namespace hipanel\modules\domain\menus;

use Yii;

class SidebarMenu extends \hiqdev\menumanager\Menu
{
    public function items()
    {
        return [
            'domains' => [
                'label' => Yii::t('hipanel', 'Domains'),
                'url'   => ['/domains/default/index'],
                'icon'  => 'fa-globe',
                'items' => [
                    'domains' => [
                        'label' => Yii::t('hipanel', 'Domains'),
                        'url'   => ['/domain/domain/index'],
                    ],
                    'nameservers' => [
                        'label' => Yii::t('hipanel', 'Name Servers'),
                        'url'   => ['/domain/host/index'],
                    ],
                    'contacts' => [
                        'label' => Yii::t('hipanel', 'Contacts'),
                        'url'   => ['/client/contact/index'],
                    ],
                    'check-domain' => [
                        'label' => Yii::t('hipanel/domain', 'Buy domain'),
                        'url'   => ['/domainchecker/domainchecker/check-domain'],
                    ],
                    'transfer' => [
                        'label' => Yii::t('hipanel/domain', 'Transfer domain'),
                        'url'   => ['/domain/domain/transfer'],
                    ],
//                  'seo' => [
//                      'label' => Yii::t('hipanel/domain', 'SEO'),
//                      'url'   => ['/domain/domain/index'],
//                  ],
                ],
            ],
        ];
    }
}<commit_msg>Added to sidebar menu link to whois lookup<commit_after><?php

/*
 * Domain plugin for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-domain
 * @package   hipanel-module-domain
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

namespace hipanel\modules\domain\menus;

use Yii;

class SidebarMenu extends \hiqdev\menumanager\Menu
{
    public function items()
    {
        return [
            'domains' => [
                'label' => Yii::t('hipanel', 'Domains'),
                'url'   => ['/domains/domain/index'],
                'icon'  => 'fa-globe',
                'items' => [
                    'domains' => [
                        'label' => Yii::t('hipanel', 'Domains'),
                        'url'   => ['/domain/domain/index'],
                    ],
                    'nameservers' => [
                        'label' => Yii::t('hipanel', 'Name Servers'),
                        'url'   => ['/domain/host/index'],
                    ],
                    'contacts' => [
                        'label' => Yii::t('hipanel', 'Contacts'),
                        'url'   => ['/client/contact/index'],
                    ],
                    'check-domain' => [
                        'label' => Yii::t('hipanel/domain', 'Buy domain'),
                        'url'   => ['/domainchecker/domainchecker/check-domain'],
                    ],
                    'transfer' => [
                        'label' => Yii::t('hipanel/domain', 'Transfer domain'),
                        'url'   => ['/domainchecker/transfer/index'],
                    ],
                    'whois' => [
                        'label' => Yii::t('hipanel/domainchecker', 'Whois lookup'),
                        'url'   => ['/domainchecker/whois/index'],
                    ],
                ],
            ],
        ];
    }
}
{'fraction_non_alphanumeric': 0.16728822589238146, 'fraction_numerical': 0.004794885455514118, 'mean_word_length': 1.1347356452529846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 49, 'https://': 2, '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': '4860861', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1031, 'n_words': 162}