config.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. $config->host->create = new stdclass();
  3. $config->host->edit = new stdclass();
  4. $config->host->changestatus = new stdclass();
  5. $config->host->create->requiredFields = 'name,intranet,extranet';
  6. $config->host->edit->requiredFields = 'name,intranet,extranet';
  7. $config->host->create->ipFields = 'intranet,extranet';
  8. $config->host->create->intFields = 'diskSize,memory';
  9. $config->host->editor = new stdclass();
  10. $config->host->editor->changestatus = array('id' => 'reason', 'tools' => 'simple');
  11. global $lang;
  12. $config->host->featureBar = array(
  13. 'all' => array(
  14. 'text' => $lang->host->featureBar['browse']['all'],
  15. 'active' => false,
  16. 'url' => helper::createLink('host', 'browse'),
  17. ),
  18. 'serverroom' => array(
  19. 'text' => $lang->host->featureBar['browse']['serverroom'],
  20. 'active' => false,
  21. 'url' => helper::createLink('host', 'treemap', 'type=serverroom'),
  22. ),
  23. 'group' => array(
  24. 'text' => $lang->host->featureBar['browse']['group'],
  25. 'active' => false,
  26. 'url' => helper::createLink('host', 'treemap', 'type=group'),
  27. ),
  28. );
  29. $config->host->actions = new stdclass();
  30. $config->host->actions->view = array();
  31. $config->host->actions->view['suffixActions'] = array('edit', 'delete');