<?php
$lang->navIcons['ops'] = "<i class='icon icon-ops'></i>";

$lang->mainNav->ops           = "{$lang->navIcons['ops']} Deploy|deploy|browse|";
$lang->navGroup->ops          = 'ops';
$lang->navGroup->deploy       = 'ops';
$lang->navGroup->host         = 'ops';
$lang->navGroup->serverroom   = 'ops';
$lang->navGroup->service      = 'ops';
$lang->navGroup->account      = 'ops';
$lang->navGroup->domain       = 'ops';
$lang->mainNav->menuOrder[43] = 'ops';

$lang->ops = new stdclass();
$lang->ops->menu = new stdclass();
$lang->ops->menu->deploy     = array('link' => 'Deploy|deploy|browse', 'alias' => 'create,edit,view');
$lang->ops->menu->host       = array('link' => 'Host|host|browse', 'alias' => 'create,edit,view,treemap', 'subModule' => 'tree');
$lang->ops->menu->serverroom = array('link' => 'IDC|serverroom|browse', 'alias' => 'create,edit,view');
$lang->ops->menu->service    = array('link' => 'Service|service|manage', 'alias' => 'create,edit,view,browse');
$lang->ops->menu->account    = array('link' => 'Account|account|browse', 'alias' => 'create,edit,view,browse');
$lang->ops->menu->domain     = array('link' => 'Domain|domain|browse', 'alias' => 'create,edit,view,browse');
$lang->ops->menu->setting    = array('link' => 'Settings|ops|setting');

$lang->ops->menuOrder[5]  = 'deploy';
$lang->ops->menuOrder[10] = 'host';
$lang->ops->menuOrder[15] = 'serverroom';
$lang->ops->menuOrder[20] = 'service';
$lang->ops->menuOrder[25] = 'account';
$lang->ops->menuOrder[30] = 'domain';
$lang->ops->menuOrder[35] = 'setting';

$lang->ops->common = 'OPS';

$lang->host = new stdclass();
$lang->host->menu      = $lang->ops->menu;
$lang->host->menuOrder = $lang->ops->menuOrder;

$lang->serverroom = new stdclass();
$lang->serverroom->menu      = $lang->ops->menu;
$lang->serverroom->menuOrder = $lang->ops->menuOrder;

$lang->service = new stdclass();
$lang->service->menu = $lang->ops->menu;
$lang->service->menu->service = array('link' => 'Service|service|manage', 'alias' => 'create,edit,view,browse');
$lang->service->menuOrder     = $lang->ops->menuOrder;

$lang->deploy = new stdclass();
$lang->deploy->menu = $lang->ops->menu;
$lang->deploy->menu->deploy = array('link' => 'Deploy|deploy|browse', 'alias' => 'create,view,edit,steps,scope,managescope,activate,finish,cases,linkcases,managestep');
$lang->deploy->menuOrder    = $lang->ops->menuOrder;
