false,
'text' => '' .
print_image("images/normalscreen.png", true, array ('title' => __('Normal screen'))) .'');
} else {
$buttons['screen'] = array('active' => false,
'text' => '' .
print_image("images/fullscreen.png", true, array ('title' => __('Full screen'))) .'');
}
if($config['enterprise_installed']) {
$buttons['policies'] = array('active' => $activeTab == 'policies',
'text' => '' .
print_image("images/policies.png", true, array ("title" => __('Policies view'))) .'');
}
$buttons['groups'] = array('active' => $activeTab == 'groups',
'text' => '' .
print_image("images/group.png", true, array ("title" => __('Groups view'))) .'');
$buttons['topology'] = array('active' => $activeTab == 'topology',
'text' => '' .
print_image("images/recon.png", true, array ("title" => __('Topology view'))) .'');
switch($activeTab){
case 'topology':
$title = __('Topology view');
break;
case 'groups':
$title = __('Groups view');
break;
case 'policies':
$title = __('Policies view');
break;
}
print_page_header (__('Network map')." - ".$title, "images/bricks.png", false, "", false, $buttons);
switch ($activeTab) {
case 'topology':
require_once('operation/agentes/networkmap.topology.php');
break;
case 'groups':
require_once('operation/agentes/networkmap.groups.php');
break;
case 'policies':
require_once(''.ENTERPRISE_DIR.'/operation/policies/networkmap.policies.php');
break;
default:
enterprise_selectTab($activeTab);
break;
}
?>