You are here

function hostingService_http_pack::view in Hostmaster (Aegir) 6

Overrides hostingService::view

File

modules/hosting/web_pack/hosting_web_pack.service.inc, line 8

Class

hostingService_http_pack

Code

function view(&$render) {
  $render['master_servers'] = array(
    '#type' => 'item',
    '#title' => t('Master web servers'),
    '#value' => theme('item_list', array_map('_hosting_node_link', array_intersect_key($this->master_servers, hosting_get_servers('http')))),
  );
  $render['slave_servers'] = array(
    '#type' => 'item',
    '#title' => t('Slave web servers'),
    '#value' => theme('item_list', array_map('_hosting_node_link', array_intersect_key($this->slave_servers, hosting_get_servers('http')))),
  );
}