Skip to content

Commit

Permalink
Added IP, service to the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Nov 18, 2015
1 parent 743aad5 commit b2ac2d0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ class Plugin extends \hiqdev\pluginmanager\Plugin
{
protected $_items = [
'aliases' => [
"@account" => "/hosting/account",
"@hdomain" => "/hosting/hdomain",
"@db" => "/hosting/db",
"@mail" => "/hosting/mail",
"@backup" => "/hosting/backup",
"@account" => "/hosting/account",
"@hdomain" => "/hosting/hdomain",
"@db" => "/hosting/db",
"@mail" => "/hosting/mail",
"@backup" => "/hosting/backup",
"@backuping" => "/hosting/backuping",
"@service" => "/hosting/service",
"@ip" => "/hosting/ip",
],
'menus' => [
'hipanel\modules\hosting\SidebarMenu',
Expand Down
8 changes: 8 additions & 0 deletions src/SidebarMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ public function items()
'label' => Yii::t('app', 'Crons'),
'url' => ['/hosting/crontab/index'],
],
'ip' => [
'label' => Yii::t('app', 'IP'),
'url' => ['/hosting/ip/index'],
],
'service' => [
'label' => Yii::t('app', 'Service'),
'url' => ['/hosting/service/index'],
],
],
],
];
Expand Down

0 comments on commit b2ac2d0

Please sign in to comment.