'
. print_image ("images/copy.png", true, array ("title" => __('Copy modules')))
. "";
if($tab == 'copy_modules')
$copymoduletab['active'] = true;
else
$copymoduletab['active'] = false;
/* Edit Modules */
$editmoduletab['text'] = ''
. print_image ("images/edit.png", true, array ("title" => __('Edit modules')))
. "";
if($tab == 'edit_modules')
$editmoduletab['active'] = true;
else
$editmoduletab['active'] = false;
/* Delete Modules */
$deletemoduletab['text'] = ''
. print_image ("images/delete_modules.png", true, array ("title" => __('Delete modules')))
. "";
if($tab == 'delete_modules')
$deletemoduletab['active'] = true;
else
$deletemoduletab['active'] = false;
/* Delete Agents */
$deleteagenttab['text'] = ''
. print_image ("images/delete_agents.png", true, array ("title" => __('Delete agents')))
. "";
if($tab == 'delete_agents')
$deleteagenttab['active'] = true;
else
$deleteagenttab['active'] = false;
/* Add alerts actions */
$addactionalerttab['text'] = ''
. print_image ("images/cog.png", true, array ("title" => __('Add Actions')))
. "";
if($tab == 'add_action_alerts')
$addactionalerttab['active'] = true;
else
$addactionalerttab['active'] = false;
/* Delete alerts actions */
$deleteactionalerttab['text'] = ''
. print_image ("images/cog_del.png", true, array ("title" => __('Delete Actions')))
. "";
if($tab == 'delete_action_alerts')
$deleteactionalerttab['active'] = true;
else
$deleteactionalerttab['active'] = false;
/* Add Alerts */
$addalerttab['text'] = ''
. print_image ("images/god2.png", true, array ("title" => __('Add alerts')))
. "";
if($tab == 'add_alerts')
$addalerttab['active'] = true;
else
$addalerttab['active'] = false;
/* Delete Alerts */
$deletealerttab['text'] = ''
. print_image ("images/delete_alerts.png", true, array ("title" => __('Delete alerts')))
. "";
if($tab == 'delete_alerts')
$deletealerttab['active'] = true;
else
$deletealerttab['active'] = false;
$onheader = array('copy_modules' => $copymoduletab, 'edit_modules' => $editmoduletab, 'delete_modules' => $deletemoduletab, 'delete_agents' => $deleteagenttab, 'add_action_alerts' => $addactionalerttab, 'delete_action_alerts' => $deleteactionalerttab, 'add_alerts' => $addalerttab, 'delete_alerts' => $deletealerttab);
print_page_header (__('Agent configuration'). ' » '. __('Massive operations'), "images/god1.png", false, "", true, $onheader);
switch ($tab) {
case 'delete_alerts':
require_once ('godmode/agentes/massive_delete_alerts.php');
break;
case 'add_alerts':
require_once ('godmode/agentes/massive_add_alerts.php');
break;
case 'delete_action_alerts':
require_once ('godmode/agentes/massive_delete_action_alerts.php');
break;
case 'add_action_alerts':
require_once ('godmode/agentes/massive_add_action_alerts.php');
break;
case 'delete_agents':
require_once ('godmode/agentes/massive_delete_agents.php');
break;
case 'delete_modules':
require_once ('godmode/agentes/massive_delete_modules.php');
break;
case 'edit_modules':
require_once ('godmode/agentes/massive_edit_modules.php');
break;
case 'copy_modules':
default:
require_once ('godmode/agentes/massive_config.php');
}
?>