Files

35 lines
1.3 KiB
PHP

<?php
$config->host->create = new stdclass();
$config->host->edit = new stdclass();
$config->host->changestatus = new stdclass();
$config->host->create->requiredFields = 'name,intranet,extranet';
$config->host->edit->requiredFields = 'name,intranet,extranet';
$config->host->create->ipFields = 'intranet,extranet';
$config->host->create->intFields = 'diskSize,memory';
$config->host->editor = new stdclass();
$config->host->editor->changestatus = array('id' => 'reason', 'tools' => 'simple');
global $lang;
$config->host->featureBar = array(
'all' => array(
'text' => $lang->host->featureBar['browse']['all'],
'active' => false,
'url' => helper::createLink('host', 'browse'),
),
'serverroom' => array(
'text' => $lang->host->featureBar['browse']['serverroom'],
'active' => false,
'url' => helper::createLink('host', 'treemap', 'type=serverroom'),
),
'group' => array(
'text' => $lang->host->featureBar['browse']['group'],
'active' => false,
'url' => helper::createLink('host', 'treemap', 'type=group'),
),
);
$config->host->actions = new stdclass();
$config->host->actions->view = array();
$config->host->actions->view['suffixActions'] = array('edit', 'delete');